macromedia.coldfusion.database_access
[Top] [All Lists]

Re: cfinsert works with mySQl 5 but NOT with ms sql server 2005

Subject: Re: cfinsert works with mySQl 5 but NOT with ms sql server 2005
From: GArlington <garlington@xxxxxxxxxxxxx>
Date: Mon, 21 Jan 2008 02:14:41 -0800 (PST)
Newsgroups: macromedia.coldfusion.database_access

On Jan 20, 9:08 pm, "masticwarrior" <webforumsu...@xxxxxxxxxxxxxx>
wrote:
> First i would consider myself an "advanced" beginner at coldfusion.
>
>  I had a setup of coldfusion 8 with mySQL5 w/GUI interface. I do my 
> development
> in eclipse.
>
>  I wrote a VERY simple code,  with a simple database table, and it submitted
> the data fine no problems. (i verified the data and it was indeed submitted)
>
>  <cfif IsDefined ("form.posted")>
>     <cfinsert datasource="cfsales" tablename="test">
>  </cfif>
>
<snip>

If you read CF docs you will find that it is ALWAYS advised to use
<cfquery ...> instead of <cfinsert ...> <cfupdate ...>

<Prev in Thread] Current Thread [Next in Thread>