Viewing 15 posts - 45,136 through 45,150 (of 59,095 total)
tosscrosby (2/16/2009)
Roy Ernest (2/16/2009)
I know for a fact that Oracle will loose in a MS SQL Forum... But these many people against it ??:unsure:
Ya' think? Any stats to support your...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 16, 2009 at 12:50 pm
Then, the easiest way to handle things like leading zeros and the like, is to let SQL Server do it all for you...
SELECT RIGHT(CONVERT(CHAR(8),DATEADD(s,Seconds,0),108),5)
FROM (--==== Your...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 16, 2009 at 12:36 pm
AFCC Inc. Com (2/16/2009)
I have to remember that the price is computed from the .% in the length width columns. SO my...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 16, 2009 at 12:20 pm
Ok... the following should work... read the comments... the advantage of this particular set based method is that you can create a view from it at the expense of just...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 16, 2009 at 12:05 pm
Is it possible to post the sproc? I can give it a try for you.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 16, 2009 at 11:12 am
Ah... got it. Thanks, Toni.
Erik... how 'bout it? Got data?
--Jeff Moden
Change is inevitable... Change for the better is not.
February 16, 2009 at 11:05 am
Steve Jones - Editor (2/16/2009)
I'll give Oracle one thing. they seem to have found a way to convince management to pay more for DBAs on average!
Heh... yeah, I agree with...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 16, 2009 at 11:01 am
Thanks for the feedback, Norbert. And, consider this... since the code is so simple, are you sure you want the system to "suffer" through the overhead associated with a...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 16, 2009 at 10:53 am
AFCC Inc. Com (2/16/2009)
select orderid, size, cost, case when size <= basemeasure then cost
...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 16, 2009 at 10:49 am
J (2/16/2009)
Cast the output as CONVERT(VARCHAR(DesiredColumnWidthHere), long_column_name) AS long_column_name.Interesting.
So I suppose this is more efficient than SUBSTRING ?
Regards
Sorry to use the ol' cliche`, but it depends... sometimes SUBSTRING won't...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 16, 2009 at 10:45 am
David Jackson (2/16/2009)
Ours is not to reason why, but to do and die... :Whistling: 🙂
Heh... I really hate it when THAT happens. 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
February 16, 2009 at 10:42 am
sunny1_liu (2/15/2009)
--Jeff Moden
Change is inevitable... Change for the better is not.
February 16, 2009 at 10:39 am
AFCC Inc. Com (2/15/2009)
Now if it is blinds they are priced by width and height, "a grid"
I have attached an example grid that is used by the blind manufacturers and...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 16, 2009 at 10:26 am
Heh... well said. Actually, I hated the old outer join notation... especially since Oracle and SQL Server did it exactly the opposite from each other.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 16, 2009 at 10:20 am
Derek Dongray (2/16/2009)
bitbucket (2/13/2009)
shhh tell no one, but heck it was better than using a slide rule to do the calculations.
I still have my slide rule and can even remember...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 16, 2009 at 10:16 am
Viewing 15 posts - 45,136 through 45,150 (of 59,095 total)