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
SQL SERVER - Shortcut to SELECT Single Row from Table - SQL in Sixty Seconds #046 - Video

SQL SERVER – Shortcut to SELECT Single Row from Table – SQL in Sixty Seconds #046 – Video

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

Many readers struggled with my blog post on this, so here it is as a video: a SQL Server Management Studio shortcut to select single row from any table.

Read More
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 - Check If String is a Palindrome in Using T-SQL Script - Reverse Function

SQL SERVER – Check If String is a Palindrome in Using T-SQL Script – Reverse Function

March 7, 2013
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server, SQL String

A friend building a captcha had to skip words that read the same backward. Here is a T-SQL script with REVERSE to check if a string is a Palindrome.

Read More
Solder sucker beside a recovered original bead and a separate new lump

Rethrowing Errors With THROW and Keeping the Original Number

March 6, 2013
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server

A bare THROW passes an error on untouched. A new THROW or a copied RAISERROR message does not. See the proof, plus one semicolon trap.

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 - Beginning SQL 2012 - Basics of CONVERT and FORMAT Function - Abstract from Joes 2 Pros Volume 5

SQL SERVER – Beginning SQL 2012 – Shred XML with the nodes() Method – Abstract from Joes 2 Pros Volume 5

March 1, 2013
Pinal Dave
SQL Tips and Tricks
Joes 2 Pros, SQL Scripts

An abstract from Joes 2 Pros Volume 5 that shows how to shred XML into nodes with an XPath and the nodes() method, without OPENXML or numbered handles.

Read More
SQL SERVER - Beginning SQL 2012 - Basics of CONVERT FORMAT Function

SQL SERVER – Beginning SQL 2012 – Basics of CONVERT FORMAT Function

February 28, 2013
Pinal Dave
SQL Tips and Tricks
Joes 2 Pros, SQL Function, SQL Scripts, SQL Server

Basics of the CONVERT FORMAT Function in SQL 2012: compare FORMAT with the older CONVERT tricks and grab just the part of a date you need for reports.

Read More
Previous 1 … 191 192 193 194 195 196 197 … 366 Next
  • Books
  • Testimonials
  • Privacy Policy

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