What do the 9i dbms_standard.sql_txt() and
dbms_standard.sql_text() procedures do?
Answer / Smita Srivastava
The dbms_standard.sql_txt() and dbms_standard.sql_text() procedures are used to retrieve the text of a PL/SQL block or SQL statement that is currently being executed in the database. The difference between them is that sql_txt() returns the entire execution unit, including any declarative part (like variables, cursors, etc.), while sql_text() only returns the executable SQL statement. Both functions can be useful for debugging and understanding the exact SQL being executed by your application.
| Is This Answer Correct ? | 0 Yes | 0 No |
how can you process messages in order asynchronously?
What are the different types of database compression introduced in sql server 2008? : sql server DBA
Illustrate how to determine the amount of physical CPUs a Unix Box possesses (LINUX and/or Solaris).
What is checkpoint?
Does transparent data encryption provide encryption when transmitting data across network? : sql server DBA
What are the different ways of moving data or databases between servers and databases in SQL Server?
What are the commands you'd issue to show the explain plan for "select * from dual"?
What would you do with an "in-doubt" distributed transaction?
what is the difference between off-line back up and on-line back up in ibm db2 udb?
suppose you want to audit specific activities on sensitive data. How can you achieve that?
What types of replication are supported in sql server? : sql server DBA
What would you use to improve performance on an insert statement that places millions of rows into that table?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)