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 compact wooden organizer holding several simple measuring tools on a softly lit workbench.

The Dynamic Management Views Worth Knowing by Heart

August 16, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Use dynamic management views to inspect active requests, waits, cached queries, index activity, and file space without guessing at server health.

Read More
A wooden coin-sorting tray with coins stacked by size, one large coin stuck in the wrong channel, a bag of coins beside it.

GROUP BY Done Right

August 14, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Group By, SQL Joins, SQL NULL, SQL Server

GROUP BY Done Right separates row filters from group filters, handles NULL groups, and avoids totals inflated by careless joins.

Read More
SQL SERVER - 2005 - Find Stored Procedure Create Date and Modified Date

SQL SERVER – 2005 – Find Stored Procedure Create Date and Modified Date

August 10, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Stored Procedure, SQL System Table

A simple script on sys.objects that shows the stored procedure create date and modified date, handy for audits and for watching changes to your objects.

Read More
A paper repair tag on a string tied to the handle of a stopped machine in a quiet workshop, the tag blank.

SQL SERVER – Fix: Error 2596 The repair statement was not processed. The database cannot be in read-only mode

August 6, 2007
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, SQL Server DBCC

Error 2596 stops a DBCC repair because the database is read only. Here is the safe order: back up, single user, read write, repair and check again.

Read More
Three different balls on a gym floor, a hand choosing one

Which Sample Database to Use for Which Demo

August 4, 2007
Pinal Dave
SQL Tips and Tricks
SQL Sample Database, SQL Server, SQL Training

Which sample database fits your lesson? Compare AdventureWorks, WideWorldImporters, and Stack Overflow data before choosing a demo.

Read More
A harbor crane lifting a cargo net full of sacks onto a boat, with one sack waiting alone on the quay

Fast Bulk Inserts From Python

August 3, 2007
Pinal Dave
SQL Performance
Batch, Python, SQL Performance, SQL Server

Bulk inserts from Python work best with parameterized executemany, measured batch sizes, a tested fast_executemany path, and clear restart rules.

Read More
comment

SQL SERVER – Two Different Ways to Comment Code – Explanation and Example

August 3, 2007
Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts, SQL Server

SQL Server has two different ways to comment code. Let us learn all of them here in this blog post. Various the options in the blog posts.

Read More
Previous 1 … 421 422 423 424 425 426 427 … 438 Next
  • Books
  • Testimonials
  • Privacy Policy

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