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 - Introduction and Example for DATEFORMAT Command

SQL SERVER – Introduction and Example for DATEFORMAT Command

September 28, 2007
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Scripts

I found DATEFORMAT in a Jr. DBA’s code. SET DATEFORMAT sets the order of month, day and year so SQL Server can read date strings in other formats.

Read More
SQL SERVER - FIX : Error 3154: The backup set holds a backup of a database other than the existing database

SQL SERVER – FIX : Error 3154: The backup set holds a backup of a database other than the existing database

September 27, 2007
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Data Storage, SQL Error Messages, SQL Scripts

Error 3154 says the backup set holds a backup of a database other than the existing database. Use WITH REPLACE in RESTORE, or drop the old database first.

Read More
A fish with a SQL Server 2005 logo.

SQLAuthority News – Book Review – Programming SQL Server 2005 [ILLUSTRATED]

September 26, 2007
Pinal Dave
SQLAuthority News
SQLAuthority Book Review

My review of Programming SQL Server 2005 by Bill Hamilton, which covers only the new features, from T-SQL and XML to SSIS, SSRS and Service Broker.

Read More
SQL SERVER - Effect of TRANSACTION on Local Variable - After ROLLBACK and After COMMIT

SQL SERVER – Effect of TRANSACTION on Local Variable – After ROLLBACK and After COMMIT

September 25, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Transactions

What is the effect of a TRANSACTION on local variable values after ROLLBACK and after COMMIT? A short example I wrote for a Jr. Developer shows the answer.

Read More
Z-A ordering by letters.

SQL SERVER – Order of Result Set of SELECT Statement on Clustered Indexed Table When ORDER BY is Not Used

September 24, 2007
Pinal Dave
SQL Performance
SQL Index, SQL Order By, SQL Server

“What will be the order of the result set of a SELECT statement on clustered indexed table when the ORDER BY clause is not used?”

Read More
SQL SERVER - Stored Procedure to Know Database Access Permission to Current User

SQL SERVER – Stored Procedure to Know Database Access Permission to Current User

September 23, 2007
Pinal Dave
SQL Tips and Tricks
SQL Cursor, SQL Scripts, SQL Stored Procedure, Undocumented SQL

Which databases can I use? Run EXEC sp_MShasdbaccess to see the database access permission of the current user. Our Jr. DBAs check it all the time.

Read More
SQL SERVER - 2005 - Version Information and Additional Information - Extended Stored Procedure xp_msver

SQL SERVER – 2005 – Version Information and Additional Information – Extended Stored Procedure xp_msver

September 22, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts

EXEC xp_msver returns SQL Server version information plus server details like platform, language and file version, with no need to check Windows system info.

Read More
Previous 1 … 789 790 791 792 793 794 795 … 838 Next
  • Books
  • Testimonials
  • Privacy Policy

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