Viewing 15 posts - 181 through 195 (of 462 total)
arnold-491793 (11/22/2009)
case
when rtrim(aladd1) <> '' then len(aladd1) + 9 else 0 end as vladd1 ,
case
...
November 23, 2009 at 12:48 am
Anamika (11/22/2009)
Hi all,i apologize for not providing data in a consumable format. i'm really sorry.
thanks to Nabha, that is the result set i want.
thanks,
regards,
anamika
u r welcome 🙂 . In future,...
November 23, 2009 at 12:30 am
Sure Lutz, that one part(expected result) of the whole episode lies with the OP. Cant really help there 🙂
November 20, 2009 at 7:20 am
Due to the fact that you've spent quite a lot of time on SSC I thought you would know what a 'consumable' formt is.Even Lutz's link would have directed you....
November 20, 2009 at 6:11 am
Can we have some test data in consumable format please?
November 20, 2009 at 5:16 am
MY bad! go with Vikas, that is the right solution for you.
November 20, 2009 at 3:13 am
ohh sorry, i dint understand completely that catid is a comma seperated value. Does this help?
Create table #t(t varchar(10))
INSERT INTO #t VALUES ('1,2,3')
INSERT INTO #t VALUES ('3,4,5')
Select * from #t
Where...
November 20, 2009 at 2:58 am
Go through the link provided by Dugi. You will get what you want!
I think you need Instead of trigger. A trascript from the BOL
INSTEAD OF
Specifies that the trigger is...
November 19, 2009 at 6:23 am
What if the file is already there? That command is for opening the file, no?
November 18, 2009 at 6:52 am
one way you can do it is using CLR procedure/function. Check the file existence using .net code (vb/c#) and return 1/0 based on ur check there.
November 18, 2009 at 6:07 am
You gotta add system.drawing into your CLR assemblies first using SSMS under database-> programmability->Assemblies. Then add that reference into your SQL Server Project that you are working on.
There would...
November 18, 2009 at 2:44 am
With no test data and create table script, cant help much but dont you think you need 'Group By' clause rather than this cursor. I dont think you need a...
November 18, 2009 at 1:30 am
you'd get quicker and various responses if you post the request like this. Please follow the link. Thanks.
http://www.sqlservercentral.com/articles/Best+Practices/61537/
November 18, 2009 at 1:18 am
Ohh by the way, why are you using cursor here? Are you trying to create running total?
November 18, 2009 at 1:07 am
Viewing 15 posts - 181 through 195 (of 462 total)