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 - Unable to cast object of type 'System.DBNull' to type 'System.String'. (Microsoft.SqlServer.Smo)

SQL SERVER – Unable to cast object of type ‘System.DBNull’ to type ‘System.String’. (Microsoft.SqlServer.Smo)

July 2, 2016
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server

Creating a database in SSMS gave me ‘Unable to cast object of type System.DBNull to type System.String’. Here is how I tracked down the cause and fixed it.

Read More
Disk missing error in SQL Server.

SQL SERVER – Script level upgrade for database master failed because upgrade step sqlagent100_msdb_upgrade.sql encountered error

July 1, 2016
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server

Another cause of ‘Script level upgrade for database master failed’, this time from sqlagent100_msdb_upgrade.sql, and how I fixed it for a client.

Read More
SQL SERVER - Error Fix: Msg 13601 Working with JSON Structure

SQL SERVER – Error Fix: Msg 13601 Working with JSON Structure

June 29, 2016
Pinal Dave
SQL Tips and Tricks
JSON, SQL Error Messages, SQL Server

Msg 13601 showed up while I was working with JSON output: a property cannot be generated due to a conflict with another column name. Here is the fix.

Read More
A hand scooping a red goldfish from a cracked fishbowl into a jug of clean water with a small net.

Tail-Log Backup: Saving the Last Transactions Before a Restore

June 28, 2016
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Server, Transaction Log

Take a tail-log backup before an approved restore, understand NORECOVERY and damaged-database options, and rehearse the full recovery chain.

Read More
SQL SERVER - FCB::Open failed: Could not open file Path for file number 2. OS error: 5(Access is denied.)

SQL SERVER – FCB::Open failed: Could not open file Path for file number 2. OS error: 5(Access is denied.)

June 27, 2016
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server

SQL Server would not start after a client moved database files from C to D drive: FCB::Open failed with OS error 5, Access is denied. Here is the fix.

Read More
A hermit crab beside a larger empty shell on sand

Moving TempDB to New Drive – Interview Question of the Week #077

June 26, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts, SQL Server, SQL TempDB

A 1 AM call: TempDB was full on the C drive. Here is the popular interview question on moving TempDB to new drive, with the steps I use.

Read More
SQL SERVER - Fix Error - 948 A downgrade path is not supported. The database cannot be opened because it is version.

SQL SERVER – Fix Error – 948 A downgrade path is not supported. The database cannot be opened because it is version.

June 25, 2016
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, SQL Server Installation

Attaching a database gave me Error 948: a downgrade path is not supported. Here is why a database from a newer SQL Server version won’t open on an older one.

Read More
Previous 1 … 212 213 214 215 216 217 218 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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