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
Gouache painting of a xylophone with one new red bar fitted into the middle of the row

How to Add Column at Specific Position in SQL Server

March 11, 2013
Pinal Dave
SQL Tips and Tricks
SQL Column, SQL Scripts, SQL Server, SQL Server Management Studio

To add column at specific position in SQL Server, you have three tested options, because ALTER TABLE always adds the column last. This post shows a SELECT list, a view for loads and reports, and a full table rebuild. It also explains what the rebuild costs.

Read More
SQL SERVER - SSMS Does NOT Print NULL Values

SQL SERVER – SSMS Does NOT Print NULL Values

March 4, 2013
Pinal Dave
SQL Tips and Tricks
SQL NULL, SQL Scripts, SQL Server, SQL Server Management Studio

Here is a very interesting question asked on the blog by Karthik. I really liked the question and I would like to discuss this here about SSMS doe snot Print NULL values. 

Read More
SQL SERVER - Cycle Clipboard Ring in SSMS - SQL in Sixty Seconds #045 - Video

SQL SERVER – Cycle Clipboard Ring in SSMS – SQL in Sixty Seconds #045 – Video

February 27, 2013
Pinal Dave
SQL Video
Database, SQL in Sixty Seconds, SQL Scripts, SQL Server, SQL Server Management Studio

Copy and paste only gives you the last item you copied. This SQL in Sixty Seconds video shows how the Cycle Clipboard Ring in SSMS pastes earlier items too.

Read More
Top 1 star from.

SQL SERVER – Shortcut to SELECT only 1 Row from Table

February 21, 2013
Pinal Dave
SQL Tips and Tricks
SQL Server Management Studio

Developers often select only 1 row to peek at what a table holds, but typing SELECT TOP 1 again and again is slow. I share a quicker shortcut for it.

Read More
Gouache painting of a jar of saved seeds beside a small red pot with a new green sprout on a garden bench

Restore a Database in SSMS: Step by Step

February 20, 2013
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Scripts, SQL Server Management Studio

To restore a database in SSMS, right-click Databases, choose Restore Database, pick the backup file, name the destination and choose the recovery state. This post covers each page of the dialog, the tail-log error that stops overwrites, and the T-SQL for a full, differential and log restore chain.

Read More
SQL SERVER - Get SQL Server Version and Edition Information - SQL in Sixty Seconds #043 - Video

SQL SERVER – Get SQL Server Version and Edition Information – SQL in Sixty Seconds #043 – Video

February 13, 2013
Pinal Dave
SQL Video
Database, SQL in Sixty Seconds, SQL Scripts, SQL Server Management Studio

Here is a quick way to find the SQL Server version and edition in sixty seconds, plus how to read version numbers and map them to each release.

Read More
SQL SERVER - Generate Random Values - SQL in Sixty Seconds #042 - Video

SQL SERVER – Generate Random Values – SQL in Sixty Seconds #042 – Video

February 6, 2013
Pinal Dave
SQL Video
Database, SQL in Sixty Seconds, SQL Scripts, SQL Server Management Studio

There are many ways to generate random values in SQL Server. In this sixty second video I show a neat trick to get a random value between two numbers.

Read More
Previous 1 … 34 35 36 37 38 39 40 … 50 Next
  • Books
  • Testimonials
  • Privacy Policy

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