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
Table showing various records and their data type.

SQL SERVER – Query to Find Seed Values, Increment Values and Current Identity Column Value of the Table with Max Value of Datatype – Part 2

August 29, 2014
Pinal Dave
SQL Tips and Tricks
SQL Identity

Harsh improved the identity query from Part 1 so it also works when seed values or increment values are not 1. Here is his script.

Read More
SQL SERVER - Detecting Corruption with Suspect Pages Table - Notes from the Field #043

SQL SERVER – Detecting Corruption with Suspect Pages Table – Notes from the Field #043

August 28, 2014
Pinal Dave
SQL Tips and Tricks
Notes from the Field

John Sterrett shows how the suspect pages table helps with detecting corruption, a tip worth learning even if your database has never been corrupted.

Read More
Table showing various records and their data type.

SQL SERVER – Query to Find Seed Values, Increment Values and Current Identity Column Value of the Table with Max Value of Datatype

August 27, 2014
Pinal Dave
SQL Tips and Tricks
SQL Identity

Mark Hickin improved my old query, so it now shows seed, increment and current identity column value along with the max value of the datatype.

Read More
SQL SERVER - Fix Error 7202 Could not find server in sys.servers. Verify that the correct server name was specified

SQL SERVER – Fix Error 7202 Could not find server in sys.servers. Verify that the correct server name was specified

August 26, 2014
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

Error 7202 Could not find server in sys.servers shows up when you restore a database that uses a linked server. A quick linked server script fixes it.

Read More
Select results from sys.systproceses table.

SQL SERVER – How to See Active SQL Server Connections For Database

August 24, 2014
Pinal Dave
SQL Tips and Tricks
SQL DMV

A reader asked which users are connected to a database and with how many connections. This short script lists active SQL Server connections by login.

Read More
Bracelet with attachable moon, gem, and leaf ornaments beside a fixed cuff

JSON or Real Columns: Deciding Where Attributes Live

August 23, 2014
Pinal Dave
SQL Tips and Tricks
Computed Column, JSON, Normalization

Putting everything in a JSON column is tempting. Here is what it costs in reads, type checks and null handling, and when to promote a property.

Read More
SQL SERVER - How to Force New Cardinality Estimation or Old Cardinality Estimation

SQL SERVER – How to Force New Cardinality Estimation or Old Cardinality Estimation

August 22, 2014
Pinal Dave
SQL Tips and Tricks

Readers asked if the new estimator helps every query. I answer that and show how to force new or old cardinality estimation in SQL Server 2014.

Read More
Previous 1 … 266 267 268 269 270 271 272 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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