Posted: Thu Sep 16, 2010 4:31 am Post subject: Unable to delete data using JCN from database.
Acolyte
Joined: 31 Jan 2008 Posts: 57
Hi, I have created simple delete query which deletes data from database(DB2).While the select and update statements work, delete is giving exception while creating the sql statment .The sql state is 42705.
the query is as simple as delete from database.schemaname.XYZ where file_name='abc'
Also would like to know wht situations to use passthru or not?
Posted: Thu Sep 16, 2010 5:51 am Post subject: Re: Unable to delete data using JCN from database.
Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
sudeepm wrote:
Hi, I have created simple delete query which deletes data from database(DB2).While the select and update statements work, delete is giving exception while creating the sql statment .The sql state is 42705.
the query is as simple as delete from database.schemaname.XYZ where file_name='abc'
Also would like to know wht situations to use passthru or not?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum