Viewing 15 posts - 466 through 480 (of 1,114 total)
Hey try this one.
Declare @No varchar(100)
Set @No =''
select @No = @No + case when @No = '' then '' else ',' end + X
from @T
Select @No
karthik
August 28, 2008 at 6:53 am
I already read about PRODUCT. It is used to multiply numbers or range of numbers.
http://spreadsheets.about.com/od/excelfunctions/qt/product_funtion.htm
But how to implement it in SQL ?
karthik
August 28, 2008 at 6:37 am
PRODUCT is an excel function. I want to implement it in SQL.
karthik
August 28, 2008 at 3:29 am
kumar99ms (8/27/2008)
here we are using two table so we can use join right
Yes.
I suggest you look into BOL and try it out yourself. then if you have doubts ask...
karthik
August 27, 2008 at 3:33 am
Sorry a little late here.
Thanks a lot Ryan,Chris and Arjun ! I really appreciate your's help !
karthik
August 27, 2008 at 1:50 am
Thanks Andras !
Is there any other way to do this ?
Kindly let me know !
karthik
August 21, 2008 at 8:08 am
PROD data is replicated to DEV environment.
I want to ensure the replication status. i.e Success or done with some changes.
Inputs are highly appreciable !
karthik
August 21, 2008 at 7:01 am
Please post table structure with some sample records.
I suggest you to read the below article.
http://www.sqlservercentral.com/articles/Best+Practices/61537/
karthik
August 20, 2008 at 5:35 am
Andras,
t would probably be a poor choice if you do not want to get rid of every row in your table.
You mean we need to use TRUNCATE if we dont...
karthik
August 20, 2008 at 5:08 am
Mark,
you are right. But OP mentioned like
Query to delete, all the records from a table
Thats why i preferred TRUNCATE.
karthik
August 20, 2008 at 5:00 am
TRUNCATE may help for your need.
before half an hour,…
You have to frame your question better. Also please post your requirement clearly.
karthik
August 20, 2008 at 4:56 am
Viewing 15 posts - 466 through 480 (of 1,114 total)