What's wrong with this. It's giving me a syntax error. SYntax error near the keyword 
'SET'.


                        <cfquery name="update_alias" DATASOURCE="database">
                                INSERT database
                                SET
                                env_var=<cfqueryparam value="#ListGetAt(Line,1,'|')#" 
cfsqltype="CF_SQL_LONGVARCHAR">,
                                destination=<cfqueryparam 
value="#ListGetAt(Line,2,'|')#" cfsqltype="CF_SQL_LONGVARCHAR">
                        </cfquery>

This worked fine under mySQL



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to