Viewing 13 posts - 61 through 73 (of 73 total)
fetch next from c1 into @db_name,@table_name,@date,@col
WHILE (@@FETCH_STATUS = 0)
begin
set @sql = 'delete from ' +@db_name +'.dbo.'+@table_name+'insert into '+@db_name+'.dbo.'+@table_name+' SELECT distinct top 100* FROM [112.64.104.210,3824].'+@db_name+'.dbo.'+@table_name --+ 'WITH (nolock)'--...
December 7, 2009 at 12:22 pm
Can you post the DDL and DML scripts in readily consumable format...
December 7, 2009 at 12:19 pm
Thanks Lynn..however, I will continue to use CS collation...
December 4, 2009 at 8:00 am
Thanks Lynn...It says CS (Case sensitive), but its grayed out...how do i change that now?
December 3, 2009 at 2:25 pm
Mohit...The code you gave doesnt work here i believe...
My direct expected result should be in table as below:
ID -- value
1 ...
March 25, 2009 at 1:09 pm
Thanks matt..I got the Tally Concept**
Now for learning Sake....How would you accomplish reverse of this?
I mean to say..
If the table looks Like
ID -- ...
March 24, 2009 at 4:04 pm
Yup..I got what tally table means.Thats Awesome...It rocks...
March 24, 2009 at 3:11 pm
I have a table where in i have all the values concatenated with "-"..now i have to split them into multiple rows to insert into a new table..
Please let me...
March 24, 2009 at 2:11 pm
Dear experts..can any one please give direction to this problem?
April 8, 2008 at 8:19 am
Thanks for the reply Girish. These options looks fine. but linked servers are not permitted to us. do you have any idea on making the excel file as XML string...
March 25, 2008 at 11:51 am
Viewing 13 posts - 61 through 73 (of 73 total)