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
A cold hearth, retained charcoal pieces in a terracotta bowl, a brass shovel and a brush.

Restart History: Preserve Startup Evidence Before Logs Cycle

May 19, 2009
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Error Messages, SQL Monitoring, SQL Server Services

Restart history records startup evidence before retained logs disappear. Keep each source and timestamp separate, and test repeat collection with synthetic archives.

Read More
Saving changes dialog box.

SQL SERVER – Fix : Management Studio Error : Saving Changes in not permitted. The changes you have made require the following tables to be dropped and re-created. You have either made changes to a table that can’t be re-created or enabled the option Prevent saving changes that require the table to be re-created

May 18, 2009
Pinal Dave
SQL Tips and Tricks
Database, SQL Error Messages, SQL Scripts, SQL Server Management Studio

SSMS says saving changes is not permitted when a table must be re-created. Learn to turn off Prevent saving changes, and why I still prefer T-SQL.

Read More
SQL SERVER - How to Drop Temp Table - Check Existence of Temp Table

SQL SERVER – How to Drop Temp Table – Check Existence of Temp Table

May 17, 2009
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL TempDB, Temp Table

Readers often ask how to check existence of a temp table and how to drop temp table without Msg 2714. My earlier article answers all of these questions.

Read More
A full spice rack with no room left, a new jar of red paprika standing on the counter below

Dynamic PIVOT: Building Report Columns From the Data

May 17, 2009
Pinal Dave
SQL Tips and Tricks
Dynamic SQL, PIVOT and UNPIVOT, SQL Reports, SQL Server

Build a dynamic PIVOT with ordered STRING_AGG and QUOTENAME, parameterized filters, zero-filled results, and explicit report-width limits.

Read More
A new cast iron stove in an old farmhouse kitchen with a dented old kettle sitting on top of it.

What Changes When You Move to a New Major Version

May 12, 2009
Pinal Dave
SQL Tips and Tricks
Compatibility Level, SQL Deprecated Feature, SQL Migration, SQL Server, SQL Upgrade

A New Major Version of SQL Server changes the engine while database compatibility, query plans, and deprecated features need separate review.

Read More
SQL SERVER - How to Drop Primary Key Contraint

SQL SERVER – How to Drop Primary Key Constraint

May 12, 2009
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Scripts

ALTER TABLE … DROP PRIMARY KEY is MySQL syntax and fails in SQL Server with Msg 156. Here is how to drop primary key constraint the SQL Server way.

Read More
SQL SERVER - Questions and Answers with Database Administrators

SQL SERVER – Questions and Answers with Database Administrators

May 11, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Coding Standards, SQL Scripts

While hiring Database Administrators and senior developers for a large project, we discussed many interesting questions. Here are some, with my own views.

Read More
Previous 1 … 469 470 471 472 473 474 475 … 571 Next
  • Books
  • Testimonials
  • Privacy Policy

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