That worked!

Thanks


On Wed, 13 Aug 2003 14:16:56 -0400, Bryan F. Hogan wrote:

> You need to have it say "insert into" not just "insert"
> 
> -----Original Message-----
> From: Bushy [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 13, 2003 2:08 PM
> To: CF-Talk
> Subject: re: <cfquery> not working after migrating from MySQL to MS SQL
> 
> 
> 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