SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Copy database
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

carau2007
Starting Member

31 Posts

Posted - 09/10/2007 :  13:59:55  Show Profile  Reply with Quote
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 - 09/10/2007 :  14:04:44  Show Profile  Reply with Quote
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
Flowing Fount of Yak Knowledge

India
5532 Posts

Posted - 09/10/2007 :  14:05:17  Show Profile  Visit harsh_athalye's Homepage  Click to see harsh_athalye's MSN Messenger address  Send harsh_athalye a Yahoo! Message  Reply with Quote
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 - 09/10/2007 :  14:07:27  Show Profile  Reply with Quote
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 - 09/10/2007 :  14:08:51  Show Profile  Reply with Quote
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 - 09/10/2007 :  14:14:53  Show Profile  Reply with Quote
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 - 09/10/2007 :  15:03:49  Show Profile  Reply with Quote
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 - 09/10/2007 :  15:19:29  Show Profile  Reply with Quote
What does BOL mean? And who is Tara?
Go to Top of Page

Zoroaster
Aged Yak Warrior

USA
702 Posts

Posted - 09/10/2007 :  15:30:20  Show Profile  Reply with Quote
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

United Kingdom
22403 Posts

Posted - 09/10/2007 :  15:32:25  Show Profile  Reply with Quote
"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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000