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 - 2005 - Use ALTER DATABASE MODIFY NAME Instead of sp_renameDB to rename

SQL SERVER – 2005 – Use ALTER DATABASE MODIFY NAME Instead of sp_renameDB to rename

July 13, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Stored Procedure

sp_renameDB will be deprecated, so use ALTER DATABASE MODIFY NAME to rename a database in SQL Server 2005. A short script shows the new syntax.

Read More
ISDATE function in SQL Server.

SQL SERVER – Validate Field For DATE datatype using function ISDATE()

July 12, 2007
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts, SQL Server

A CSV import crashed on the date 30/2/2007. Use the ISDATE() function to validate a VARCHAR column in a staging table before moving rows to a DATETIME field.

Read More
Ben Forta's website.

SQLAuthority News – SQL Blog SQLAuthority.com Comment by Mr. Ben Forta

July 11, 2007
Pinal Dave
SQLAuthority News
Database, DBA, SQL Scripts

Ben Forta, author of Sams Teach Yourself SQL Server T-SQL in 10 Minutes, wrote about SQLAuthority.com on his blog. Here is what he said and why it means a lot to me.

Read More
SQL SERVER - 2005 - Features Comparison Chart

SQL SERVER – 2005 – Features Comparison Chart

July 11, 2007
Pinal Dave
SQL Performance
SQL Download

What are the differences between SQL Server 2005 editions? I point you to the Microsoft features comparison chart for Express, Workgroup, Standard and Enterprise.

Read More
A row of moored rowboats in a quiet harbor, with one weathered red dinghy hidden behind the pilings.

Keeping an Inventory of Every SQL Server You Own

July 11, 2007
Pinal Dave
SQL Tips and Tricks
DBA, SQL Documentation, SQL Instance, SQL Server

Build an Inventory of Every SQL Server you own, including hidden instances, owners, versions, recovery details, and a process to keep it current.

Read More
SQL SERVER - Count Duplicate Records - Rows

SQL SERVER – Count Duplicate Records – Rows

July 11, 2007
Pinal Dave
SQL Tips and Tricks
Duplicate Records, SQL Scripts

A simple query to count duplicate records in a table using GROUP BY, HAVING COUNT(*) and ORDER BY, with the most repeated values first. A video is included.

Read More
SQL SERVER - 2005 - List All Stored Procedure Modified in Last N Days

SQL SERVER – 2005 – List All Stored Procedure Modified in Last N Days

July 10, 2007
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Scripts, SQL Stored Procedure

A query on sys.objects to list every stored procedure modified in last N days, or ones created lately. I use 7 days; change it to what you need.

Read More
Previous 1 … 804 805 806 807 808 809 810 … 840 Next
  • Books
  • Testimonials
  • Privacy Policy

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