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 paper cards crossing a small wooden bridge between two organized file trays.

Copy Data from One Table to Another in SQL Server: SQL in Sixty Seconds #031

October 31, 2012
Pinal Dave
SQL Video
SQL Constraint and Keys, SQL in Sixty Seconds, SQL Scripts, SQL Table Operation

To copy data from one table to another, use INSERT…SELECT for an existing table or SELECT…INTO for a new one. The tests here show what SELECT…INTO carries over and what it drops, the errors you can hit, and a quick way to check the copy.

Read More
Gouache painting of two disconnected brass couplers on a braided cable between file boxes, with a red test clip.

SQL Server Connection Errors: SQL in Sixty Seconds #030

October 24, 2012
Pinal Dave
SQL Video
SQL Connection, SQL Error Messages, SQL in Sixty Seconds, sqlcmd

SQL Server connection errors have a different message for each cause. The tests here trigger seven of them against a local SQL Server 2025 instance, show what the client says, what the ERRORLOG records, and how to find the port an instance listens on.

Read More
Gouache painting of an illustrated card passing through a wooden frame into a blank calendar card and an hourglass card.

Get Date and Time Separately in SQL Server: SQL in Sixty Seconds #025

September 12, 2012
Pinal Dave
SQL Video
SQL Datatype, SQL DateTime, SQL in Sixty Seconds, SQL Scripts

You can get date and time separately from a datetime value in two ways: formatted text or real DATE and TIME values. The tests here show how each one sorts, filters and fails, and which one to keep in your code.

Read More
Gouache painting of three streams of paper cards merging through wooden channels into an organized output tray.

Insert Multiple Rows in SQL Server: SQL in Sixty Seconds #024

August 29, 2012
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Scripts, SQL Table Operation, SQL Transactions

To insert multiple rows in SQL Server, use separate INSERT statements, UNION ALL or one VALUES list. The tests here compare all three on SQL Server 2025, including failures, the 1,000 row limit and the time for 1,000 rows.

Read More
A row of identical hooks on a wall, each carrying a different coloured enamel tag.

SQL SERVER – Color Coding SQL Server Management Studio Status Bar – SQL in Sixty Seconds #023 – Video

August 22, 2012
Pinal Dave
SQL Video
Database, SQL in Sixty Seconds, SQL Scripts, SQL Server, SQL Server Management Studio

Color code the SQL Server Management Studio status bar so you always know which server you are on before you run a script. A quick video.

Read More
A tripod and a desk lamp set up facing an empty chair in a tidy home office.

SQL SERVER – How do I Record Video and Webcast – Milestone – 2200th Blog Post – SQL in Sixty Seconds #022 – Video

July 25, 2012
Pinal Dave
SQL Video
Database, SQL in Sixty Seconds, SQL Scripts, SQL Server Management Studio

My 2200th blog post and the 22nd SQL in Sixty Seconds episode: a short video on how I record video and webcast content, plus thanks to the people who help.

Read More
Gouache painting of a miniature wooden workshop being assembled from organized parts beside an illustrated instruction book.

Generate Script for Schema and Data in SQL Server: SQL in Sixty Seconds #021

July 18, 2012
Pinal Dave
SQL Video
SQL Identity, SQL in Sixty Seconds, SQL Scripts, SQL Server Management Studio

To generate script for schema and data, choose Schema and data in the SSMS wizard and review the result before you run it. The tests here build such a script with T-SQL on SQL Server 2025 and show three ways it breaks: identity columns, apostrophes and the 1,000 row limit.

Read More
Previous 1 … 19 20 21 22 23 24 25 Next
  • Books
  • Testimonials
  • Privacy Policy

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