Entering content frame

Procedure documentation Transferring an SQL Statement Locate the document in its SAP Library structure

Use

When you enter a SELECT statement, the system displays the results. The system outputs an OK message for other statements.

Prerequisites

You have the DBM operator authorization AccessSQL.

You have started an SQL session.

Syntax

sql_execute <statement>

Example

sql_execute SELECT username,connectmode,templimit,user_id from users

OK
END
'PUBLIC';'SINGLE';(null);3
'DBA';'SINGLE';(null);10
'DOMAIN';'SINGLE';(null);11
'SYS';'SINGLE';(null);12
'CONTROL';'MULTIPLE';(null);0

Reply

OK<NL>
(END|CONTINUE)<NL>
<record><NL>
<record><NL>

The fields in an answer record are separated by semicolons.

Character strings are displayed in single quotation marks.

END

Result set output complete

Continue

More result data ready

In the event of errors, see Reply Format.

 

 

Leaving content frame