C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
.NET
ADO.NET
Android
ASP.NET
C#
Databases & DBA
Design Patterns & Practices
Java
Learn iOS Programming
OOP/OOD
SharePoint
Software Testing
Web Development
WPF
View All
2
Reply
What command do we use to rename a db?
Dinesh Beniwal
19y
6.9k
0
Reply
Delete Row
Delete Column
Insert Link
×
Insert
Cancel
Embed YouTube Video
×
Width (%)
Height (%)
Insert
Cancel
Table Options
×
Rows
Columns
First row as header
Create Table
Insert Image
×
Selected file:
Alignment
Left
Center
Right
Select an image from your device to upload
Upload to Server
Cancel
Submit
USE master; GO ALTER DATABASE AdventureWorks2012 Modify Name = Northwind ; GOsp_renamedb [ @dbname = ] 'old_name' , [ @newname = ] 'new_name' is second option But Avoid it bcz This feature will be removed in a future version of Microsoft SQL Server. Use ALTER DATABASE MODIFY NAME instead.
Manju lata Yadav
11y
0
sp_renamedb ‘oldname’ , ‘newname’
Dinesh Beniwal
19y
0
When do you use SQL Profiler?
Can you explain the role of each service?
Message