Search This Blog

Fix “could not locate entry in sysdatabases” Error

Problem: I ran into this error when executing a script on a SQL database.  I could attach or deattach the database, and SQL Management Studio showed the database was fine.

Fix: it turns out the database has ‘-‘ in the name, e.g. database_2008-10-01.  Renaming the database by removing ‘-‘ fixed the problem.

Do not use ‘-‘ in SQL database name.

No comments:

Post a Comment

Use WinSCP to Transfer Files in vCSA 6.7

This is a quick update on my previous post “ Use WinSCP to Transfer Files in vCSA 6.5 ”. When I try the same SFTP server setting in vCSA 6.7...