Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase ««12345»»»

Type conversions and Nulls Expand / Collapse
Author
Message
Posted Tuesday, February 5, 2013 2:12 AM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Friday, June 12, 2015 3:57 AM
Points: 322, Visits: 287
I knew there was a trick to this one,

really good question thanks :)


Regards
ld

Stoke-on-Trent
United Kingdom

If at first you don't succeed, go to the pub and drink away your current thought plan.
Post #1415652
Posted Tuesday, February 5, 2013 2:35 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: 2 days ago @ 7:12 AM
Points: 14,467, Visits: 12,458
Thanks for the question Tom, nice reminder of the basics.



How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1415660
Posted Tuesday, February 5, 2013 2:42 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 5:45 PM
Points: 6,451, Visits: 8,878
Very good question, and an awesome explanation. (Apart from one small type that you probably put in deliberately to prove that you're still human).
Thanks, Tom!



Hugo Kornelis, SQL Server MVP
Visit my SQL Server blog: http://sqlblog.com/blogs/hugo_kornelis
Post #1415666
Posted Tuesday, February 5, 2013 3:07 AM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Monday, June 29, 2015 1:39 PM
Points: 901, Visits: 520
Good one. Thanks for this. +1
Post #1415678
Posted Tuesday, February 5, 2013 3:59 AM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Wednesday, June 17, 2015 7:51 AM
Points: 342, Visits: 272
nice question. and superb explanation.Thanks, Tom





***Manik
Go fast as possible


Manik
You cannot get to the top by sitting on your bottom.
Post #1415702
Posted Tuesday, February 5, 2013 4:11 AM


Say Hey Kid

Say Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey KidSay Hey Kid

Group: General Forum Members
Last Login: Thursday, June 12, 2014 4:19 AM
Points: 701, Visits: 1,145
Excellent question, Thanks so much.
Post #1415714
Posted Tuesday, February 5, 2013 4:48 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Tuesday, August 27, 2013 4:28 AM
Points: 1,248, Visits: 779
Great question Tom, with a couple of wee pitfalls to lead the unwary, fortunately I had remembered my wits today. Superb explanation too.



_____________________________________________________________________
"The difficult tasks we do immediately, the impossible takes a little longer"
Post #1415737
Posted Tuesday, February 5, 2013 4:58 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Wednesday, June 24, 2015 5:03 PM
Points: 2,106, Visits: 2,251
ldorian81 (2/5/2013)
I knew there was a trick to this one,

really good question thanks :)


Yes, I saw the NULL issue immediately, and then hit one of the checkboxes. Didn't even stop chewing my breakfast to contemplate datatype precedence. Nicely posed and explained.


Please don't go. The drones need you. They look up to you.
Connect to me on LinkedIn
Post #1415745
Posted Tuesday, February 5, 2013 5:34 AM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Thursday, July 2, 2015 7:47 AM
Points: 231, Visits: 328
Excellent question and explanation - several issues covered in one go - thank you.
Post #1415764
Posted Tuesday, February 5, 2013 6:10 AM


SSCoach

SSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoach

Group: General Forum Members
Last Login: Today @ 12:40 AM
Points: 18,771, Visits: 17,010
Nice job with the question Tom.



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


SQL RNNR

Posting Performance Based Questions - Gail Shaw
Post #1415783
« Prev Topic | Next Topic »

Add to briefcase ««12345»»»

Permissions Expand / Collapse