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

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

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

... PL/SQL User’s Guide and Reference Release 8 .1. 6 December 19 99 Part No. A77069- 01 xiii SQL Cursor 11 -16 3 SQLCODE Function 11 -16 6 SQLERRM Function 11 -16 8 %TYPE Attribute 11 -17 0 UPDATE Statement 11 -17 2 A ... 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 G...
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

... value into a VARCHAR2 variable. Declarations 2- 30 PL/SQL User’s Guide and Reference A conversion is also necessary when you insert a CHAR or VARCHAR2 value into a DATE column. So, PL/SQL calls the ... 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 varia...
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

... name = ’History’) WHERE course_no = 31 05; 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. ... History’, 5), Course(2 130 , ’The Renaissance’, 3) , Course(2 132 , ’The Reformation’, 3) , Course (31 05, ’History of Ancient Greece’, 4), Course (33 21, ’Early Japan’, 4),...
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

... Application Developer’s Guide - Fundamentals. Processing Transactions 5 -44 PL/SQL User’s Guide and Reference Using ROLLBACK The ROLLBACK statement ends the current transaction and undoes any changes made ... Transactions 5- 54 PL/SQL User’s Guide and Reference In the following example, you mark a PL/SQL block as autonomous: DECLARE PRAGMA AUTONOMOUS_TRANSACTION;...
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 ... EXCEPTION_INIT(deadlock_detected, -60); Understanding Parameter Aliasing 7-22 PL/SQL User’s Guide and Reference Understanding Parameter Aliasing To optimize a subprogram ca...
Ngày tải lên : 07/08/2014, 11:22
  • 63
  • 466
  • 0
PL/SQL User’s Guide and Reference phần 6 docx

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

... 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
  • 60
  • 698
  • 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

... 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 datatype, see "Constants and ... 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 th...
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-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 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

... printf("\n\n"); printf("% -10. 10s% -10. 10s%s\n", "Employee", "Job", "Salary"); printf("% -10. 10s% -10. 10s%s\n", " ", " ", ... EXISTS (SELECT * FROM tab2 WHERE col2 = 10) ; BEGIN END; Sample 5. Embedded PL/SQL A-12 PL/SQL User’s Guide and Reference printf("\n\n\tEmbedded PL/SQL Debit Tr...
Ngày tải lên : 07/08/2014, 11:22
  • 69
  • 407
  • 0
PL/SQL User''''s Guide and Reference 10g Release phần 1 pdf

PL/SQL User''''s Guide and Reference 10g Release phần 1 pdf

... Attribute 13 -11 9 SAVEPOINT Statement 13 -12 1 SCN_TO_TIMESTAMP Function 13 -12 2 SELECT INTO Statement 13 -12 3 SERIALLY_REUSABLE Pragma 13 -12 7 PL/SQL User's Guide and Reference, 10 g Release 1 (10 .1) Part ... Statement 13 -95 OPEN-FOR-USING Statement 13 -97 Packages 13 -99 Procedures 13 -10 4 RAISE Statement 13 -10 8 Records 13 -11 0 RESTRICT_REFERENCES P...
Ngày tải lên : 08/08/2014, 20:21
  • 50
  • 355
  • 0
PL/SQL User''''s Guide and Reference 10g Release phần 2 doc

PL/SQL User''''s Guide and Reference 10g Release phần 2 doc

... SQL PL/SQL Expressions and Comparisons 2- 20 PL/SQL User's Guide and Reference When the value of on_hand is zero, the left operand yields TRUE, so PL/SQL does not evaluate the right operand. ... assignments */ IF 2 + 2 = 4 THEN some_condition := TRUE; /* We expect this THEN to always be done */ PL/SQL Expressions and Comparisons 2- 26 PL/SQL User's Gui...
Ngày tải lên : 08/08/2014, 20:21
  • 52
  • 383
  • 0
PL/SQL User''''s Guide and Reference 10g Release phần 3 potx

PL/SQL User''''s Guide and Reference 10g Release phần 3 potx

... v2 ntb1; v3 ntb2; v4 tb1; v5 tb1; empty table begin v4(1) := 34 ; v4(2) := 46456; v4(456) := 34 3; v2( 23) := v4; v3 (34 ) := va1 (33 , 456, 656, 34 3); What Is a PL/SQL Record? 5 -32 PL/SQL User's ... Collection Exceptions 5 -30 PL/SQL User's Guide and Reference n NumList := NumList(10,20 ,30 ,40,50,60,70,80,90,100); TYPE NickList IS TABLE OF VARCHAR2(64) I...
Ngày tải lên : 08/08/2014, 20:21
  • 50
  • 322
  • 0
PL/SQL User''''s Guide and Reference 10g Release phần 4 pptx

PL/SQL User''''s Guide and Reference 10g Release phần 4 pptx

... DELETE, and SELECT statements directly in PL/SQL, PL/SQL turns the variables into bind variables automatically, to make the Guidelines for Dynamic SQL 7-12 PL/SQL User's Guide and Reference Avoiding ... Overview of Transaction Processing in PL/SQL 6- 34 PL/SQL User's Guide and Reference about lock modes, see Oracle Database Application Developer's Guid...
Ngày tải lên : 08/08/2014, 20:21
  • 54
  • 343
  • 0
PL/SQL User''''s Guide and Reference 10g Release phần 10 ppt

PL/SQL User''''s Guide and Reference 10g Release phần 10 ppt

... 10- 4 propagation, 10- 10 raised in declaration, 10- 13 raised in handler, 10- 14 raising with RAISE statement, 10- 9 reraising, 10- 12 scope rules, 10- 6 syntax, 13-45 user-defined, 10- 6 WHEN clause, 10- 13 executable ... exception handler, 10- 14 label, 4-12 syntax, 13-71 GROUP BY clause, 6-2 H handlers, exception, 10- 2 handling exceptions, 10- 1 raised in declaration, 10- 13...
Ngày tải lên : 08/08/2014, 20:21
  • 41
  • 387
  • 0