How To Execute SQL Statements Directly Via SQL Command Editor in Sap St04
How To Execute SQL Statements Directly Via SQL Command Editor in Sap St04
Enter above SQL statement into Enter SQL Statement, Do parsing(F7), then
execute (F8), Data is returned in Result tab. Please refer to Figure 2.
Please take note that figure 5 show the SQL ID based on Oracle database
views
5 Further Information
If you are interested in learning SQL commands, you can refer to Oracle
online document: http://docs.oracle.com/html/A95915_01/sqcmd.htm.
So far, you can see that you can get information from SAP tables and Oracle
tables by executing SQL command directly from SQL command editor. You
might wonder so what and how that would help on SAP application
performance analysis and trouble-shooting. You can use SQL command editor
to verify which execution plan is better for performance. You also can verify
whether performance is a cause of unexpected index change I would cover
this via example in my future post.
Reference: http://www.sap-perf.ca/execute-sql-statement-directly-in-sap/