This should work unless you have identity fields or autonumber <cfquery .... INSERT into tbl_b SELECT * from tbl_a where blah </cfquery>
----- Original Message ----- From: "Adrian Cesana" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, February 06, 2002 10:39 AM Subject: Duplicate record in another table with CF > I have 2 tables with the same structure, I need to duplicate (INSERT) a > record from table1 to table2 using CF. Only way I know of would be to > SELECT * then write an INSERT that contained every field. These tables have > almost 200 fields, is there some better method of doing this? > > Thanks,Adrian > ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

