Download Android App in your Android Device from Google Play Store
- Search for "Withoutbook Practice Exam Test" in Mobile/Tablet Play Store
Practice InterviewNew Search by Name or Email

Exams Attended

Make Homepage

Bookmark this page

Subscribe Email Address

MSSQL Interview Questions and Answers

Ques. How to rename databases in MS SQL Server?
Ans. If don't like the name of a database, you can change it by using the "ALTER DATABASE" statement with the following syntax:

ALTER DATABASE database_name
MODIFY NAME = new_database_name

The tutorial example below shows you how change the database name from "withoutbookdb" to "withoutbook":

ALTER DATABASE withoutbookdb
MODIFY NAME = withoutbook

The database name 'withoutbook' has been set.
Is it helpful? Yes No

Most helpful rated by users:

©2020 WithoutBook