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 1813, Level 16, State 2, Line 1 Could not open new database 'yourdatabasename'. CREATE DATABASE is aborted.

SQL SERVER – Fix : Error Msg 1813, Level 16, State 2, Line 1 Could not open new database ‘yourdatabasename’. CREATE DATABASE is aborted.

July 21, 2007
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages, SQL Scripts

Msg 1813 says CREATE DATABASE is aborted when you attach a database with a corrupt log. My step by step fix rebuilds the log and needs a server restart.

Read More
SQL SERVER - Fix : Error Msg 4214 - Error Msg 3013 - BACKUP LOG cannot be performed because there is no current database backup

SQL SERVER – Fix : Error Msg 4214 – Error Msg 3013 – BACKUP LOG cannot be performed because there is no current database backup

July 20, 2007
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages, SQL Scripts, SQL Server

Fix the SQL Server error Msg 4214 and Msg 3013, where BACKUP LOG fails because no current database backup exists. Here is why it happens.

Read More
Convert Query Results.

SQL SERVER – 2005 – SSMS – View/Send Query Results to Text/Grid/Files

July 19, 2007
Pinal Dave
SQL Performance
SQL Download, SQL Error Messages, SQL Joins, SQL Scripts, SQL Server DBCC, SQL Server Security

Three ways to send query results to text, grid or file in SSMS: the shortcuts CTRL+T, CTRL+D and CTRL+SHIFT+F, the toolbar, or the menu bar.

Read More
SQL SERVER - SPACE Function Example

SQL SERVER – SPACE Function Example

July 19, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts

Does SQL Server have a SPACE function? Yes. SELECT SPACE(100) returns 100 spaces, and a short example uses it to join last and first names.

Read More
SQL SERVER - Restore Database Without or With Backup - Everything About Restore and Backup

SQL SERVER – Restore Database Without or With Backup – Everything About Restore and Backup

July 18, 2007
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Download, SQL Scripts

Everything about restore and backup readers ask: can you restore without a backup? No. Here is the right restore order and a plan to stay safe.

Read More
SQL SERVER - CASE Statement in ORDER BY Clause - ORDER BY using Variable

SQL SERVER – CASE Statement in ORDER BY Clause – ORDER BY using Variable

July 17, 2007
Pinal Dave
SQL Performance
SQL Function, SQL Scripts

Stop building ORDER BY strings and running them with EXEC in a stored procedure. I show how a CASE statement in ORDER BY sorts by a variable without dynamic SQL.

Read More
Gouache painting: on a laundry table, two wool sweaters lie side by side, the same cream color, each with the same vermilion loop at the collar

CHECKSUM: A Matching Result Does Not Prove Text Identity

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

CHECKSUM matches do not establish unchanged text. Preserve complete values and compare hyphen and trailing-space differences explicitly.

Read More
Previous 1 … 340 341 342 343 344 345 346 … 365 Next
  • Books
  • Testimonials
  • Privacy Policy

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