Jon,

You can get away with this in some situations through some clever gymnastics
in your sql.

What it will come down to is passing a string into a stored procedure that
you then do some string parsing and looping and use EXEC()  (assuming your
using SQL server).  Althouhg procedding in this manor does impose some
constraints: a lot of string manipulation in SQL is generally a bad idea,
limit to the length of the string that can be passed in, etc......  But, I
would try it out both ways and run some informal performance tests to figure
out which way fits your specific situation.


-eric
------------------------------------------------
If to please people we offer what we ourselves disapprove, how can we
afterwards defend our work.
-George Washington

Eric Barr
Zeff Design
(p)  212.714.6390
(f)   212.580.7181


-----Original Message-----
From: Jon Hall [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 18, 2000 9:23 PM
To: CF-Talk
Subject: Bulk Insert?


I am wondering if anyone knows of any way to dump the entire contents of an
array into a table without having to loop over an insert query?

jon
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to