PL/SQL User’s Guide and Reference phần 6 docx

PL/SQL User’s Guide and Reference phần 6 docx

PL/SQL User’s Guide and Reference phần 6 docx

... the values 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 num...
Ngày tải lên : 07/08/2014, 11:22
  • 60
  • 698
  • 0
PL/SQL User’s Guide and Reference phần 1 pdf

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 ... Routines 5 -63 Use the NOCOPY Compiler Hint 5 -64 Use the RETURNING Clause 5 -64 PL/SQL User’s Guide and Reference Release 8.1 .6 December 1999 Part No. A77 0...
Ngày tải lên : 07/08/2014, 11:22
  • 67
  • 433
  • 0
PL/SQL User’s Guide and Reference phần 2 doc

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

... 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...
Ngày tải lên : 07/08/2014, 11:22
  • 59
  • 412
  • 0
PL/SQL User’s Guide and Reference phần 3 pdf

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 ... Course( 360 1, ’Latin America Since 1825’, 4), Course(3702, ’Medieval Islamic History’, 4))); Manipulating Records 4-52 PL/SQL User’s Guide and Reference Using Collection Me...
Ngày tải lên : 07/08/2014, 11:22
  • 60
  • 353
  • 0
PL/SQL User’s Guide and Reference phần 4 pptx

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
  • 64
  • 415
  • 0
PL/SQL User’s Guide and Reference phần 5 ppsx

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 subpro...
Ngày tải lên : 07/08/2014, 11:22
  • 63
  • 466
  • 0
PL/SQL User’s Guide and Reference phần 7 ppt

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 key...
Ngày tải lên : 07/08/2014, 11:22
  • 60
  • 362
  • 0
PL/SQL User’s Guide and Reference phần 8 pptx

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

... error_number ) ; exception_init_pragma Exceptions 11 -60 PL/SQL User’s Guide and Reference Example The following PL/SQL block has two exception handlers: DECLARE bad_emp_id EXCEPTION; bad_acct_no ... expression AND expression IN ( expression , ) other_boolean_form Functions 11- 86 PL/SQL User’s Guide and Reference datatype This is a type specifier. For the syntax of...
Ngày tải lên : 07/08/2014, 11:22
  • 48
  • 357
  • 0
PL/SQL User’s Guide and Reference phần 9 doc

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

... SERIALLY_REUSABLE ; LOOP Statements 11-1 06 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 calla...
Ngày tải lên : 07/08/2014, 11:22
  • 76
  • 317
  • 0
PL/SQL User’s Guide and Reference phần 10 ppsx

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

... 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 Reference EXEC ... Values Inserting Character Values Selecting Character Values Guidelines C -6 PL/SQL User’s Guide and Reference Calling Subprograms and Methods Name Resolution D-11 S...
Ngày tải lên : 07/08/2014, 11:22
  • 69
  • 407
  • 0