Viewing 9 posts - 1 through 9 (of 9 total)
Try this ,
SELECT COL.VALUE('LOCAL-NAME(.)','VARCHAR(MAX)') AS COLUMNNAME, COL.VALUE('.','VARCHAR(10)') AS VALUE
FROM ( SELECT C1,C2,C3,C3 -- SHOULD LIST THE COLUMN NAMES EXPLICITELY ( DONT PUT * )
...
April 4, 2013 at 12:58 am
Yes.. Thank you. But Is there any way to manipulate the records through case statements. I still believe that there could be a way to control it.
March 31, 2013 at 1:54 am
Thanks All for your responses.
i tried this and its working... but not sure how far its accurate as its based on physical location.
my requirment is to get top 3 the...
March 29, 2013 at 10:39 pm
Sorry. Let me reframe my question.
I know the message_id and the passing parameters value for raiserror().
e.g..
raiserror(60071, 10, -1, @a, @b-2)
Error text for 60071...
August 16, 2012 at 5:30 am
Thanks a lot. Got it.
To be precise now, The query used to take only 15 to 20 seconds when no other users are available whereas when all are available its...
January 18, 2012 at 8:57 am
Great,
Very clear explanations.
Thanks a lot.
Regards,
Santhosh.
April 27, 2011 at 6:38 am
Yes Chris, appologies.
I thought i had posted in the wrong category so posted under T-SQL too.
April 27, 2011 at 5:35 am
Thanks Manish ,
I tried this and its working fine
USE master;
EXEC xp_cmdshell '"full path\job.bat"'
GO
December 30, 2008 at 3:36 am
Thanks Manish ,
I tried this and its working fine
USE master;
EXEC xp_cmdshell '"full path\job.bat"'
GO
December 30, 2008 at 3:36 am
Viewing 9 posts - 1 through 9 (of 9 total)