Use Of Table Functions example essay topic
23. What command would you use to encrypt a PL / SQL application? WRAP 24. Explain the difference between a FUNCTION, PROCEDURE and PACKAGE. A function and procedure are the same in that they are intended to be a collection of PL / SQL code that carries a single task. While a procedure does not have to return any values to the calling application, a function will return a single value.
A package on the other hand is a collection of functions and procedures that are grouped together based on their commonality to a business function or application. 25. Explain the use of table functions. Table functions are designed to return a set of rows through PL / SQL logic but are intended to be used as a normal table or view in a SQL statement.
They are also used to pipeline information in an ETL process. 26. Name three advisory statistics you can collect. Buffer Cache Advice, Segment Level Statistics, & Timed Statistics 27. Where in the Oracle directory tree structure are audit traces placed? In unix $ORACLE HOME / rdbms / audit, in Windows the event viewer 28.
Explain materialized views and how they are used. Materialized views are objects that are reduced sets of information that have been summarized, grouped, or aggregated from base tables. They are typically used in data warehouse or decision support systems. 29. When a user process fails, what background process cleans up after it? PM ON 30.
What background process refreshes materialized views? The Job Queue Processes. 31. How would you determine what sessions are connected and what resources they are waiting for?
Use of V$SESSION and V$SESSION WAIT.