PL/SQL User’s Guide and Reference phần 9 doc
... SERIALLY_REUSABLE ; LOOP Statements 11-106 PL/SQL User’s Guide and Reference Internally, PL/SQL assigns the values of the bounds to temporary PLS_INTEGER variables, and, if necessary, rounds the values ... MODE; Related Topics COMMIT Statement, ROLLBACK Statement RESTRICT_REFERENCES Pragma 11-144 PL/SQL User’s Guide and Reference RESTRICT_REFERENCES Pragma To be callabl...
Ngày tải lên: 07/08/2014, 11:22
... LOOP and EXIT Statements 3-6 PL/SQL User’s Guide and Reference When possible, use the ELSIF clause instead of nested IF statements. That way, your code will be easier to read and understand. ... of EXIT statements: EXIT and EXIT-WHEN. Scope and Visibility 2-38 PL/SQL User’s Guide and Reference In such cases, to avoid ambiguity, prefix the names of local variables a...
Ngày tải lên: 07/08/2014, 11:22
... 6 and 8 to attributes num and den, respectively. DECLARE r Rational; BEGIN r := Rational(6, 8); DBMS_OUTPUT.PUT_LINE(r.num); prints 6 What Is an Object Type? 9- 4 PL/SQL User’s Guide and Reference Next, ... Types 9- 20 PL/SQL User’s Guide and Reference Object Type Rational A rational number is a number expressible as the quotient of two integers, a numerator and...
Ngày tải lên: 07/08/2014, 11:22
PL/SQL User’s Guide and Reference phần 1 pdf
... not grant them access to the table itself. Advantages of PL/SQL 1-24 PL/SQL User’s Guide and Reference Main Features 1-10 PL/SQL User’s Guide and Reference Iterative Control LOOP statements let you ... this guide. For that kind of information, see the Oracle installation or user’s guide for your system. How This Guide Is Organized The PL/SQL User’s Guide an...
Ngày tải lên: 07/08/2014, 11:22
PL/SQL User’s Guide and Reference phần 3 pdf
... course_no = 3105; END; Taking Advantage of Bulk Binds 4-30 PL/SQL User’s Guide and Reference Each context switch between the PL/SQL and SQL engines adds to overhead. So, if many switches are ... seat_not_available THEN END; Using the BULK COLLECT Clause 4-38 PL/SQL User’s Guide and Reference The SQL engine initializes and extends collections for you. (However, it...
Ngày tải lên: 07/08/2014, 11:22
PL/SQL User’s Guide and Reference phần 4 pptx
... Variables 5-18 PL/SQL User’s Guide and Reference Cursor variables follow the usual scoping and instantiation rules. Local PL/SQL cursor variables are instantiated when you enter a block or subprogram and ... cursor variable and pass it as a parameter to local and stored subprograms. This gives you an easy way to centralize data retrieval. Using Cursor Variables 5-22 PL/SQ...
Ngày tải lên: 07/08/2014, 11:22
PL/SQL User’s Guide and Reference phần 5 ppsx
... subprogram. You can avoid unhandled exceptions by coding an OTHERS handler at the topmost level of every PL/SQL program. User-Defined Exceptions 6-8 PL/SQL User’s Guide and Reference BEGIN IF THEN ... EXCEPTION_INIT(deadlock_detected, -60); Understanding Parameter Aliasing 7-22 PL/SQL User’s Guide and Reference Understanding Parameter Aliasing To optimize a subprogra...
Ngày tải lên: 07/08/2014, 11:22
PL/SQL User’s Guide and Reference phần 7 ppt
... list. Tips and Traps 10-16 PL/SQL User’s Guide and Reference Tips and Traps Native Dynamic SQL 10-11 Tips and Traps This section shows you how to take full advantage of dynamic SQL and how to avoid ... ; assignment_statement Blocks 11-10 PL/SQL User’s Guide and Reference Blocks The basic program unit in PL/SQL is the block. A PL/SQL block is defined by the keywo...
Ngày tải lên: 07/08/2014, 11:22
PL/SQL User’s Guide and Reference phần 8 pptx
... operator returns the Boolean value TRUE if its operand is null, or FALSE if its operand is not null. GOTO Statement 11 -90 PL/SQL User’s Guide and Reference From the current block, a GOTO statement ... page 11- 19. exponent This is an expression that must yield a numeric value. FORALL Statement 11-82 PL/SQL User’s Guide and Reference FORALL Statement The FORALL statement...
Ngày tải lên: 07/08/2014, 11:22
PL/SQL User’s Guide and Reference phần 10 ppsx
... NEW_VALUE STATUS TIME_TAG - 3 u 599 18-NOV-88 6 i 20 099 18-NOV-88 5 d 18-NOV-88 7 u 1 599 18-NOV-88 1 i 399 18-NOV-88 9 d 18-NOV-88 10 x 18-NOV-88 PL/SQL Block available online in file ... VARCHAR2 variable, PL/SQL aborts the assignment and raises VALUE_ERROR. Note: The same rules apply when fetching. Sample 6. Calling a Stored Procedure A-16 PL/SQL User’s Guide and...
Ngày tải lên: 07/08/2014, 11:22