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

ANSI_PADDING Expand / Collapse
Author
Message
Posted Monday, December 19, 2011 7:04 AM


SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Friday, July 25, 2014 7:01 AM
Points: 1,761, Visits: 2,137
Hugo Kornelis (12/19/2011)
Thanks for the question, Jason.

I only got it right because "3, 3, 1" was not in the answer options - that was the answer I was looking for after reading the question.


I was in the same position. While I understand Paul's explanation, and the links provided, it does still seem a bit counterintuitive, as you point out in a later post.

Thanks to OP for posting. Always good to learn something new.


Please don't go. The drones need you. They look up to you.
Connect to me on LinkedIn
Post #1223792
Posted Monday, December 19, 2011 7:07 AM


SSCrazy Eights

SSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy EightsSSCrazy Eights

Group: General Forum Members
Last Login: Today @ 4:45 AM
Points: 8,559, Visits: 9,054
Good question.
And a lovely additional twist from Paul.


Tom
Post #1223794
Posted Monday, December 19, 2011 7:46 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: Thursday, July 24, 2014 1:13 PM
Points: 989, Visits: 1,821
I got it right simply because I once supported an app that had a myriad of situations with and without trailing spaces on a VARCHAR column and have seen that behavior countless times. I have never been able to explain it. Still don't know if I can, even with the "explanation". It still doesn't make sense, but that's how it works...
Post #1223820
Posted Monday, December 19, 2011 10:37 AM


SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Friday, July 18, 2014 10:48 AM
Points: 1,935, Visits: 10,956
Great question -- especially the quirk involved when using 'LIKE'.

Thanks!


Rob Schripsema
Accelitec, Inc
Post #1223950
Posted Monday, December 19, 2011 12:10 PM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Wednesday, July 23, 2014 11:04 AM
Points: 1,254, Visits: 13,552
good question!!!!


rfr.ferrari
DBA - SQL Server 2008
MCITP | MCTS

remember is live or suffer twice!
Post #1224000
Posted Monday, December 19, 2011 4:06 PM


SSC-Insane

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

Group: General Forum Members
Last Login: Yesterday @ 7:37 PM
Points: 21,215, Visits: 14,917
Superb question.



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 #1224092
Posted Monday, December 19, 2011 5:41 PM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Today @ 6:58 AM
Points: 2,705, Visits: 3,768
Thanks for all of the compliments everyone.

I ran into this scenario and as it seemed contradictory to common sense to me, I figured I'd see if I was the only one who thought that.

Given 2/3 rds of responders got it wrong, I guess not.



______________________________________________________________________

Personal Motto: Why push the envelope when you can just open it?

If you follow the direction given HERE you'll likely increase the number and quality of responses you get to your question.

Jason L. Selburg
Post #1224106
Posted Tuesday, December 20, 2011 3:57 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 @ 4:54 AM
Points: 910, Visits: 840
Nice one, thank you

Iulian
Post #1224320
Posted Tuesday, December 20, 2011 5:24 AM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

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

http://brittcluff.blogspot.com/
Post #1224351
Posted Tuesday, December 20, 2011 9:09 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Thursday, January 31, 2013 8:53 AM
Points: 1,176, Visits: 778
tks - great question
Post #1224528
« Prev Topic | Next Topic »

Add to briefcase ««123»»

Permissions Expand / Collapse