On 10/10/2014 1:50 AM, Mike K wrote: > You do know that Microsoft changed the insert syntax as from SQLServer 2008 > dont you? now you can insert multiple records in one go like this: > > INSERT into Tablename (field1, field2, field3, field4 ....) Values > ( value1, value2, value3, value4 ... ; > value1, value2, value3, value4 .... ; > value1, value2, value3, value4 .... > ) > >
The problem is, I'm writing to TWO tables .... Insert into MailList (email address, name .... ) Insert into Categories ( just_inserted_MailList_id, other_relational_stuff...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:359450 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm