> Maybe this? Loop around the <cfquery> > > <cfloop query="theQuery"> > <cfquery name="blah" datasource="blah"> > INSERT INTO Table > (Field) > VALUES ('#theQuery.FieldValue#') > </cfquery> > </cfloop>
Just out of interest, does anyone know the performance issues between looping round inside <cfquery> to insert multiple records, and looping round *outside*, running the <cfquery> tag multiple times? I didn't know you *could* stick one SQL statement after another inside <cfquery> until seeing this thread. Is this more efficient? - Gyrus ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - [EMAIL PROTECTED] work: http://www.tengai.co.uk play: http://www.norlonto.net - PGP key available ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ______________________________________________________________________ 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=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists