2017 Sep 26 10:20 AM
Hi,
I want to use a dynamic select statement like:
SELECT * FROM XYZ WHERE (ls_query_where_cond) INTO....
This woorks fine but I do not always have a where condition. This will raise a exception.
Can I completely remove this "where" dynamicly or do I have to use if statements to check if there any "where" condition before execution?
Thanks!
2017 Sep 26 10:26 AM
Hi,
I want to use a dynamic select statement like:
SELECT * FROM XYZ WHERE (ls_query_where_cond) INTO....
This woorks fine but I do not always have a where condition. This will raise a exception.
Can I completely remove this "where" dynamicly or do I have to use if statements to check if there any "where" condition before execution?
Thanks!
2017 Sep 26 10:26 AM
2017 Sep 26 10:42 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |