Viewing 9 posts - 1 through 9 (of 9 total)
o.kaesmann (2/2/2016)
In the past i've worked on...
February 3, 2016 at 7:24 am
Adrian_1 (2/1/2016)
but it won't tidy up triplicates....
True, I was only thinking of duplicates. This fixes that though:
delete Customers
where CustName in (
...
February 1, 2016 at 8:32 am
It only picks the min or max CustID for the pair of duplicates.
February 1, 2016 at 7:48 am
Wouldn't this be a simpler solution and be a bit less confusing?
delete Customers
where CustID in (
...
February 1, 2016 at 7:40 am
I found that I had to remove the literal quotename function call from the first select:
[font="Courier New"] select ''' + ''' + quotename(column_name) + ' = ''...
November 14, 2013 at 11:01 am
I've done this loads of time using TSQL sps and dynamic sql within, much in the same way as the CLR routine. Is there an advantage to using CLR over...
December 6, 2012 at 8:16 am
Excellent solution. I would have written a loop:
while (charindex(' ', @myString) > 0) begin
set @myString = replace( @myString, ' ', ' ');
end;
but your solution...
November 16, 2009 at 8:55 am
Consider using code that catches the error and raises the error to the calling program:
proc1:
begin try
exec proc2;
end try
begin catch
declare
...
October 9, 2009 at 10:26 am
Thanks Lowell. This solution works somewhat. I see that the results get truncated, whereas in the grid view, they are not. Is there a setting that controls how much of...
October 6, 2009 at 11:40 am
Viewing 9 posts - 1 through 9 (of 9 total)