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
Small wooden practice blocks in varied shapes beside an open blank notebook on an oak table.

How to Practise SQL Without a Real Database

November 20, 2010
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

You can practise SQL with small invented tables, generated rows, and repeatable exercises without access to a company's production database.

Read More
SQL SERVER - Information Related to DATETIME and DATETIME2

SQL SERVER – Information Related to DATETIME and DATETIME2

November 15, 2010
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Scripts

A reader comment explains the precision issue between DATETIME and DATETIME2: values lose precision when converted between types. Here is the workaround.

Read More
A filing cabinet drawer propped open by a wooden wedge, a coat still hanging on the chair pushed up against it.

SQL SERVER – FIX ERROR 3702 Cannot drop database “MyDBName” because it is currently in use

November 14, 2010
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server

Error 3702: cannot drop database because it is currently in use. Set it to SINGLE_USER WITH ROLLBACK IMMEDIATE, then drop it. Best kept for demo servers.

Read More
SQL SERVER - Reducing CXPACKET Wait Stats for High Transactional Database

SQL SERVER – Reducing CXPACKET Wait Stats for High Transactional Database

November 13, 2010
Pinal Dave
SQL Performance
SQL Scripts, SQL White Papers

Reducing CXPACKET wait stats on a high transactional database: what CXPACKET means, and when lowering the degree of parallelism really helps.

Read More
SQL SERVER - Get All the Information of Database using sys.databases

SQL SERVER – Get All the Information of Database using sys.databases

November 12, 2010
Pinal Dave
SQL Tips and Tricks
SQL Scripts

A handy script from Matteo that uses sys.databases to show plenty of database information, like status, data and log file counts and their sizes in MB.

Read More
Database name backup start date.

SQL SERVER – Get Database Backup History for a Single Database

November 10, 2010
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Scripts

A reader script by aasim abdullah to get database backup history for a single database: backup file, size, time taken, LSNs and the type of each backup.

Read More
SQL SERVER - Recycle Error Log - Create New Log file without Server Restart

SQL SERVER – Recycle Error Log – Create New Log file without Server Restart

November 9, 2010
Pinal Dave
SQL Interview Questions and Answers
SQL Error Messages, SQL Scripts, SQL Server

A client’s DBA restarted the server just to start a fresh Error Log. There is no need: you can recycle the log and create a new file without a restart.

Read More
Previous 1 … 245 246 247 248 249 250 251 … 365 Next
  • Books
  • Testimonials
  • Privacy Policy

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