2005 Jun 29 9:49 AM
Hi,
I have problem when i try to display a infoset @ SQ02, when i debug it, it hangs @ this statement.
delete from aqgdb where relid = 'AQ'
and srtfd like l_sukeylang.
Any idea what could be wrong? AQGDB is not a big table, and i try selecting from SE16 with the same select statement, it is fine.
Thanks,
CK
Hi,
Check with the delete satatement
DELETE FROM dbtab WHERE cond.
DELETE FROM (dbtabname) WHERE cond.
delete from aqgdb where relid = 'AQ'
and srtfd <b>like</b> l_sukeylang. Like is not recommended with in delete right?
2005 Jun 29 10:03 AM
One explanation could be that srtfd is a 60Char field and a 'like' clause in the sql is going to take long (if it tries to match through the string for each record).
SE16 may be working because of its row-count limit (200/500 etc). You can probably remove this row-count to read all records (also specify a str value which is not normally to be found in aqgdb-srtfd, this will make it take longer).
cheers,
2005 Jun 29 10:20 AM
But the this table in my system has only 63 records. It shouldn't take that long either, it juz seem to hang @ this statement.
2005 Jun 29 1:46 PM
Hi,
Check with the delete satatement
DELETE FROM dbtab WHERE cond.
DELETE FROM (dbtabname) WHERE cond.
delete from aqgdb where relid = 'AQ'
and srtfd <b>like</b> l_sukeylang. Like is not recommended with in delete right?
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |