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
Execution Plan for SQL Query.

SQL SERVER – Performance Improvement with of Executing Stored Procedure with Result Sets in SQL Server 2012

May 2, 2011
Pinal Dave
SQL Tips and Tricks
SQL Scripts

How fast are result sets in SQL Server 2012 compared with a temp table? I ran both methods and compared their execution plans to answer a reader.

Read More
Two storks with red beaks rearranging sticks in a new nest on top of a village chimney

Migrating From MySQL to SQL Server: AUTO_INCREMENT, LIMIT and Other Differences

May 1, 2011
Pinal Dave
SQL Tips and Tricks
MySQL, SQL Identity, SQL Migration, SQL Server

Plan migrating from MySQL with clear translations for identity values, paging, dates, booleans, string functions, and upserts.

Read More
A table top used as a template, traced in pencil onto a fresh sheet of plywood on trestles.

SQL SERVER – CTAS – Create Table As SELECT – What is CTAS?

April 30, 2011
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Table Operation

CTAS stands for Create Table As Select. In SQL Server you do it with SELECT INTO, which creates the new table and fills it with data in one step.

Read More
SQL SERVER - 2012 - Executing Stored Procedure with Result Sets - New

SQL SERVER – 2012 – Executing Stored Procedure with Result Sets – New

April 29, 2011
Pinal Dave
SQL Tips and Tricks

Executing stored procedure with result sets works for multiple resultsets too. WITH RESULT SETS handles them easily, while the old temp table method cannot.

Read More
SQL SERVER - 2012 - Executing Stored Procedure with Result Sets

SQL SERVER – 2012 – Executing Stored Procedure with Result Sets

April 28, 2011
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Stored Procedure

Denali lets you execute a stored procedure with result sets and rename its columns at run time, with no temp table needed. Here is a quick script.

Read More
Two similar cream ceramic vases stand in separate wooden compartments beside a small sage-green jar.

XQuery Node Identity: Equal Text Can Be Different Nodes

April 27, 2011
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts

XQuery node identity compares source nodes, not their text. Use is beside text equality to distinguish repeated values from the same node.

Read More
SQL SERVER - How to ALTER CONSTRAINT

SQL SERVER – How to ALTER CONSTRAINT

April 24, 2011
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Scripts

Can you ALTER CONSTRAINT in SQL Server? No. The only way to change a constraint is to drop it and create it again, and here is the script for that.

Read More
Previous 1 … 402 403 404 405 406 407 408 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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