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
Five prints pegged on a washing line, four fading away and one kept.

SQL SERVER – Delete Duplicate Records – Rows

March 1, 2007
Pinal Dave
SQL Tips and Tricks
Duplicate Records, SQL Scripts

A short query to delete duplicate records from a table with an identity column: keep the MAX(ID) in each group of duplicate columns and remove the rest.

Read More
SQL SERVER - T-SQL Script to find the CD key from Registry

SQL SERVER – T-SQL Script to find the CD key from Registry

February 28, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Stored Procedure, SQL Utility

Need the SQL Server CD key used at install time? The undocumented xp_regread reads it straight from the registry. Log in as SA if you lack permission.

Read More
SQL SERVER - What is New in SQL Server Agent for Microsoft SQL Server 2005

SQL SERVER – What is New in SQL Server Agent for Microsoft SQL Server 2005

February 26, 2007
Pinal Dave
SQL Tips and Tricks
SQL Download, SQL Error Messages, SQL Server Agent, SQL Utility

A TechNet article I liked on what’s new in SQL Server Agent for SQL Server 2005: security, proxy accounts, shared schedules, WMI alerts and Database Mail.

Read More
Hands placing a leaking tap assembly on a cloth at a shop counter, its worn washer and screw laid out in a row

How to Ask a SQL Server Question That Gets Answered

February 24, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, Developer, SQL Error Messages, SQL Server

A SQL Server question that gets answered includes the exact build, full error text, a small repro, and the fixes already tried.

Read More
SQL SERVER - Creating Comma Separate List From Table

SQL SERVER – Creating Comma Separate List From Table

February 20, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Stored Procedure, SQL String

This post now points to my updated script for creating a Comma Separate Values List from a table, rewritten in May 2007 to support SQL Server 2005.

Read More
SQL SERVER - Function to Convert List to Table

SQL SERVER – Function to Convert List to Table

February 10, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL String

This old post now points to my updated UDF, the Function to Convert List to Table, which I rewrote in May 2007 to support SQL Server 2005.

Read More
SQL SERVER - UDF - Function to Convert Text String to Title Case - Proper Case

SQL SERVER – UDF – Function to Convert Text String to Title Case – Proper Case

February 1, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL String

My UDF udf_TitleCase converts any string to Title Case, also called Proper Case. The post has a sample call, its output and the full T-SQL code of the function.

Read More
Previous 1 … 535 536 537 538 539 540 Next
  • Books
  • Testimonials
  • Privacy Policy

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