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
Right-click Script Statistics as.

SQL SERVER – How to Script Statistics from SSMS? – Scripting Statistics is Disabled in SSMS

November 30, 2013
Pinal Dave
SQL Tips and Tricks
SQL Statistics

Trying to script statistics in SSMS but the option is always disabled, even outside read-only databases? Here is why it happens.

Read More
SQL SERVER - Statistics for Read-Only Database are in TempDB

SQL SERVER – Statistics for Read-Only Database are in TempDB

November 29, 2013
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Statistics

Statistics usually live in the same database as the table, so where do they go for a read-only database? The answer is TempDB. Here is how it works.

Read More
SQL Server query window.

SQL SERVER – Building Three-Part Name from OBJECT-ID – Database Name, Schema Name, TableName

November 28, 2013
Pinal Dave
SQL Tips and Tricks
SQL Function

Have only an object_id? Here is a script to build the three-part name, database, schema and table, using DB_NAME, OBJECT_SCHEMA_NAME and QUOTENAME.

Read More
SQL SERVER - MySQL - Order Column by Nearest Value for Any Integer

SQL SERVER – MySQL – Order Column by Nearest Value for Any Integer

November 27, 2013
Pinal Dave
SQL Tips and Tricks
MySQL, SQL Order By, SQL Scripts

How do you order column values by how close they are to any integer, such as -5? Here is a script that works the same way on SQL Server and MySQL.

Read More
SQL Server Configuration Checking Tool.

SQL SERVER – SQL Server Configuration Checking – A Must Do for Every DBA – Notes from the Field #004

November 26, 2013
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Backup and Restore

Still running on default settings? Mike Walsh explains why configuration checking is a must do for every DBA and how to fit SQL Server to your business.

Read More
SQL SERVER - Export Data AS CSV from Database Using SQLCMD

SQL SERVER – Export Data AS CSV from Database Using SQLCMD

November 25, 2013
Pinal Dave
SQL Tips and Tricks
CSV, SQL Scripts, SQL Server

We often import CSV into SQL Server, but how do you export data as CSV with SQLCMD? Two simple commands, one with column headers and one without.

Read More
Gouache painting of closed brass elevator doors in a calm lobby, with a single vermilion call button beside them and a potted plant

Elevator Etiquette: Small Rules for a Very Small Room

November 24, 2013
Pinal Dave
Personal
Best Practices, Career Advice, Personal Technology

Elevator etiquette comes down to a few small habits: let people off first, give others room, keep the talk light and stay calm when you miss a door. Here are the rules I follow on conference trips, in office towers and on the way to an interview.

Read More
Previous 1 … 455 456 457 458 459 460 461 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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