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
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Backup Question????

Author  Topic 

ericbg623
Starting Member

1 Post

Posted - 2009-08-17 : 10:44:47
Hi,

My full backup is 36GB in size. I need to be able to create a "sample" of the full database for development purposes, hopefully much smaller in size and more portable. Is there a way that I can easily run a backup of the entire database, that only contains N rows per table?

Thanks in advance for the help!

Transact Charlie
Master Smack Fu Yak Hacker

3451 Posts

Posted - 2009-08-17 : 11:01:26
Surely that would never work? Working out which rows to satisfy all the foreign keys would be a nightmare...

Sure if there was some way to take the first 50 rows from each table that would be a small db but then your "data" would be a garbage mess probably.





Charlie
===============================================================
Msg 3903, Level 16, State 1, Line 1736
The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION
Go to Top of Page
   

- Advertisement -