Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase ««123»»

Unary & Aliases Expand / Collapse
Author
Message
Posted Tuesday, September 13, 2011 5:52 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Wednesday, May 25, 2016 11:36 AM
Points: 1,045, Visits: 996
I'm hoping by this afternoon I will have read the explanation enough times to understand it, because I sure as heck don't at this hour of the morning!

ron


-----
a haiku...

NULL is not zero
NULL is not an empty string
NULL is the unknown
Post #1174047
Posted Tuesday, September 13, 2011 6:07 AM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Yesterday @ 6:29 AM
Points: 1,700, Visits: 410
Thanks for an interesting question. I got the right answer but not by thinking it all the way through so I learned something new - always a good way to start the morning!
Post #1174054
Posted Tuesday, September 13, 2011 6:36 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Thursday, July 7, 2016 5:41 PM
Points: 1,265, Visits: 13,602
good and easy question!


rfr.ferrari
DBA - SQL Server 2008
MCITP | MCTS

remember is live or suffer twice!
the period you fastest growing is the most difficult period of your life!
Post #1174084
Posted Tuesday, September 13, 2011 8:09 AM


SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: 2 days ago @ 1:06 PM
Points: 4,020, Visits: 2,281
Interesting stuff. Thanks for the question.
Post #1174194
Posted Tuesday, September 13, 2011 8:36 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 4:02 PM
Points: 5,226, Visits: 4,394
Excellent question - thank you!
Post #1174239
Posted Tuesday, September 13, 2011 11:40 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Friday, October 21, 2011 12:17 PM
Points: 103, Visits: 158
I think I may need eye glasses, I really had to look hard at the commas to differentiate them from periods... I almost chose the Incorrect Syntax error.
Post #1174405
Posted Tuesday, September 13, 2011 1:00 PM
SSC-Addicted

SSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-Addicted

Group: General Forum Members
Last Login: Friday, September 11, 2015 10:03 AM
Points: 451, Visits: 286
My first opinion was: very exotic question far away from practical usage.
But later I changed my minds. Never thought about arithmetical operations in T-SQl work in such way. Thanks a lot.



Post #1174448
Posted Tuesday, September 13, 2011 1:21 PM


SSCoach

SSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoach

Group: General Forum Members
Last Login: Yesterday @ 11:32 PM
Points: 19,918, Visits: 18,133
Nice question.



Jason AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server, MVP


SQL RNNR

Posting Performance Based Questions - Gail Shaw
Post #1174460
Posted Tuesday, September 13, 2011 2:56 PM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Tuesday, July 12, 2016 6:33 AM
Points: 1,216, Visits: 311
It's a nice and interesting question. Thanks.
Post #1174500
Posted Tuesday, September 13, 2011 4:02 PM
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Thursday, April 21, 2016 3:45 PM
Points: 586, Visits: 455
Ah yes, my "favorite" bit of SQL syntax

select 0 [A]

A fun bug to find when I accidentally delete a comma and then try to figure out what's wrong with the output of

select col1
col2,
col1003
from sometable

What? I can't be the only one!

Thanks for the question!
Post #1174535
« Prev Topic | Next Topic »

Add to briefcase ««123»»

Permissions Expand / Collapse