PDA

View Full Version : Problem executing delete statement


usamaalam
05-21-2009, 05:24 PM
Hello everybody,

When I run the following statement, it returns 3660 rows.

select * from symbols where code = 'AAHSY00';

But when I run the following statement, it doesn't do anything and goes in a never ending loop.

delete from symbols where code = 'AAHSY00';

Any idea on how to fix this?

Thanks.

Fumigator
05-21-2009, 06:07 PM
Try adding LIMIT 1; if that works, then the delete query may just be taking a really really really really long time.