Hi, In DB2, Is it possible to get the insert date of a record in a table which doesn't have a seperate field for creation date or timestamp. I have a task where I have to delete record older than 1 year from a table, but the files doesn't have creation date field. So, like RRN does DB2 have any...
How can I use any variable file in an instruction SQL of DELETE in SQLRPG?
How do I enter more than one Delete from ...... where .. Statement from within Query Manager?
Query Manager, DELETE statement, IBM DB2 Query Management Facility
why we can delete a row from a complex view if it does not contains group by clause,group functions,distinct keywords,pseudocolumn
Hi I want to use this query delete from abc a where rrn(a) between 1 and 10 in an sqlrpg prog.I was getting error messages saying rrn keyword not allowed.Am not sure how to execute this in an embeddd sql program.
Can you help me solve the following problem. Whenever i have an order where the field Audit = True, i will have to delete all the previous orders having the Audit = True. And only when customerid = 121. With other words i have to delete the previous orders having Audit = true but not the last one. ...
Hello Guru: How can I delete all requests in ODS via Process chain; except last day of the week and last they of the month I do not want to delete. thanks
ODS (Operational Data Store), Process chain, DELETE statement


