enabling the sql trace facility

Tài liệu PL/SQL User''''s Guide and Reference pdf

Tài liệu PL/SQL User''''s Guide and Reference pdf

... PL /SQL User's Guide and Reference Advantages of PL /SQL Figure 1–1 PL /SQL Boosts Performance SQL SQL Application Other DBMSs SQL SQL Application Application SQL IF THEN SQL ELSE SQL END IF; SQL ... Started with PL /SQL Chapter 1, "Overview of PL /SQL" Summarizes the main features of PL /SQL and their advantages Introduces the basic concepts behind PL /SQL and the general appearance of PL /SQL programs ... PL /SQL block or subprogram Figure 1–3 shows the PL /SQL engine processing an anonymous block The PL /SQL engine executes procedural statements but sends SQL statements to the SQL engine in the...

Ngày tải lên: 24/01/2014, 08:20

492 1,7K 0
Oracle® Database PL/SQL User''''s Guide and Reference potx

Oracle® Database PL/SQL User''''s Guide and Reference potx

... PL /SQL User’s Guide and Reference Advantages of PL /SQL Figure 1–1 PL /SQL Boosts Performance SQL SQL Application Other DBMSs SQL SQL Application Application SQL IF THEN SQL ELSE SQL END IF; SQL ... features of PL /SQL and their advantages Introduces the basic concepts behind PL /SQL and the general appearance of PL /SQL programs Chapter 2, "Fundamentals of the PL /SQL Language" Focuses on the small-scale ... shows the PL /SQL engine processing an anonymous block The PL /SQL engine executes procedural statements but sends SQL statements to the SQL engine in the Oracle database 1-18 Oracle Database PL/SQL...

Ngày tải lên: 30/03/2014, 22:20

496 1,1K 0
PL/SQL Packages and Types Reference 10g Release 1 (10.1) Part No. B10802-01 December 2003 .PL/SQL

PL/SQL Packages and Types Reference 10g Release 1 (10.1) Part No. B10802-01 December 2003 .PL/SQL

... declared in the package body rather than in the package specification, so they can be referenced only by other objects in the package They cannot be referenced outside the package See Also: s PL /SQL User's ... Oracle Supplied PL /SQL Packages Table 1–1 lists the supplied PL /SQL server packages These packages run as the invoking user, rather than the package owner Unless otherwise noted, the packages are ... the database is created and the CATPROC .SQL script is run For example, to create the DBMS_ALERT package, the DBMSALRT .SQL and PRVTALRT.PLB scripts must be run when connected as the user SYS These...

Ngày tải lên: 24/10/2013, 17:15

3,8K 334 0
Introduction to Oracle9i : PL/SQL

Introduction to Oracle9i : PL/SQL

... to the following: • • Describe the purpose of PL /SQL • • Explain the benefits of PL /SQL • • • Manage PL /SQL subprograms and triggers Describe the use of PL /SQL for the developer as well as the ... and PL /SQL control statements to process the data Introduction to Oracle9i: PL /SQL I-3 PL /SQL Environment PL /SQL engine PL /SQL block PL /SQL block PL /SQL SQL Procedural statement executor SQL statement ... program, user-exit, iSQL*Plus, or Server Manager, the PL /SQL engine in the Oracle Server processes them It separates the SQL statements and sends them individually to the SQL statements executor...

Ngày tải lên: 27/10/2013, 22:15

330 428 1
Tài liệu Using SQL *Plus to Create Report and Manage Pl/SQL code doc

Tài liệu Using SQL *Plus to Create Report and Manage Pl/SQL code doc

... a SQL* Plus global variable Follow the steps listed below Outside the PL /SQL block, declare a SQL* Plus global variable with the SQL* Plus VARIABLE command Within the PL /SQL block, embed the SQL* Plus ... with the Oracle7 Server to access data The SQL commands are stored in the SQL buffer, and they are executed by a termination character SQL* Plus commands recognize SQL commands and send them to the ... buffer, and the semicolons (;) within the block not close or execute the contents of the buffer SQL* Plus detects the start of a PL /SQL block when you enter either DECLARE or BEGIN at the prompt...

Ngày tải lên: 17/01/2014, 09:20

50 372 0
Tài liệu PL-SQL User''''s Guide and Reference pdf

Tài liệu PL-SQL User''''s Guide and Reference pdf

... of PL /SQL Figure 1–5 PL /SQL Boosts Performance SQL SQL Application Other DBMSs SQL SQL Application Application SQL IF THEN SQL ELSE SQL END IF; SQL RPC Oracle with PL /SQL Oracle with PL /SQL and ... but sends SQL statements to the SQL Statement Executor in the Oracle server Figure 1–4 PL /SQL Engine PL /SQL Engine PL /SQL Block PL /SQL Block procedural Procedural Statement Executor SQL SQL Statement ... positions the cursor before the first row The FETCH statement retrieves the current row and advances the cursor to the next row When the last row has been processed, the CLOSE statement disables the...

Ngày tải lên: 17/01/2014, 09:20

590 8,8K 1
Tài liệu Instructor Guide for Introduction to Oracle: SQL and PL/SQL ppt

Tài liệu Instructor Guide for Introduction to Oracle: SQL and PL/SQL ppt

... SQL and SQL* Plus Interaction SQL Statements SQL Statements Buffer Server SQL* Plus SQL* Plus Commands Query Results Hint Give an overview of all the uses of the SQL statements Explain SQL as ... introducing PL /SQL to the class is by explaining the capabilities that SQL lacks and how PL /SQL serves as an extension to SQL The objective of this slide is to highlight that PL /SQL combines the data ... PL /SQL Environment PL /SQL engine PL /SQL block PL /SQL block PL /SQL SQL Procedural Statement Executor SQL Statement Executor Oracle Server Hint Draw attention to the fact that PL /SQL can reside...

Ngày tải lên: 24/01/2014, 10:20

174 491 0
PL/SQL User’s Guide and Reference phần 1 pdf

PL/SQL User’s Guide and Reference phần 1 pdf

... PL /SQL Figure 1–5 PL /SQL Boosts Performance SQL SQL Application Other DBMSs SQL SQL Application SQL IF THEN SQL ELSE SQL END IF; SQL Oracle8i with PL /SQL Application RPC Oracle8i with PL /SQL ... but sends SQL statements to the SQL Statement Executor in the Oracle server Figure 1–4 PL /SQL Engine PL /SQL Engine procedural PL /SQL Block PL /SQL Block Procedural Statement Executor SQL SQL Statement ... identifies the result set, and positions the cursor before the first row The FETCH statement retrieves the current row and advances the cursor to the next row When the last row has been processed, the...

Ngày tải lên: 07/08/2014, 11:22

67 446 0
PL/SQL User’s Guide and Reference phần 2 doc

PL/SQL User’s Guide and Reference phần 2 doc

... iteration of the loop, the condition is evaluated If the condition is true, the sequence of statements is executed, then control resumes at the top of the loop If the condition is false or null, the loop ... Until the condition is true, the loop cannot complete So, a statement inside the loop must change the value of the condition In the last example, if the FETCH statement returns a row, the condition ... until the loop completes The condition is tested at the top of the loop, so the sequence might execute zero times In the last example, if the initial value of total is larger than 25000, the condition...

Ngày tải lên: 07/08/2014, 11:22

59 414 0
PL/SQL User’s Guide and Reference phần 3 pdf

PL/SQL User’s Guide and Reference phần 3 pdf

... subscript is null In the third case, the subscript is outside the legal range In the fourth case, the subscript exceeds the number of elements in the table In the fifth case, the subscript designates ... Embedded in the Oracle RDBMS, the PL /SQL engine accepts any valid PL /SQL block or subprogram As Figure 4–3 shows, the PL /SQL engine executes procedural statements but sends SQL statements to the SQL ... Clause Using the BULK COLLECT Clause The keywords BULK COLLECT tell the SQL engine to bulk-bind output collections before returning them to the PL /SQL engine You can use these keywords in the SELECT...

Ngày tải lên: 07/08/2014, 11:22

60 357 0
PL/SQL User’s Guide and Reference phần 4 pptx

PL/SQL User’s Guide and Reference phần 4 pptx

... first account, then credits the second In the example below, after crediting the second account, you issue a commit, which makes the changes permanent Only then other users see the changes BEGIN ... the transaction In the example below, as a store manager, you use a read-only transaction to gather sales figures for the day, the past week, and the past month The figures are unaffected by other ... strongly typed, they must have the same datatype In the example below, even though the cursor variables have the same return type, the assignment raises an exception because they have different...

Ngày tải lên: 07/08/2014, 11:22

64 416 0
PL/SQL User’s Guide and Reference phần 5 ppsx

PL/SQL User’s Guide and Reference phần 5 ppsx

... exceptions, SQLCODE returns the number of the Oracle error The number that SQLCODE returns is negative unless the Oracle error is no data found, in which case SQLCODE returns +100 SQLERRM returns the ... You cannot use SQLCODE or SQLERRM directly in a SQL statement Instead, you must assign their values to local variables, then use the variables in the SQL statement, as shown in the following example: ... handle the error WHEN THEN handle the error WHEN OTHERS THEN handle all other errors END; If you want two or more exceptions to execute the same sequence of statements, list the exception...

Ngày tải lên: 07/08/2014, 11:22

63 469 0
w