September 10, 2008 at 10:31 am
gpeters (9/10/2008)
Chris Morris (9/10/2008)
I've just run this again, exactly as it appears here...Strange. What type of db are you using?
You first ๐
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
September 10, 2008 at 10:45 am
Chris Morris (9/10/2008)
gpeters (9/10/2008)
Chris Morris (9/10/2008)
I've just run this again, exactly as it appears here...Strange. What type of db are you using?
You first ๐
tried oracle & sybase
September 10, 2008 at 1:37 pm
It works on SQL Server 2k, and I'm pretty sure it will work in SQL Server 2k5 too. This is a SQL Server 2k5 forum section.
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
September 11, 2008 at 7:20 am
Chris Morris (9/10/2008)
It works on SQL Server 2k, and I'm pretty sure it will work in SQL Server 2k5 too. This is a SQL Server 2k5 forum section.
Thanks Chris. I'll re-examine the code to work in Sybase.
September 14, 2008 at 11:16 pm
I guess Convert(Len()) does it all
Ex:
select Convert(varchar,len(-1234.55))
Viewing 5 posts - 16 through 19 (of 19 total)
You must be logged in to reply to this topic. Login to reply