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.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Copy database

Author  Topic 

carau2007
Starting Member

31 Posts

Posted - 2007-09-10 : 13:59:55
With sql 2000? How do I copy a database? I just want to make a copy of a database (house) to (house_demo) on the same server.

X002548
Not Just a Number

15586 Posts

Posted - 2007-09-10 : 14:04:44
Just Dump and Restore the database


Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam



Go to Top of Page

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2007-09-10 : 14:05:17
Which ways you tried:
1. DTS
2. Scripting database schema

Harsh Athalye
India.
"The IMPOSSIBLE is often UNTRIED"
Go to Top of Page

carau2007
Starting Member

31 Posts

Posted - 2007-09-10 : 14:07:27
How do I dump? Is dumping the same as backup? Sorry I have no clue here.
Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2007-09-10 : 14:08:51
Soory, old terminology.

Yes Dumping a database means to take a backup



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam



Go to Top of Page

carau2007
Starting Member

31 Posts

Posted - 2007-09-10 : 14:14:53
How do I do that
Use the backup database in the Enterprise manager and then use the restore.
Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2007-09-10 : 15:03:49
That's one way.

You could also use T-SQL commands.

Check out BOL for the syntax, or check out Tara's blog



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam



Go to Top of Page

carau2007
Starting Member

31 Posts

Posted - 2007-09-10 : 15:19:29
What does BOL mean? And who is Tara?
Go to Top of Page

Zoroaster
Aged Yak Warrior

702 Posts

Posted - 2007-09-10 : 15:30:20
quote:
Originally posted by carau2007

What does BOL mean? And who is Tara?



Books On-Line is BOL, Tara is a SQL guru that has a great blog with lots of useful info.

For copying DB's though, check this out also, it's useful:

http://vyaskn.tripod.com/moving_sql_server.htm




Future guru in the making.
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2007-09-10 : 15:32:25
"What does BOL mean?"

"Books OnLine" - the help files which come with SQL Client Tools

"[i]And who is Tara?[i/]"

If you tried to follow the link to "Weblogs" above you would get to:

http://weblogs.sqlteam.com/

and then

http://weblogs.sqlteam.com/tarad/

See also:

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=55210&SearchTerms=How%20Backup%20works,What%20type%20of%20backup%20should%20I%20use,Automating%20Backups,Backup,RESTORE%20syntax%20/%20example,Restore

Kristen
Go to Top of Page
   

- Advertisement -