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
SQL SERVER - Renaming Index - Index Naming Conventions

SQL SERVER – Renaming Index – Index Naming Conventions

May 21, 2012
Pinal Dave
SQL Tips and Tricks
SQL Index

Tables got renamed to a new standard, but what about the indexes? Tell me which index naming conventions you follow when renaming an index.

Read More
Hands fitting a new wider slat into an old park bench, the old slat leaning beside it

Changing an Index In Place With CREATE INDEX and DROP_EXISTING

May 20, 2012
Pinal Dave
SQL Performance
Clustered Index, DBA, SQL Index, SQL Server

Use DROP_EXISTING to change an index definition in one operation, inspect its columns, and check online availability and dependencies.

Read More
Highlighted datetime2 value.

SQL SERVER – Saturday Fun Puzzle with SQL Server DATETIME2 and CAST

May 19, 2012
Pinal Dave
SQL Puzzle
SQL DateTime

A Saturday fun puzzle with DATETIME2 and CAST in SQL Server 2012. Run each script one at a time, guess the output, and learn something new.

Read More
Gouache painting of a new rowing boat with wide oarlocks and two old oars against the wall, one painted red

Deprecated Features and Breaking Changes: Plan Your Upgrade

May 18, 2012
Pinal Dave
SQL Tips and Tricks
Compatibility Level, SQL Deprecated Feature, SQL Upgrade

Breaking Changes are only one of four kinds of change that an upgrade brings. This guest post by Nakul Vachhrajani explains the four kinds, how to find deprecated feature use with Extended Events and the Deprecated Features counters, and a checklist for planning the upgrade.

Read More
A finished stone bridge beside an old wooden bridge over a river, workers placing the last span to meet the road

Upgrading With Log Shipping for a Short Cutover

May 17, 2012
Pinal Dave
SQL Tips and Tricks
DBA, Log Shipping, SQL Backup and Restore, SQL Upgrade

Upgrading with log shipping stages a newer secondary with NORECOVERY, applies logs in order, and leaves a short, rehearsed final cutover.

Read More
Five lesson rows with their results: error 2627 caught and thrown again, a procedure that returned 11,200.00 while a direct SELECT failed with 229, tea found on slips 1 and 3, the breadcrumb Library > Garden > Herbs > Basil, and a hint that cut reads from 5,740 to 318

SQL Server Lessons: Five Short Scripts You Can Run in a Minute

May 16, 2012
Pinal Dave
SQL Tips and Tricks
CTE, Query Hint, SQL Server Security, SQL XML

SQL Server lessons stick when you can run them in a minute. This page covers errors, security, XML, hierarchies and query hints. Each lesson asks one question and answers it with a short script. Every result comes from SQL Server 2025.

Read More
SQL SERVER - Get Schema Name from Object ID using OBJECT_SCHEMA_NAME

SQL SERVER – Get Schema Name from Object ID using OBJECT_SCHEMA_NAME

May 15, 2012
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL System Table

Many people join sys.tables and sys.schemas to get a schema name from an object ID. The OBJECT_SCHEMA_NAME function does it in one simple call.

Read More
Previous 1 … 537 538 539 540 541 542 543 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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