Subject | Re: Copy paste tables |
---|---|
Author | throwmail2000 |
Post date | 2004-03-08T05:42:27Z |
Table.Clone (destDatabaseName,newTableName){
getFieldDataTypes();
if(sourceDatabase != destDatabase){
create Domains if not present already;
}
getSourceTableMetaData();
createNewTable();
createReleventTriggersAndGenerators();
}
If something like this comes as a utility with database
then most people will find a way to use it. This doesn't
has to be a part of core-engine. I could have asked for
this in IBExpert list but then they may not make it
available for free version of IBExpert if they choose to
do it at all. I'm a newbie to Firebird so do not know
where this Table.Clone will fit in Firebird family.
MS Access has a Copy-Paste table feature.
OT: Is there a Firebird Wiki? www.FirebirdWiki.org doman is
available..i think.
getFieldDataTypes();
if(sourceDatabase != destDatabase){
create Domains if not present already;
}
getSourceTableMetaData();
createNewTable();
createReleventTriggersAndGenerators();
}
If something like this comes as a utility with database
then most people will find a way to use it. This doesn't
has to be a part of core-engine. I could have asked for
this in IBExpert list but then they may not make it
available for free version of IBExpert if they choose to
do it at all. I'm a newbie to Firebird so do not know
where this Table.Clone will fit in Firebird family.
MS Access has a Copy-Paste table feature.
OT: Is there a Firebird Wiki? www.FirebirdWiki.org doman is
available..i think.