Code covered by the BSD License  

Highlights from
myblob_testdb

Be the first to rate this file! 16 Downloads (last 30 days) File Size: 1.37 KB File ID: #18834

myblob_testdb

by

 

19 Feb 2008 (Updated )

This function is used to create test environments starting

| Watch this File

File Information
Description

This function is based on
MyBlob toolbox, and it's used to create test environments starting
 from existing databases, copying a fixed number of elements from
 eache table of the source database to test one.
I'm not related to the author of MyBlob Toolbox: if you don't like this function it's my fault, not his one.

 myblob_testdb(conn,sourcedb,testdb,limit)
 
 - conn is the object to connect to sourcedb obtained by myblob_open;
 - sourcedb is the name of the source database;
 - testdb is the name of the destination database;
 - limit is the number of elements you want to copy from each table;
         you can set it to 'all' if you want to create an exact copy of the
         source database.

Acknowledgements

Myblob inspired this file.

MATLAB release MATLAB 7.4 (R2007a)
Other requirements MyBlob Toolbox MySQL
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us