More Group Sites
Education Books
School Rankings
Jobless Net
Better Home

Help | Subscribe/Unsubscribe | Rules | Other Group Sites: Better Education | Better Education Forum
Welcome Guest! To enable all features please Login or Register.



Go to last post Go to first unread
#1 Posted : Tuesday, 28 February 2017 9:26:54 PM(UTC)

Rank: Administration


Groups: AcademicCoachingSchool, admin, Administration, BookSeller, CatholicSchool, CoachingAdult, CoachingProfessional, CoachingSports, ExtraCurriculumCoaching, IndependentSchool, Moderator, MusicTeacher, PrivateSchool, PublicSchool, SelectiveSchool, tutor
Joined: 23/11/2008(UTC)
Posts: 521

How to clone an sql server database on the same server

In SQL Server management studio including Express version , there is an import and export wizard. Note that importing /exporting data just does the tables, ie. data, but not the procedures or functions, etc. There is also a Copy Database wizard available in SQL Server management Studio via Tasks > Copy Database on the context menu on the source database. It copies the entire database to another database. However, it is only available in the full version, not express version.
You can still copy the whole database with the express edition - Use 'Restore Database' option accessible by right clicking the "Databases" on the menu tree of the SQL Server Management Studio and provide the database name while providing the source database to restore. Don't create an empty database and restore the backup .bak file on to it. So no need to create a backup file for copying a database.

Related database terms: attach, Detach, Take offline, Bring online...
Rss Feed  Atom Feed
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.