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 05, 2013 2:12 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Tuesday, February 04, 2014 7:49 AM
Points: 275, Visits: 227
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 05, 2013 2:35 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 1:32 PM
Points: 12,230, Visits: 9,207
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 05, 2013 2:42 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 1:48 PM
Points: 5,801, Visits: 8,019
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 05, 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: Yesterday @ 9:07 PM
Points: 823, Visits: 405
Good one. Thanks for this. +1
Post #1415678
Posted Tuesday, February 05, 2013 3:59 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Monday, March 17, 2014 7:22 AM
Points: 228, Visits: 211
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 05, 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: Wednesday, April 09, 2014 10:34 AM
Points: 701, Visits: 1,140
Excellent question, Thanks so much.
Post #1415714
Posted Tuesday, February 05, 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 05, 2013 4:58 AM


SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Monday, April 21, 2014 8:44 AM
Points: 1,633, Visits: 2,038
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 05, 2013 5:34 AM


SSC-Enthusiastic

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

Group: General Forum Members
Last Login: Friday, March 21, 2014 3:03 AM
Points: 108, Visits: 207
Excellent question and explanation - several issues covered in one go - thank you.
Post #1415764
Posted Tuesday, February 05, 2013 6:10 AM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Today @ 1:10 PM
Points: 20,485, Visits: 14,141
Nice job with the question Tom.



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


SQL RNNR

Posting Performance Based Questions - Gail Shaw
Posting Data Etiquette - Jeff Moden
Hidden RBAR - Jeff Moden
VLFs and the Tran Log - Kimberly Tripp
Post #1415783
« Prev Topic | Next Topic »

Add to briefcase ««12345»»»

Permissions Expand / Collapse