Well sometimes sp_reanmedb may not work you know because if
some one is using the db it will not accept this command so
what do you think you can do in such cases?

Answer Posted / guest

In such cases we can first bring to db to single user using
sp_dboptions and then we can rename that db and then we can
rerun the sp_dboptions command to remove the single user mode.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define constraints and give an example of their use?

647


What is read uncmmited?

678


Define full outer join in sql server joins?

579


How to populate a table in sql server?

592


Can you create a logon trigger in sql server 2005 express edition?

675






Does windows server 2016 come with sql server?

587


What is perspective, have you ever created perspective? : sql server analysis services, ssas

584


what's new in sql server 2016?

645


Is the log file is a part of file group?

636


What do you understand by check constraint in sql server?

559


Why truncate is ddl command?

612


Is it possible to have clustered index on separate drive from original table location?

609


How to loop through the result set with @@fetch_status?

752


Explain tables in SQL Azure?

106


What is BCNF? How is it better than 2NF & 3NF?

682