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 - Fix : Error : Msg 3117, Level 16, State 4 The log or differential backup cannot be restored because no files are ready to rollforward

SQL SERVER – Fix : Error : Msg 3117, Level 16, State 4 The log or differential backup cannot be restored because no files are ready to rollforward

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

Msg 3117 means the log or differential backup cannot be restored because no files are ready to rollforward. Restore the full backup WITH NORECOVERY first.

Read More
Database status.

SQL SERVER – 2005 – Find Database Status Using sys.databases or DATABASEPROPERTYEX

August 31, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server DBCC, SQL System Table, SQL Utility

Find database status such as ONLINE, OFFLINE, RESTORING or SUSPECT using sys.databases or DATABASEPROPERTYEX, and learn what each status means.

Read More
Database properties in AdventureWorks.

SQL SERVER – 2005 – Find Database Collation Using T-SQL and SSMS

August 30, 2007
Pinal Dave
SQL Tips and Tricks
SQL Collation, SQL Scripts

Two ways to check database collation using T-SQL and SSMS in SQL Server 2005, and why DATABASEPROPERTYEX in T-SQL is the one I recommend.

Read More
SQL SERVER - Difference and Explanation among DECIMAL, FLOAT and NUMERIC

SQL SERVER – Difference and Explanation among DECIMAL, FLOAT and NUMERIC

August 29, 2007
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Scripts

What is the difference between Decimal and Numeric? None, they are the same. Float is different: it is approximate, while Decimal keeps exact precision.

Read More
Click to include actual execution plan.

SQL SERVER – Actual Execution Plan vs. Estimated Execution Plan

August 28, 2007
Pinal Dave
SQL Performance
DBA, Execution Plan, SQL Scripts

Actual Execution Plan or Estimated Execution Plan? I always use the actual plan because it is accurate. Shortcuts: CTRL+M for actual, CTRL+L for estimated.

Read More
SQL SERVER - 2005 - Use Always Outer Join Clause instead of (*= and =*)

SQL SERVER – 2005 – Use Always Outer Join Clause instead of (*= and =*)

August 27, 2007
Pinal Dave
SQL Tips and Tricks
SQL Deprecated Feature, SQL Joins, SQL Scripts

My friend’s queries failed in SQL Server 2005 because they used *= and =* for joins. Always use the LEFT or RIGHT outer join clause instead.

Read More
SQL SERVER - FIX : Error : msg 2540 - The system cannot self repair this error

SQL SERVER – FIX : Error : msg 2540 – The system cannot self repair this error

August 25, 2007
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Data Storage, SQL Error Messages, SQL Scripts

Msg 2540 means the system cannot self repair this error, usually corrupt metadata or system files. My fix order: restore the backup, DBCC repair, check hardware.

Read More
Previous 1 … 306 307 308 309 310 311 312 … 336 Next
  • Books
  • Testimonials
  • Privacy Policy

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