>> Oh man, how simple. >Do I need to say that cfqueryparam takes care of that for you ?
Sure, point out that it would've been easy for me to do that ;-) Thing is, I was just trying to do a one-time move of data from a text file to a database and then was going to not use the code again. They never should have had their data written to a text file for use. So, I thought, no need to go with all the usual precautions - just write it and be done with the task. I often get knocked for taking the time to do what I consider the "right thing" instead of "getting the job done". Clearly in this instance, it wasted most of a day and was in no way a time saver. Big-doh. daniel ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create Web Applications With ColdFusion MX7 & Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279229 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4