2013 Oct 22 4:51 PM
Hello,
we have a lot of duplicate entries in Streets and cities. So I have to find out, if they are already in use by ADRC.
The follwing ABAP is very slow (because I am not using the table key), so I try to find a fast way:
SELECT SINGLE * FROM adrc
WHERE city_code = city_code
AND streetcode = strt_code.
Any ideas?
Thanks, Regards Mario
2013 Oct 22 5:06 PM
You could put an index on those two.
Neal
PS: But really, how often will it be used? Once a month? Is it worth worrying about a long run time if it is rarely used?
Hello,
we have a lot of duplicate entries in Streets and cities. So I have to find out, if they are already in use by ADRC.
The follwing ABAP is very slow (because I am not using the table key), so I try to find a fast way:
SELECT SINGLE * FROM adrc
WHERE city_code = city_code
AND streetcode = strt_code.
Any ideas?
Thanks, Regards Mario
2013 Oct 22 5:06 PM
You could put an index on those two.
Neal
PS: But really, how often will it be used? Once a month? Is it worth worrying about a long run time if it is rarely used?
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |