Viewing 15 posts - 1,141 through 1,155 (of 2,038 total)
I also figured out the swapped parameters. Great solution!
Your bad-char look-up table takes zero milliseconds like Jeff's and mine. But your version needs only one logical read instead of 4...
May 1, 2009 at 8:24 am
lmu92 (5/1/2009)
looks like we're running a competition today...You beat me on that one :crying:
Next thread will be yours 😛
Obviously you're not enjoying the Holiday the old-fashioned way... Neither do I...
May 1, 2009 at 8:00 am
Paul, did you try your code? If I execute it I get "A & B Cleaners" as result.
May 1, 2009 at 7:57 am
Hi David
Did you try ISDATE?
DECLARE @t TABLE (MyDate VARCHAR(100))
INSERT INTO @t
SELECT '0200-07-30'
UNION ALL SELECT...
May 1, 2009 at 7:50 am
Conan (5/1/2009)
So much for all my beautiful tabs to make it more readable!
Hi Conan
Enclose your SQL with "code" tags:
[ code ]
SELECT * FROM Blah
[ /code ]
... without the spaces will...
May 1, 2009 at 7:44 am
GSquared (5/1/2009)
Florian Reischl (5/1/2009)
john.arnott (4/30/2009)
By the way, your English is very good -- I hope you were kidding when you asked if it's "that bad".
I would say it was a...
May 1, 2009 at 7:34 am
Phil Factor (5/1/2009)
May 1, 2009 at 7:29 am
Jeff Moden (5/1/2009)
Florian Reischl (4/30/2009)
We had a performance issue in conjunction with STUFF? Maybe, I'm just gone blank... :doze:
Maybe it's just me and I'm thinking of the wrong person. ...
May 1, 2009 at 7:25 am
Jeff Moden (5/1/2009)
May 1, 2009 at 6:57 am
Hi Mohit
Please have a look to Gail's blog about optional parameters:
http://sqlinthewild.co.za/index.php/2009/03/19/catch-all-queries/
Greets
Flo
May 1, 2009 at 6:30 am
Hi
Splitting the work into batches is a good approach! I would handle it in one step with a WHILE loop (this is not RBAR 😉 ). Take your first batch...
May 1, 2009 at 6:26 am
Hi
I cannot reproduce this error. I just copied your statement, pasted to SSMS and executed on my AdventureWorks. No errors.
Greets
Flo
May 1, 2009 at 6:13 am
Well... This the third thread now.
It becomes annoying!
If you have further questions answer to your initial thread here
May 1, 2009 at 6:05 am
As you wrote in the other thread the "spaces" are CHAR(0) and CHAR(10). So use REPLACE to remove them.
Greets
Flo
May 1, 2009 at 5:23 am
Duplicate post. Please answers here:
http://www.sqlservercentral.com/Forums/Topic708326-338-1.aspx
May 1, 2009 at 5:20 am
Viewing 15 posts - 1,141 through 1,155 (of 2,038 total)