Ask a Question related to Coldfusion Database Access, Design and Development.
-
bigbrain28 #1
Using CFML to Backup (duplicate) tables into the same orSecond MDB
I need help with some CF code that will target the users tables with in the DB
and make copies of them, I think the best idea is to copy them into a seperate
DB. I have a master DB that services MANY different customers, all have tables
with the same name, but each table includes their "name" as part of the table
name (ei, SMITHemail, and JONESemail are the same format and my templates get
data from the correct table based on the "name" part).
Part of my control panel is (hoping to) give the admin power to BACK-UP their
tables before they make changes to their data, or RESTORE from previous
back-ups if they screw up. I need to be able to do this on a table by table
basis. I have used CF to back-up/copy entire DB's before but never isolated
tables. I have a set list of about 12 tables (per client) and would like to
present the user with the ability to back-up/restore any/all of their tables.
bigbrain28 Guest
-
Accessing duplicate field names from different tables
Hi, I am joining two tables, and the two tables have the same field names, but they represent different data. eg. table 1 - People name -... -
MySQL backup but only soem tables with a prefix
One of my friend had to mix 2 kind of tables into the same database 'friend_database' using a different prefix (pre1_tables and pre2_tables ). He... -
CFML from MSSQL
I am attempting to pull CFML, <cfoutput>'s, etc. from a database and have them inserted into a .cfm page and executed at runtime. Instead of the... -
use cfml in JS
Hi Is it possible to use ColdFusion functions in Javacript ? e.g. (won't work) <script language="JavaScript" type="text/javascript"> <!--... -
loop - begin backup, end backup Oracle 8.1.7
Hello, we have the problem named after: last weekend (22.12.2002), we did a reorganisation of a tablespace with the tool "sapdba" from SAP.... -
Dan Bracuk #2
Re: Using CFML to Backup (duplicate) tables into thesame or Second MDB
For the record, there are probably more efficient ways to accomplish your goal,
but, if this is what you want to do,
Make sure the databases can select from each other.
Then write your queries something like this: note that you are backing up db1
into db2
delete from db2.tablename
insert into db2.tablename
select * from db1.tablename
Dan Bracuk Guest



Reply With Quote

