Viewing 9 posts - 1 through 9 (of 9 total)
Nice example. Although I have encountered this problem many times and normally start by doing something even simpler, just selecting out the column and then len(column) - if the character...
August 3, 2010 at 2:44 am
Agreed, TEXT datatypes are like other datatypes as chalk is like cheese.
However interesting article, a shame it was hard work to read.
December 9, 2005 at 3:41 pm
The logic here is clearly flawed.
The correct way to perform such an operation would be:
set rowcount 1000 while exists(select * from orders(nolock) where fulfilled <> 1 and status=1) begin update orders ...
August 13, 2004 at 3:31 pm
I agree, this question is bulls**t, the author (like so many who write for this site) should learn the art of proof reading. The...
August 10, 2004 at 2:16 pm
Basically useful advice, however from experience I would add the following reccomendations.
1. To ensure the correct query plan is used for your SP, I would pass the date range parameters...
August 11, 2003 at 4:22 pm
Phew what a mess!!
I'll not bother to decipher all that, suffice to say it looks way to bloated for its own good and probably the schema is in a bit...
July 10, 2003 at 4:12 pm
This is most likely a parameter sniffing issue.
Your proc will run fine if you declare and use a local variable for the query. SET the local variable to the value...
July 2, 2003 at 12:50 pm
I have used BCP similar to how you are intending to use it very successfully.
Your code however won't work, how do you suppose it will process more than the first...
June 19, 2003 at 1:23 pm
Viewing 9 posts - 1 through 9 (of 9 total)