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 |
|
malikjaved
Starting Member
21 Posts |
Posted - 2008-01-28 : 07:12:47
|
| Hi all,it's seems as silly question,but i am hving problem with this, is any body know the t-sql code or script that i can use to create a copy of my database, or in other words, i need to create a new database on behalf of current database. currently what i m doing, i just take a backup and then restore as new database, it is time taking,is there any way ?thanks and looking forward.-MALIK |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2008-01-28 : 07:14:59
|
| If you dont want data, script out the objects and use that to create new dbMadhivananFailing to plan is Planning to fail |
 |
|
|
malikjaved
Starting Member
21 Posts |
Posted - 2008-01-28 : 07:28:39
|
| Thanks for the reply, but i also want data as well,every thing as the original database |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2008-01-28 : 07:41:55
|
quote: Originally posted by malikjaved Thanks for the reply, but i also want data as well,every thing as the original database
Then backup and restoreHow big is your backup file?MadhivananFailing to plan is Planning to fail |
 |
|
|
malikjaved
Starting Member
21 Posts |
Posted - 2008-01-28 : 07:54:10
|
| it's quite big, database is future divived into full text catalog,v hv around 150 tables around 500 procdure and few viws and couple of procedures. |
 |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2008-01-28 : 20:35:29
|
| Don't know other ways faster than backup/restore. |
 |
|
|
|
|
|
|
|