Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

XML and JSON Recipes for SQL Server: A Problem-Solution Approach
XML and JSON Recipes for SQL Server: A Problem-Solution Approach
XML and JSON Recipes for SQL Server: A Problem-Solution Approach
Ebook523 pages2 hours

XML and JSON Recipes for SQL Server: A Problem-Solution Approach

Rating: 0 out of 5 stars

()

Read preview

About this ebook

Quickly find solutions to dozens of common problems encountered while using XML and JSON features that are built into SQL Server. Content is presented in the popular problem-solution format. Look up the problem that you want to solve. Read the solution. Apply the solution directly in your own code. Problem solved!
This book shows how to take advantage of XML and JSON to share data and automate tasks. JSON is commonly used to move data back and forth between the database and front-end applications, often running in a browser. This book shows all you need to know about transforming query results into JSON format, and back again. Also covered are the processes and techniques for moving data into and out of XML format for business intelligence and other purposes, such as when transferring data from a reporting system into a data warehouse, or between different database brands such as between SQL Server and Oracle.
Microsoft intensively implements XML in SQL Server, and in many related products. Execution plans are generated in XML format, and this book shows you how to parse those plans and automate the detection of performance problems. The relatively new Extended Events feature writes tracing data into XML files, and the recipes in this book help in parsing those files. 
XML is also used in SQL Server's BI tool set, including in SSIS, SSR, and SSAS. XML is used in many configuration files, and is even behind the construction of DDL triggers. In reading this book you’ll dive deeply into the features that allow you to build and parse XML, and also JSON, which is a specific format of XML used to transmit objects in a web-friendly format between a database and its front-end applications.
What You Will Learn
  • Build XML and JSON objects in support of automation and data transfer
  • Import and parse XML and JSON from operating system files
  • Build appropriate indexes on XML objects to improve query performance
  • Move data from query result sets into JSON format, and back again
  • Automate the detection of database performance problems by querying and parsing the database’s own execution plans
  • Replace external and manual JSON processes with SQL Server's internal, JSON functionality
Who This Book Is For
Database administrators, .NET developers, business intelligence developers, and other professionals who want a deep and detailed skill set around working with XML and JSON in a SQL Server database environment. Web developers will particularly find the book useful for its coverage of transforming database result sets into JSON text that can be transmitted to front-end web applications. 
LanguageEnglish
PublisherApress
Release dateDec 18, 2017
ISBN9781484231173
XML and JSON Recipes for SQL Server: A Problem-Solution Approach

Related to XML and JSON Recipes for SQL Server

Related ebooks

Databases For You

View More

Related articles

Reviews for XML and JSON Recipes for SQL Server

Rating: 0 out of 5 stars
0 ratings

0 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    XML and JSON Recipes for SQL Server - Alex Grinberg

    qtbbook_preview_excerpt.htmlysG铜.@H'9sbvgvf.,^ȼߝ8ʯU.v̂X<N'Ft_fv –i$2:?*Ji{LE/wv,fl>Nb{y[M^EǁZ0kQL;p#k2=[mKe'YB^'2e ޏvB\WbDod(!a b("bI$)H V/dgp_4K:WJ-qHR"UD-e~*$Y 5a~ZdB4u!yq+]HPF*uf.PYr {i [c]!mNM*CBYŽYT8 {Osზ@+KJDK!FjADxZ"tR JIO28z{W1aI$cW!U&Щ)]!-9&u^S ( *bƘ@2*XL` tY}i%g\WM_܏0NG(_'Aخ0!׉ʕxpj)ocRzS7vK ΀I .LgbGN:2w +wH =t ?V\.<Zb ̝$!> ~3+^2>PY3ig)d69uzƽk3ԏ@r48Blmc3L ϐkL|>r6{~ :f/\L0.@r@|}y p+aHggKIczN- O>RK6X7dG >?oi?oyycI韝T0Gpf `#OO-P 0Wvug+GnL8 tOO9%z|rB@9B.z*4,c: w, H H! N+E +βEHgPLTzXg$f&z%^-"XIEjr6C֬C86K]ؔhH9k}c$۱M޽{+&P!PYiAw~NS\|`h# t p^2!#6"f#;΃Ѫåyx=h{{]skW1ZsQ /qbT3N97\Yr;<4`ȴI#=ܢ @fd\8p-$|v!xc^ڤO:٪ZS*FV?vիz-])y(% @Eom)adP/}o֐Lv}-؅fu\2Eose[Sǀuw>ʶ0 4[_q0[k$ F<'oA8Y#m@)dm׼e[NlfL:֦ 6'@:h4٨P3 z5SVU6iݖ5+mV8k2&Ҷ3YDMvd:KRtr"iBK=)3m{Y~Ľ\u.mؙƚӂ0a4pw8ʧDqZ#Q[#Xq$쩛͖6h,&qaS!V2m74Zpbm -X9i$ET=N4Pc`QiY8 t[ Z (\-rV'g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