HI,
I am new to db2.
select a.* from table_A a, Table_b b where b.column1 in (case when a.column1 = '' then substr(column2,1,1) else a.column1 end) and a.column3 = b.column3 and b.column4 >= a.column4 and a.column5 = ' ' and a.column6 <> b.column6 and b.column7 > '2010-09-01'
I want to create a delete query for the above select statement. I mean what ever rows extracted from the table_a using the above query needs to be deleted. Also I want to delete only 1000 rows.
can anyone help me to create a delete query. Thanks in advance