Viewing 15 posts - 616 through 630 (of 1,473 total)
RBarryYoung (9/22/2009)
Anyhow, here it is, note it probably still needs that Clustered Key thing for optimal performance
Are you SUUUUURE? I wouldn't want to play any favorites!! 😉
Thanks...
September 22, 2009 at 11:16 pm
My pleasure, as always. I'd personally like a "You forgot yet another #%@#$ comma on line xxx." message.
September 22, 2009 at 3:29 pm
Jeffrey Williams-493691 (9/22/2009)
September 22, 2009 at 3:25 pm
Also, I would note that this is extremely basic error handling. You can do a lot more with it, like taking alternate paths, doing certain things based on the...
September 22, 2009 at 2:51 pm
I changed it a bit from your failure example because you were attempting to cast 'null' as a date. This causes a syntax error, which is fatal. Your...
September 22, 2009 at 2:48 pm
RBarryYoung (9/22/2009)
Heh. Ok, Seth enough, I give. You have succeeded in shaming me into trying to do this. :blush:Gimme an hour or so ...
No shame intended...
September 22, 2009 at 11:46 am
With 2000, there is no TRY/CATCH, which means your error checking options are a bit more limited. You can use @@ROWCOUNT AND @@ERROR for simple checks, but depending on...
September 22, 2009 at 10:41 am
Ok, so I had to give it a go. I went ahead and tried to use what little I remembered (basically only that varbinary was involved and you used...
September 22, 2009 at 9:02 am
My pleasure, glad we could help.
September 21, 2009 at 10:15 am
I believe the character you might be looking for is ASCII character 19.
Try running something like:
SELECT * FROM YourTable
WHERE YourColumn LIKE '%' + CHAR(19) + '%'
And if I'm correct on...
September 21, 2009 at 10:08 am
The reason for N-1 all over my code is that my Tally Table starts at 1, where for the purposes of this, you need the first N to be 0....
September 21, 2009 at 9:14 am
Barry, I briefly tested dropping the index all together before inserting data into a temp table, but I'm not sure if that's fair since the index did in...
September 20, 2009 at 4:56 pm
RBarryYoung (9/19/2009)
Garadin (9/18/2009)
September 20, 2009 at 10:09 am
Richard Fryar (9/18/2009)
I've got an alternative...
September 18, 2009 at 4:31 pm
I don't believe the code run via OPENQUERY is parsed by the SQL server you are storing your SP on, so it wouldn't cause errors until you attempt to run...
September 18, 2009 at 2:56 pm
Viewing 15 posts - 616 through 630 (of 1,473 total)