SQL Query to Rename Database in SQL Server

SQL Query to rename database.

Syntax: sp_renamedb 'olddatabasename','newdatabasename'

Example: sp_renamedb 'Lakshmi','Laxmi'

Check this post for SQL Query To Find Minimum Salary From Emp Table in SQLSERVER.
Sql query to find highest salary in sqlserver.
Check this post to get 2nd and 3rd Highest salary
SQL Query to copy only structure of one table to other table in SqlServer
SQL Query to get structure of table in SqlServer
Movie Songs Lyrics
Software Testing-QTP Scripts,Testing Faqs

No comments:

Recent Posts