In <[EMAIL PROTECTED]>, S R (dharkangel333
@hotmail.com) in a fit of unbridled passion, wrote:
> I have tried everything, changing the name of the query, recreating the 
> table, Naming the field different names and I still get the error:
> 
> Missing semicolon (;) at end of SQL statement.
> 
> I even tried adding the semicolon and then it says:
> 
> Characters found at end of SqL statement.
> 
> It is just a simple insert statement going into a table in ACCESS.
> 
> <cfquery datasource="synergy" name="TryToInsert">
> INSERT INTO USACopy(BusUnitID)
> VALUES(8)
> WHERE ID = 3
> </cfquery>

You can't use a where clause in an Insert statement.  You probably want 
to use an Update statement instead.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to