SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Where to start to learn XML with SQL Server


Where to start to learn XML with SQL Server

Author
Message
Shadab Shah
Shadab Shah
SSC-Addicted
SSC-Addicted (439 reputation)SSC-Addicted (439 reputation)SSC-Addicted (439 reputation)SSC-Addicted (439 reputation)SSC-Addicted (439 reputation)SSC-Addicted (439 reputation)SSC-Addicted (439 reputation)SSC-Addicted (439 reputation)

Group: General Forum Members
Points: 439 Visits: 798
Hi Floks,

I am trying to get my hands dirty with XML in SQL Server. I have tried MSDN and some other links which google suggested but i think they are far from being from basic.
Can you guys please suggest some links to start with.

Thanks
Alan.B
Alan.B
SSCertifiable
SSCertifiable (5.1K reputation)SSCertifiable (5.1K reputation)SSCertifiable (5.1K reputation)SSCertifiable (5.1K reputation)SSCertifiable (5.1K reputation)SSCertifiable (5.1K reputation)SSCertifiable (5.1K reputation)SSCertifiable (5.1K reputation)

Group: General Forum Members
Points: 5140 Visits: 7720
Shadab Shah (11/11/2013)
Hi Floks,

I am trying to get my hands dirty with XML in SQL Server. I have tried MSDN and some other links which google suggested but i think they are far from being from basic.
Can you guys please suggest some links to start with.

Thanks


Robert sheldon's Stairway to XML is simple yet very good.

You can also look at the W3Schools XML Tutorial,
andW3Schools XPath Tutorial for a simple & informative XML overview. This is also good: xml Data Type Methods (Technet).

-- Alan Burstein



Best practices for getting help on SQLServerCentral
Need to split a string? Try DelimitedSplit8K or DelimitedSplit8K_LEAD (SQL 2012+)
Need a pattern-based splitter? Try PatternSplitCM
Need to remove or replace those unwanted characters? Try PatExclude8K and PatReplace8K.

"I can't stress enough the importance of switching from a 'sequential files' mindset to 'set-based' thinking. After you make the switch, you can spend your time tuning and optimizing your queries instead of maintaining lengthy, poor-performing code. " -- Itzek Ben-Gan 2001
Jeff Moden
Jeff Moden
SSC Guru
SSC Guru (85K reputation)SSC Guru (85K reputation)SSC Guru (85K reputation)SSC Guru (85K reputation)SSC Guru (85K reputation)SSC Guru (85K reputation)SSC Guru (85K reputation)SSC Guru (85K reputation)

Group: General Forum Members
Points: 85757 Visits: 41091
Shadab Shah (11/11/2013)
Hi Floks,

I am trying to get my hands dirty with XML in SQL Server. I have tried MSDN and some other links which google suggested but i think they are far from being from basic.
Can you guys please suggest some links to start with.

Thanks


The most important lesson that I've learned about XML is that it doesn't even meet the requirements of First Normal Form. Except for storing original XML data in an audit table (and I'd rather not do even that), I try to avoid letting anyone store XML data on any server that I'm responsible for. I don't even like to use it for "configuration control" in SQL Server even though the folks that have written various features of SQL Server are unfortunately leaning in that direction.

--Jeff Moden

RBAR is pronounced ree-bar and is a Modenism for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
If you think its expensive to hire a professional to do the job, wait until you hire an amateur. -- Red Adair

Helpful Links:
How to post code problems
How to post performance problems
Forum FAQs
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search