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

TSQL- XQuery Expand / Collapse
Author
Message
Posted Saturday, July 27, 2013 5:07 PM


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: Yesterday @ 12:19 AM
Points: 711, Visits: 1,212
Comments posted to this topic are about the item TSQL- XQuery

Pramod
SQL Server DBA | MCSE SQL Server 2012/2014

in.linkedin.com/in/pramodsingla/
http://pramodsingla.wordpress.com/
Post #1478321
Posted Sunday, July 28, 2013 1:44 PM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 7:25 AM
Points: 14,513, Visits: 12,557
Tsk tsk, first question of the week, and it's about XQuery (ugh). And even a trick question (double ugh).



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 SQLKover.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1478397
Posted Sunday, July 28, 2013 3:20 PM


SSCoach

SSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoachSSCoach

Group: General Forum Members
Last Login: Today @ 10:32 AM
Points: 18,939, Visits: 17,214
Koen Verbeeck (7/28/2013)
Tsk tsk, first question of the week, and it's about XQuery (ugh). And even a trick question (double ugh).


I second those "ugh"'s




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


SQL RNNR

Posting Performance Based Questions - Gail Shaw
Post #1478410
Posted Sunday, July 28, 2013 11:05 PM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Tuesday, June 30, 2015 5:03 AM
Points: 1,157, Visits: 173
Nice one....+1
Post #1478441
Posted Sunday, July 28, 2013 11:06 PM
SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Monday, June 15, 2015 1:31 AM
Points: 5,715, Visits: 1,405
SQLRNNR (7/28/2013)
Koen Verbeeck (7/28/2013)
Tsk tsk, first question of the week, and it's about XQuery (ugh). And even a trick question (double ugh).


I second those "ugh"'s


Yes lot of "ughs"....



Post #1478442
Posted Sunday, July 28, 2013 11:28 PM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Thursday, July 23, 2015 2:40 AM
Points: 1,242, Visits: 1,549
Anipaul (7/28/2013)
SQLRNNR (7/28/2013)
Koen Verbeeck (7/28/2013)
Tsk tsk, first question of the week, and it's about XQuery (ugh). And even a trick question (double ugh).


I second those "ugh"'s


Yes lot of "ughs"....


+1




Thanks
Vinay Kumar
-----------------------------------------------------------------
Keep Learning - Keep Growing !!!
www.GrowWithSql.com

Post #1478443
Posted Monday, July 29, 2013 12:19 AM


SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: Today @ 6:50 AM
Points: 4,548, Visits: 6,040
xQuery is tricky enough; throwing the case sensitivity issue into the mix just adds more to it.



____________________________________________
Space, the final frontier? not any more...
All limits henceforth are self-imposed.
“libera tute vulgaris ex”
Post #1478448
Posted Monday, July 29, 2013 2:10 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Today @ 4:43 AM
Points: 2,003, Visits: 7,268
Koen Verbeeck (7/28/2013)
Tsk tsk, first question of the week, and it's about XQuery (ugh). And even a trick question (double ugh).


It's not really about XQuery though, it's a trick question which doesn't test anything other than how well you can read things on a Monday morning
Post #1478468
Posted Monday, July 29, 2013 2:32 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 12:37 PM
Points: 6,484, Visits: 8,953
I like the question. I don't think it's a trick question - many people here are so used to using case insensitive collations (stupid defaults!!!) that they can and will be caught by this XML feature. Probably numerous times. I know I have, it's probably the main reason I got it right.
And the second good thing about the question is that it also makes you think about what would have been returned if the case had been correct. I know I was not really sure of that (I'm far from an XML expert!), so I was happy that the lower-/uppercase thing gave me a guaranteed point, and the rest of the question gave me the opportunity to play with the code and see what happens if I change the case - so this has also taught me something about the XQuery data function. (And if I just happen to stumble on it again within a week or so, it might even stick this time).



Hugo Kornelis, SQL Server MVP
Visit my SQL Server blog: http://sqlblog.com/blogs/hugo_kornelis
Post #1478475
Posted Monday, July 29, 2013 3:34 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Today @ 8:17 AM
Points: 2,069, Visits: 2,602
Hugo Kornelis (7/29/2013)
I like the question. I don't think it's a trick question - many people here are so used to using case insensitive collations (stupid defaults!!!) that they can and will be caught by this XML feature. Probably numerous times. I know I have, it's probably the main reason I got it right.
And the second good thing about the question is that it also makes you think about what would have been returned if the case had been correct. I know I was not really sure of that (I'm far from an XML expert!), so I was happy that the lower-/uppercase thing gave me a guaranteed point, and the rest of the question gave me the opportunity to play with the code and see what happens if I change the case - so this has also taught me something about the XQuery data function. (And if I just happen to stumble on it again within a week or so, it might even stick this time).

+1



_______________________________________________________________
To get quick answer follow this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
Post #1478501
« Prev Topic | Next Topic »

Add to briefcase 123»»»

Permissions Expand / Collapse