This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
XML Query results.

SQL SERVER – Simple Example of Reading XML File Using T-SQL

February 13, 2009
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL XML

A simple example of reading XML file content using T-SQL: load the XML into a variable and pull out elements and attributes with value() in a SELECT.

Read More
SQL SERVER - Simple Example of Creating XML File Using T-SQL

SQL SERVER – Simple Example of Creating XML File Using T-SQL

February 12, 2009
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL XML

I always want to learn SQL Server and XML file. Let us go over a very simple example, today about how to create XML using SQL Server.

Read More
Gouache painting: on a long breakfast board three places are laid in a row

JSON_PATH_EXISTS: Distinguish Missing and Null Properties

February 11, 2009
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts

JSON_PATH_EXISTS tests path presence, including JSON null. Compare missing properties, empty arrays and SQL NULL on SQL Server 2022.

Read More
SQL Server Management tools.

SQL SERVER – Start SQL Server Instance in Single User Mode

February 10, 2009
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server Management Studio, SQL Server Security, SQL Utility

How to start a SQL Server instance in single user mode: add the -m; startup parameter in SQL Server Configuration Manager and restart the service.

Read More
A hand placing the last red pencil into a tin of pencils sorted by color

Choosing the Server Collation at Install Time

February 9, 2009
Pinal Dave
SQL Tips and Tricks
SQL Collation, SQL Server, SQL Server Installation, SQL TempDB

Choose the server collation before installation by checking application comparisons, tempdb behavior, and the cost of changing an instance later.

Read More
SQL SERVER - Introduction to Force Index Query Hints - Index Hint - Part2

SQL SERVER – Introduction to Force Index Query Hints – Index Hint – Part2

February 8, 2009
Pinal Dave
SQL Performance
SQL Constraint and Keys, SQL Index, SQL Scripts

Part 2 on force index query hints: instead of the inline WITH table hint, use the OPTION clause at the end of the query and name the table for each hint.

Read More
Execution Plan.

SQL SERVER – Introduction to Force Index Query Hints – Index Hint

February 7, 2009
Pinal Dave
SQL Performance
SQL Constraint and Keys, SQL Index, SQL Scripts

An index hint lets you force SQL Server to use a specific index in a query. I show the WITH (INDEX()) syntax with examples, and why it is for special cases only.

Read More
Previous 1 … 715 716 717 718 719 720 721 … 841 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com