Viewing 15 posts - 45,901 through 45,915 (of 59,062 total)
Lynn Pettis (1/14/2009)
Different subject, have you had a chance to test my code yourself? After my last test, I feel much better.
No... and today pretty much stunk for doing...
January 14, 2009 at 10:23 pm
Heh... beat you to it. See you tomorrow night.
January 14, 2009 at 10:18 pm
LOL!!! Now, that just figures... :hehe:
January 14, 2009 at 10:12 pm
Heh... it actually doesn't really matter at all... here's why...
SELECT TOP 1000
REPLACE(REPLICATE('=',t.N)+'9','9','88') AS R,
...
January 14, 2009 at 10:08 pm
Test it... you'll find out differently... no warning.
Same holds true for the following...
SELECT REPLACE(REPLICATE('=',7999)+'9','9','88')
Truncation with no warning.
So, there is truncation with no warning for both. To me, that...
January 14, 2009 at 9:53 pm
Sorry... getting a bit tired and, like you said, shouldn't have posted "the short answer". 😀
What happens with the following in SQL Server 2000? 2005?
SELECT STUFF(REPLICATE('=',8000),1,0,'=')
January 14, 2009 at 9:35 pm
Greg Edwards (1/14/2009)
Maybe you better think about upgrading Jeff. I'd hate for you to bring a...
January 14, 2009 at 9:22 pm
Heh... I've already seen all of those logical discussions above. Although very well founded, I still just happen to disagree with them.
January 14, 2009 at 9:06 pm
Heh... that's what's cool about discussions on forums... I get to disagree and not hurt anyone's feelings. 😛
Personally, I'd prefer to see the function be a little smarter and, yeah,...
January 14, 2009 at 8:37 pm
I see that mistake alot, as well... especially by Oracle programmers because you can't write an Oracle trigger using what looks like set based code. You write the trigger...
January 14, 2009 at 8:33 pm
Thanks for the feedback Felix. What did you end up doing?
January 14, 2009 at 8:01 pm
John Dempsey (1/14/2009)
January 14, 2009 at 7:58 pm
Heh... just couldn't help myself on that one...
January 14, 2009 at 7:53 pm
Grant Fritchey (1/14/2009)
Well, I just popped offhttp://www.sqlservercentral.com/Forums/Topic635918-149-1.aspx?Update=1
Evidently I'm only providing problems, not solutions.
Like Gail pointed out to this rubber, this isn't the first time he's been a real jerk about...
January 14, 2009 at 7:51 pm
Chris Morris (1/14/2009)
Jeff Moden (1/13/2009)
Steve Jones - Editor (1/13/2009)
And here I was thinking pork chops were pork chops, not developers' heads.
Oooohhhh.... I might be in trouble... I've got buckets full...
January 14, 2009 at 7:37 pm
Viewing 15 posts - 45,901 through 45,915 (of 59,062 total)