14. SELECT Statements Flashcards
Difference between SELECT statement and GET event
With GET the authorisation checks are carried out automatically. the SELECT statement does not carry out any authorisation checks. The programmer has to manually code the proper checks for authorisation on the database tables.
The select statement can access data by three methods
- Single access with fully qualified key
- Loop processing with restriction
- Loop processing without restriction
Where clause
is made up by comparing a table field to another field or to a value, using one of the relational operators shown above.
SELECT SINGLE
statement allows accessing a single table entry.
SY-SUBRC
Will be set to either of the following values after the SELECT statement finishes: 0 = Read was successful,4 = Record does not exist.
WHERE clause
is to specify selection condition.
RANGES statement
creates the identical internal table that is created in the DATA statement with the columns SIGN, OPTION, LOW, and HIGH.