January 12, 2015 at 5:01 pm
TomThomson (12/29/2014)
Iwas Bornready (12/29/2014)
I would never do it this way.I would.
It's much more fun than messing about with strings as Hugo suggests, because it provides useful mental excercise; but of course I'm no longer responsible for any production SQL code, so I can get away with it - - half a dozen years ago I would have regarded as criminal obfuscation.
Heh... it's ironic that you used two dashes in your explanation because that will make it so no obfuscation is present.
SELECT correctformulahere --Calculate Christmas of Current Year
--Jeff Moden
Change is inevitable... Change for the better is not.
June 11, 2015 at 1:15 am
A lot of points for such an easy question
July 8, 2015 at 5:57 am
we don't understand the explanation.can u elaborate more
Viewing 3 posts - 16 through 17 (of 17 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy