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 123»»»

Variant Order 3 Expand / Collapse
Author
Message
Posted Saturday, December 10, 2011 5:39 PM


SSCrazy Eights

SSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy Eights

Group: General Forum Members
Last Login: Yesterday @ 7:42 PM
Points: 8,567, Visits: 9,071
Comments posted to this topic are about the item Variant Order 3

Tom
Post #1219874
Posted Saturday, December 10, 2011 8:10 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 9:28 AM
Points: 5,573, Visits: 24,808
Hmmm Not wanting to give away the reasoning utilized to determine the correct answer I am posting this comment - so as to receive automatic notifications of additions to the discussion of your QOD, which is some regards very similar to the QOD on SQL VARIANT that I had published on 10 Nov. 2011

If everything seems to be going well, you have obviously overlooked something.

Ron

Please help us, help you -before posting a question please read

Before posting a performance problem please read
Post #1219885
Posted Sunday, December 11, 2011 5:45 AM


SSCrazy Eights

SSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy Eights

Group: General Forum Members
Last Login: Yesterday @ 7:42 PM
Points: 8,567, Visits: 9,071
bitbucket-25253 (12/10/2011)
Hmmm Not wanting to give away the reasoning utilized to determine the correct answer I am posting this comment - so as to receive automatic notifications of additions to the discussion of your QOD, which is some regards very similar to the QOD on SQL VARIANT that I had published on 10 Nov. 2011

Yes it is similar in some regards, but nothing like as similar as my Variant Order 1 question on 30 Nov. In fact I was quite worried when your question came out on 10 Nov, because of the very great similarity between that an the one I had submitted a few days before.
My series of three questions on variant order had its origins in the discussion of Paul's Collation and SQL_VARIANT QotD for 1 Nov, see this post.
BTW, something has clearly gone strange with your 10 Nov question as the explanation has different column names, different values, and different number of rows from the question and answer. I don't think it can have been like that when it was first published, or I would have commented then (and even if somehow I hadn't noticed, I'm sure someone else would have commented on the discrepancies). Maybe you could give Steve a revised explanation (or maybe he wouldn't want one this long after the event)?


Tom
Post #1219911
Posted Sunday, December 11, 2011 2:19 PM


SSC-Insane

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

Group: General Forum Members
Last Login: Today @ 11:28 AM
Points: 21,275, Visits: 14,971
Thanks 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 #1219953
Posted Monday, December 12, 2011 2:09 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 11:29 AM
Points: 13,329, Visits: 10,196
Difficult one, and that for a Monday.
Thanks Tom for the question.




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 #1220041
Posted Monday, December 12, 2011 2:46 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Today @ 4:42 AM
Points: 2,422, Visits: 7,442
Surprisingly difficult, especially considering the % of correct answers!

Thanks for the question and the point



Not a DBA, just trying to learn

For better, quicker answers on T-SQL questions, click on the following...
http://www.sqlservercentral.com/articles/Best+Practices/61537/

For better, quicker answers on SQL Server performance related questions, click on the following...
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/



If you litter your database queries with nolock query hints, are you aware of the side effects?
Try reading a few of these links...

(*) Missing rows with nolock
(*) Allocation order scans with nolock
(*) Consistency issues with nolock
(*) Transient Corruption Errors in SQL Server error log caused by nolock
(*) Dirty reads, read errors, reading rows twice and missing rows with nolock


LinkedIn | Blog coming soon (for sufficiently large values of "soon" )!
Post #1220053
Posted Monday, December 12, 2011 3:17 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: Sunday, July 27, 2014 4:54 AM
Points: 910, Visits: 840
Thank you for the question

Iulian
Post #1220069
Posted Monday, December 12, 2011 5:31 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Thursday, July 24, 2014 4:28 AM
Points: 1,100, Visits: 4,898
Can anyone explain the answer, as I didn't understand the explanation at all
Post #1220140
Posted Monday, December 12, 2011 6:36 AM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Sunday, April 27, 2014 7:45 PM
Points: 1,589, Visits: 253
Tough question, thanks for submitting.

http://brittcluff.blogspot.com/
Post #1220210
Posted Monday, December 12, 2011 7:21 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Tuesday, July 22, 2014 1:45 AM
Points: 2,826, Visits: 3,866
I liked the first question in the series, but I did not really need the follow-ups.
The first question already taught me to never ever consider order by SQL_VARIANT columns.

Maybe I have missed it, but is there any plausible reason to order by a SQL_VARIANT column, given the unintuitive sorting semantics? What problem can I solve with that order?


Best Regards,
Chris Büttner
Post #1220244
« Prev Topic | Next Topic »

Add to briefcase 123»»»

Permissions Expand / Collapse