|
|
| Author |
Message |
samedesh
New User
Joined: 22 May 2007 Posts: 10 Location: Pune
|
|
|
|
Hi ,
I have a problem while inserting a row in a table. After inserting a row sqlcode = 0 but after checking for that row in table row does not exists.
I am using smarttest to debug my code.
Please help :(
Thanks
Sameer |
|
| Back to top |
|
 |
References
|
Posted: Sun Jun 15, 2008 1:55 pm Post subject: Re: Insert not performed when sqlcode = 0 |
 |
|
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 7986 Location: 221 B Baker St
|
|
|
|
Hello,
It may be that the data is rolled back before you try to look at the inserted data.
For a simple test, issue a COMMIT immediately after the insert. Then, try the query and the data syhoule still be there. |
|
| Back to top |
|
 |
|
|