Its SQL7.  The duplication occurs when a certain condition is met in the
application logic.  I guess I could put that logic into a trigger as well.
Ive never used triggers, wouldn't I still have to write some SQL code to do
the INSERET?


-----Original Message-----
From: Andrew Scott [mailto:[EMAIL PROTECTED]]

Is this SQl 2000, then why not use a trigger?


-----Original Message-----
From: Adrian Cesana [mailto:[EMAIL PROTECTED]]
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

Reply via email to