Get a detailed look at the internal architecture of T-SQL with this comprehensive programming reference. Database developers and administrators get best practices, expert techniques, and code samples to master the intricacies of this programming languageasolving complex problems with real-world solutions. Discover how to: Work with T-SQL and CLR user-defined functions, stored procedures, and triggers. Handle transactions, concurrency, and error handling. Efficiently use temporary objects, including temporary tables, table variables, and table expressions. Evaluate when to use set-based programming techniques and when to use cursors. Work with dynamic SQL in an efficient and secure manner. Treat date- and time-related data in a robust manner. Develop CLR user-defined types and learn about temporal support in the relational model. Use XML and XQuery and implement a dynamic schema solution. Work with spatial data using the new geometry and geography types and spatial indexes. Track access and changes to data using extended events, SQL Server Audit, change tracking, and change data capture. Use Service Broker for controlled asynchronous processing in database applications. All the bookas code samples will be available for download from the companion Web site.Figure 131 shows three simple Visio drawings: an EntityRelationship (ER) diagram forthe customer entity, an ERdiagram for the product entity, and a Unified Modeling Language (UML) classdiagram for the product entity. ... The XML schema definition(XSD) for Visio documentsis published on MSDNinthe Visio 2007 XML Referenceat ... Use the following code to create a table with an XML column and import the Visio documents into the table: USE InsideTSQL2008; GO CREATEanbsp;...
|Title||:||Inside Microsoft SQL Server 2008 T-SQL Programming|
|Author||:||Itzik Ben-Gan, Dejan Sarka, Roger Wolter, Greg Low, Ed Katibah, Isaac Kunen|
|Publisher||:||Microsoft Press - 2009-09-23|