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
Database Properties - Perftest.

SQL SERVER – Change Database Access to Single User Mode Using SSMS

November 21, 2010
Pinal Dave
SQL Tips and Tricks
SQL Server Management Studio

I showed before how to set single user mode with T-SQL before a backup. You can also set single user mode using SSMS, from the database properties page.

Read More
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
A sunflower tied to a bamboo cane with twine knots marking its height, evenly spaced until one sits far higher.

Recording Table Row Counts Every Day

November 19, 2010
Pinal Dave
SQL Tips and Tricks
DBA, SQL Data Storage, SQL DMV, SQL Server Agent

Recording table row counts each day creates a useful SQL Server trend when a scheduled job, history table, and change review support it.

Read More
The cover of a book.

SQL SERVER – History of SQL Server Database Encryption

November 17, 2010
Pinal Dave
SQL Tips and Tricks
SQL PASS, SQL Server Encryption, SQLAuthority Book Review

Michael Coles, co-author of Expert SQL Server 2008 Encryption, let me share his history of SQL Server database encryption, starting from SQL Server 2000.

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 - 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
Previous 1 … 415 416 417 418 419 420 421 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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