it is varchar, that's why I put it in single quotes. ----- Original Message ----- From: "Tony Weeg" <[EMAIL PROTECTED]> To: "CF-Talk" <[email protected]> Sent: Tuesday, May 17, 2005 11:21 AM Subject: Re: Database error
> what datatype is the column? > > tony > > On 5/17/05, Rajani Chandra <[EMAIL PROTECTED]> wrote: > > I'm getting this error, whenever I'm trying to update the database, I'm using CFMX 7, this is my query > > > > UPDATE Person SET Person.DatExp = 99991231 , Person.DependentSeq = 0 , Person.lstno = 20050427 , Person.LstUser = 'blopez5955' , Person.MarSta = 'M' WHERE Person.Objectno = 2005 > > > > Error Executing Database Query. > > [Macromedia][SQLServer JDBC Driver][SQLServer]Line 2: Incorrect syntax near 'blopez5955'. > > > > Any thoughts, > > > > Thanks in Advance. > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206884 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

