Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
Msandlana
Starting Member
33 Posts |
Posted - 2008-01-09 : 02:21:18
|
| Morning everyone. Can anyone help me to rename the Database please? |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2008-01-09 : 02:48:58
|
| see sp_renamedb.You will have to make sure there are no users in the database.It won't rename the database files or logical file names just the database name.==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
eyechart
Master Smack Fu Yak Hacker
3575 Posts |
Posted - 2008-01-09 : 02:49:36
|
| you can use sp_renamedb in sql7/2000 or ALTER DATABASE MODIFY NAME in SQL2K5. check BOL/google for details on both.-ec |
 |
|
|
|
|
|