Posted: Mon Jun 04, 2007 8:31 pm Post subject: DELETE FROM not working
Apprentice
Joined: 03 May 2007 Posts: 45
I am having a strange problem while executing delete clause from esql code.
The below statment is ineffective.It just do nothing on the database nor throws any error.
DELETE FROM Database.{Source1}.{Schema1}.{Table1} AS T WHERE T.REPLY_TO_Q = InputRoot.MQMD.ReplyToQ ;
the where clause is vaild as it works for select statment.Also the same is working from PLSQL.
Your where clause MAY NOT be correct. You might not have the data you think you do.
Your {Source1} MAY NOT be correct.
Your {Schema1} MAY NOT be correct.
Your {Table1} MAY NOT be correct.
You'll have to troubleshoot th entire statement - every dynamic value in it - to confirm this.
Your statement MAY be absolutely correct, and it may be functional. And then your flow does something to roll back the transaction that the delete occurs in. _________________ I am *not* the model of the modern major general.
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