Database ‘%1!’ already exists.

Error Message:
Msg 1801, Level 16, State 3, Line 1
Database ‘%1!’ already exists.

Severity level:
16.

Description:
This error message appears when you try to create a database with a name under which already a database exists on the specific SQL Server instance.

Consequences:
The T-SQL statement can be parsed, but causes the error at runtime.

Resolution:
Error of the Severity level 16 are generated by the user and can be fixed by the SQL Server user. The database must be created with a different name.

Versions:
All versions of SQL Server.

Example(s):
USE master
GO
CREATE DATABASE Northwind

Remarks:
Databases on the same SQL Server instance must be uniquely identifiable. It is not possible to create more than 1 database with the same name.




Array

No comments yet... Be the first to leave a reply!