Groups > Databases > Oracle for ASP.NET > Re: Update statement not working




Re: Update statement not working

Re: Update statement not working
Wed, 26 Mar 2008 05:07:18 +000
can u paste the code
Post Reply
Re: Update statement not working
Wed, 26 Mar 2008 14:30:57 +000
Here's the update statement:

  UpdateCommand="UPDATE PROJECT_EOC SET COMMENTS = :COMMENTS, UPDATED_BY =
:UPDATED_BY, UPDATE_DATE = :UPDATE_DATE WHERE (TO_CHAR(BEGIN_YEAR) =
:BEGIN_YEAR)">
             <UpdateParameters>
                 <asp:Parameter Name="COMMENTS" />
                 <asp:Parameter Name="UPDATED_BY" />
                 <asp:Parameter Name="UPDATE_DATE" />
                 <asp:Parameter Name="BEGIN_YEAR" />
Post Reply
Re: Update statement not working
Wed, 26 Mar 2008 21:33:16 +000
Also, everything works fine in QueryBuilder, but does not work when I run the
application.
Post Reply
Re: Update statement not working
Thu, 27 Mar 2008 05:56:48 +000
put a breakpoint and debug it u may get some information where u r getting the
problem
Post Reply
Re: Update statement not working
Mon, 31 Mar 2008 13:40:49 +000
AnonymousJones:

as per my understanding in Oracle Query Builder you are updating some records
which is not reflecting in you application.

 

Please ensure that after firing UPDATE command from SqlBuilder/ SqlDeveloper you
need to Commit your transaction as Oracle Automatically not committing all you
updation  automatically as SQL SERVER. 


 

Hope this Help :-) 

Thanks,

``````````````

j@y

 

--> Mark as Answer if this helps you.
Post Reply
about | contact