April 16, 2003 at 11:21 am
While converting a DB from 7 to 2k we found a problem.
While I know it was bad coding, I didn't do it, but hey we've all done this.
SELECT
Case Field = 1234 field
else 'text'
From table.
Field is defined as Varchar. One value happens to be 2-1044. The statement works on 7, abends on 2k. Put Quotes around the 1234 and it works.
Just thought you might be interested.
KlK, MCSE
KlK
April 16, 2003 at 11:59 pm
Thanks to implicit conversions. Rule 4 never thrust a default-behaviour. And it strikes when you don't expect it.
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data/code to get the best help[/url]
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Need a bit of Powershell? How about this
Who am I ? Sometimes this is me but most of the time this is me
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply