ChrisRutherford
Programmer
Hello,
I have two tables in my DB2 7.2 fixpack 5 database...
Table Name - zz_caa_data
Columns
id int
account_id int
first_name char(50)
last_name char(50)
* There is no primary key defined.
Table name - zz_caa_delete
Columns
id int
* There is no primary key defined.
The table zz_caa_data has 14900 records and the table zz_caa_delete has 76 records. When I run either of the following delete queries from within Command Center they just keep on processing, they never complete.
delete from admin.zz_caa_data
where id in (select delete_id from admin.zz_caa_delete)
delete from admin.zz_caa_data
where exists (select '1' from admin.zz_caa_delete where id = delete_id)
Would anyone know why this is. I've looked on the net to no avail. I also have the same problem with update queries as well, they just don't finish.
Thanks again,
Chris Rutherford
I have two tables in my DB2 7.2 fixpack 5 database...
Table Name - zz_caa_data
Columns
id int
account_id int
first_name char(50)
last_name char(50)
* There is no primary key defined.
Table name - zz_caa_delete
Columns
id int
* There is no primary key defined.
The table zz_caa_data has 14900 records and the table zz_caa_delete has 76 records. When I run either of the following delete queries from within Command Center they just keep on processing, they never complete.
delete from admin.zz_caa_data
where id in (select delete_id from admin.zz_caa_delete)
delete from admin.zz_caa_data
where exists (select '1' from admin.zz_caa_delete where id = delete_id)
Would anyone know why this is. I've looked on the net to no avail. I also have the same problem with update queries as well, they just don't finish.
Thanks again,
Chris Rutherford