Viewing 15 posts - 10,816 through 10,830 (of 13,878 total)
Google some FOR XML PATH queries and you'll crack this soon enough.
April 6, 2012 at 6:09 am
bharatgi (4/6/2012)
thanks - but how do i display both duplicate records in the same query?
Do you have a unique key on this table?
April 6, 2012 at 6:07 am
Try this:
select
[SLA]
,[PCCode]
,[PrCode]
,[LocalID]
,[DateOfBirth]
,[Number]
,[ATariff]
,[DSeen]
,[MPI]
,[Service]
,[POD]
,[Device]
,[ActivityDate]
,[SeenDate]
,[DateActivity]
,[Period]
, Count(*) [Count]
FROM [PROV].[dbo].[DA]
group by
[SLA]
,[PCCode]
,[PrCode]
,[LocalID]
,[DateOfBirth]
,[Number]
,[ATariff]
,[DSeen]
,[MPI]
,[Service]
,[POD]
,[Device]
,[ActivityDate]
,[SeenDate]
,[DateActivity]
,[Period]
having count(*) > 1
April 6, 2012 at 5:50 am
Andy Hyslop (4/6/2012)
Phil Parkin (4/6/2012)
Are you saying that it works when you run it manually but not when it is run as a scheduled job?
I got the impression that no...
April 6, 2012 at 4:16 am
So what? You're in a 2005 forum.
If I told you that my car was 'not working', would you know how to fix it?
April 6, 2012 at 3:53 am
Are you saying that it works when you run it manually but not when it is run as a scheduled job?
April 6, 2012 at 3:44 am
As far as I know, you cannot create a JPEG file with multiple pages.
April 2, 2012 at 1:37 pm
I'm not sure exactly what those settings affect, but worth a try 🙂
April 2, 2012 at 2:33 am
Have a look in Tools / Options / Database Tools / Table and Database Designers / Column Options in BIDS.
April 2, 2012 at 2:27 am
Lynn Pettis (3/30/2012)
Phil Parkin (3/30/2012)
Jeff Moden (3/30/2012)
March 30, 2012 at 7:27 am
Koen Verbeeck (3/30/2012)
So I would...
March 30, 2012 at 7:10 am
Jeff Moden (3/30/2012)
March 30, 2012 at 7:06 am
What I cannot figure out is how to set a FileToMove variable and a DestinationFolder variable to the DocumentFileName and DocumentFilePath from the DocumentIndex Sql table.
Create two new variables in...
March 30, 2012 at 5:33 am
its the same logic.
Not in my opinion. In statements such as 'between a and b', it is generally assumed that 'a' is smaller, less or fewer than 'b', whatever a...
March 30, 2012 at 3:08 am
Koen Verbeeck (3/30/2012)
Phil Parkin (3/30/2012)
March 30, 2012 at 2:30 am
Viewing 15 posts - 10,816 through 10,830 (of 13,878 total)