... Backup and recovery options Archiving redo log files and hot backups Backup and recovery using Recovery Manager (RMAN) Creating and managing standby database Identifing and tuning database and SQL ... Professional? xxi Understanding RDBMS concepts Writing queries and manipulating data Creating and managing users and database objects Knowledge of PL/ SQL programming and constructs Oracle Server ... OCP Database Administrator Tests and Passing Scores Total Questions Questions Correct Passing Score Introduction to Oracle: SQL and PL/ SQL 60 43 72% OCP: Oracle8i™ DBA SQL and PL/ SQL Study Guide...
Ngày tải lên: 16/10/2013, 13:15
... and Services Introduction IĆ21 Server ÉÉÉÉ SQL and PL/ SQL Scripts IĆ22 Introduction to Oracle: SQL and PL/ SQL Using Procedure Builder SQL, SQL* Plus, and PL/ SQL SQL, SQL* Plus, and PL/ SQL commands ... exception handlers Lesson 26: Summary of PL/ SQL (optional) Review the topics covered in the course Create a PL/ SQL- based application for manipulating and maintaining information in your database Preface ... more information, see Oracle7 Server SQL Reference, Release 7.3 and Oracle7 SQL Quick Reference Guide Introduction IĆ25 IĆ26 Introduction to Oracle: SQL and PL/ SQL Using Procedure Builder SQL, SQL* Plus,...
Ngày tải lên: 19/10/2013, 11:15
Teach Yourself PL/SQL in 21 Days- P16
... assigning values, 105 CREATE PROCEDURE command, 191 cursors declaring, 248 initializing, 248 passing to, 247 scope, 256 defining, 102-103 referencing tables, 103 syntax, 103 dropping queue tables, ... creating, 54 creating (security example), 538-539 data integrity (maintaining), 300-304 listing, 302 defining, 299-300, 313, 319 delete, 296 enabling/disabling, 310-311 event, 311-312 defining, ... (dbms output.put line() procedure), 17 processing benefits, platform independence (PL/ SQL benefits), Platinum Technology Inc Web site, 11 PLS_INTEGER datatype, 43 syntax, 44 plus sign (+) addition...
Ngày tải lên: 20/10/2013, 17:15
PL/SQL Packages and Types Reference 10g Release 1 (10.1) Part No. B10802-01 December 2003 .PL/SQL
... in Code Examples Code examples illustrate SQL, PL/ SQL, SQL* Plus, or other command-line statements They are displayed in a monospace (fixed-width) font and separated from normal text as shown in ... managers, and others interested in developing database applications This manual assumes a working knowledge of application programming and familiarity with SQL to access information in relational ... regarding the accessibility of these Web sites xxxii What's New in PL/ SQL Packages and Types Reference? The following sections describe the new features in Oracle PL/ SQL Packages and Types Reference:...
Ngày tải lên: 24/10/2013, 17:15
Teach Yourself PL/SQL in 21 Days- P1
... Using PL/ SQL Index-by Tables 266 Declaring an Index-by Table 266 Inserting Entries into an Index-by Table 267 Referencing Values in an Index-by Table 268 Changing ... Yourself PL/ SQL in 21 Days, Second Edition Preventing Errors and Planning for Debugging in the Future 391 Defining Requirements and Planning Projects 391 Using a Modular Approach to Coding ... rights when executing stored code • PL/ SQL bulk binds • Embedded dynamic SQL within PL/ SQL • Parameter passing by reference • Autonomous PL/ SQL blocks • Calling Java from PL/ SQL, and vice versa...
Ngày tải lên: 07/11/2013, 20:15
Teach Yourself PL/SQL in 21 Days- P2
... consider using SQLPlus Worksheet for the examples in this book SQLPlus Worksheet is completely compatible with SQL* Plus, and can be used for all the examples in this book The advantage that SQL* Plus ... blocks and one procedure definition The outermost block begins at line and ends on line 31 A nested anonymous block begins on line 14 and ends on line 21 Lines through define the name_print procedure ... chapter also explains the relationship between PL/ SQL, SQL, and SQL* Plus This should give you a good grasp of how PL/ SQL fits into the larger Oracle picture You wrote your first PL/ SQL stored function,...
Ngày tải lên: 07/11/2013, 20:15
Teach Yourself PL/SQL in 21 Days- P3
... block of PL/ SQL code to see actual output and the passing of parameters Enter and then execute the code in Listing 4.7 Using Functions, INPUT IF Statements, and Loops 111 LISTING 4.7 Passing Parameters ... following line sets the parameter p_emptype to the field definition of pay_type in the table employee: (p_emptype employee.pay_type%TYPE) Using TYPE% is a common method when referencing tables, and ... following segment includes some examples of the MODE statement: FUNCTION addemployee( p_hiredate _in IN DATE, p_employeeID_out OUT NUMBER, p_hourlyrate _in_ out IN OUT NUMBER, p_empname _in_ out IN OUT...
Ngày tải lên: 07/11/2013, 20:15
Tài liệu Teach Yourself PL/SQL in 21 Days- P4 pptx
... How about using this example as a PL/ SQL procedure and returning to the good old days of BC? Listing 6.9 shows another example of using TO_CHAR with converting and formatting dates INPUT 1: 2: ... for numbers in a column You will print an employee ID number with leading zeros and a total length of 10 characters Go ahead and try the PL/ SQL code in Listing 6.15 LISTING 6.15 Converting Numbers ... understand and learn competing vendor’s products and makes you a more valuable programmer Comparing SQL Functions and PL/ SQL Functions As with any database, you can use SQL within PL/ SQL to take advantage...
Ngày tải lên: 15/12/2013, 05:15
Tài liệu Teach Yourself PL/SQL in 21 Days- P5 doc
... prompt PUT_LINE The code in Listing 7.2 illustrates the PUT_LINE command line that you can include inside a procedure INPUT LISTING 7.2 The PUT_LINE Command Within a Procedure CREATE OR REPLACE PROCEDURE ... environment receives and handles the error For example, if SQL* Plus received an unhandled error from a PL/ SQL block, SQL* Plus handles this error by displaying the error code and message on the ... exception-handling portion of the program, and processing completes normally Handling errors also provides valuable information for debugging applications and for better bulletproofing the application...
Ngày tải lên: 15/12/2013, 05:15
Tài liệu Teach Yourself PL/SQL in 21 Days- P6 docx
... Declare and use index-by tables • Declare and use nested tables • Declare and use varrays 266 Day 10 Using PL/ SQL Index-by Tables Index-by tables are one of the three collection types supported by PL/ SQL ... Cursor processing • Defining and using cursor attributes What Is a Cursor? NEW TERM Oracle uses two kinds of cursors: implicit and explicit PL/ SQL implicitly declares a cursor for every SQL statement ... datatypes in the database Using SQL Q&A Q What happens if my SQL statement fails inside the PL/ SQL block? A The processing of your PL/ SQL block will terminate unless you have code in place to trap and...
Ngày tải lên: 15/12/2013, 05:15
Tài liệu Teach Yourself PL/SQL in 21 Days- P7 ppt
... Enforcing business rules • Maintaining referential integrity • Enforcing security • Maintaining a historical log of changes • Generating column values, including primary key values • Replication ... central point of control for maintaining the number of employees in a department, and they relieve you from having to program and test this logic several places in your application Maintaining History ... GUTTING SCALE PROCESSING Technical Writing UNLOADING BOTTLING BOTTLING BOTTLING BOTTLING BOTTLING DISTILLATION Employee Newsletters FERMENTATION GUTTING SCALE PROCESSING Technical Writing UNLOADING...
Ngày tải lên: 15/12/2013, 05:15
Tài liệu Teach Yourself PL/SQL in 21 Days- P8 pptx
... objects in the database INPUT/ OUTPUT LISTING 12.8 Inserting Some building Objects 1: INSERT INTO buildings 2: values (building(‘Victor Building’, 3: address(‘203 Washington Square’,’ ‘,’Lansing’, ... located in Lansing MI Headquarters Building is located in Detroit MI Victor Building is located in Lansing MI PL/ SQL procedure successfully completed In this example, a cursor is declared (lines ... of relating employees to buildings is to create a reference to the building object in each employee record The REF keyword is used to this, and Listing 12.13 shows how INPUT/ OUTPUT LISTING 12.13...
Ngày tải lên: 15/12/2013, 05:15
Tài liệu Teach Yourself PL/SQL in 21 Days- P9 doc
... operating as expected Debugging Your Code and Preventing Errors 391 Preventing Errors and Planning for Debugging in the Future If your code needs to be debugged in the future, you can plan ahead ... the system and identify problems before the application is placed in production I can’t stress enough how important it is to understand and plan for the application in the beginning: Doing so will ... FUNCTION COMPARE( Lob1 IN BFILE, Lob2 IN BFILE, Number_Bytes_to_Compare IN INTEGER, Origin_Lob1 IN INTEGER := 1, Origin_Lob2 IN INTEGER := 1) RETURN Compare_Result_Integer; In this syntax the parameters...
Ngày tải lên: 15/12/2013, 05:15
Tài liệu Teach Yourself PL/SQL in 21 Days- P10 docx
... WEEK In Review You have finished your second week of learning how to program in PL/ SQL The week started with learning about SQL, creating and using tables, and working with stored procedures and ... exception-handling routines to handle internal and userdefined PL/ SQL processing errors 10 On Day you learned how to manipulate data with PL/ SQL cursors Cursors are wonderful constructs in that ... DBMS _SQL. PARSE, as in line 21 After binding the appropriate variables in lines 24 and 25, the anonymous PL/ SQL block is executed in line 27 The SQL statement executed by the block uses a SELECT INTO...
Ngày tải lên: 15/12/2013, 05:15
Tài liệu Teach Yourself PL/SQL in 21 Days- P11 docx
... line SQL* Plus will pick this up and display it combined_names := ‘’; FOR inx1 IN lines_to_get LOOP IF inx1 > THEN combined_names := combined_names || ‘ and ‘; END IF; combined_names := combined_names ... declared in line The file is opened for write in line 5, and closed in line Opening and closing a file like this, without writing any data, results in an empty file being created Error handling is ... Shirley Tina PL/ SQL procedure successfully completed This PL/ SQL block writes one line into the buffer by using the PUT_LINE procedure (line 5) It then writes three more lines using a combination...
Ngày tải lên: 15/12/2013, 05:15
Tài liệu Teach Yourself PL/SQL in 21 Days- P12 doc
... method of invoking the function involves the use of the SQL* Plus CALL command The CALL command allows you to invoke a function directly from SQL* Plus, and to return the results in a SQL* Plus bind variable ... ship to Java, and stops writing PL/ SQL, then PL/ SQL will almost certainly die off If people continue to program in both environments, then both will continue to exist In any case, I think there’s ... both PL/ SQL and Java will continue to be supported, and that they will receive equal treatment PL/ SQL is more tightly integrated with SQL, and is the recommended choice for developing data-intensive...
Ngày tải lên: 15/12/2013, 05:15
Tài liệu OCP: Oracle8i DBA SQL and PL/SQL Study Guide docx
... Backup and recovery options Archiving redo log files and hot backups Backup and recovery using Recovery Manager (RMAN) Creating and managing standby database Identifing and tuning database and SQL ... Professional? xxi Understanding RDBMS concepts Writing queries and manipulating data Creating and managing users and database objects Knowledge of PL/ SQL programming and constructs Oracle Server ... OCP Database Administrator Tests and Passing Scores Total Questions Questions Correct Passing Score Introduction to Oracle: SQL and PL/ SQL 60 43 72% OCP: Oracle8i™ DBA SQL and PL/ SQL Study Guide...
Ngày tải lên: 21/12/2013, 06:17
Tài liệu controlling flow in PL / SQL pdf
... for clarity Controlling Flow in PL/ SQL Blocks 23Ć7 23Ć8 Introduction to Oracle: SQL and PL/ SQL Using Procedure Builder The IF Statement continued Simple IF Statements PL/ SQL executes the conditional ... when the loop is terminated Controlling Flow in PL/ SQL Blocks 23Ć25 23Ć26 Introduction to Oracle: SQL and PL/ SQL Using Procedure Builder Loop Statements continued Nested Loops and Labels You can ... v_flag := v_reorder_flag AND v_available_flag; Controlling Flow in PL/ SQL Blocks 23Ć15 23Ć16 Introduction to Oracle: SQL and PL/ SQL Using Procedure Builder Loop Statements PL/ SQL provides a number...
Ngày tải lên: 21/12/2013, 06:17
Tài liệu Teach Yourself PL/SQL in 21 Days- P13 ppt
... following meanings: • declarations refers to any PL/ SQL variable definitions that you need in your PL/ SQL block refers to the PL/ SQL code in the block that you are executing • code • exception_handlers ... And several that recognize it: • SQL* Plus • SQL* DBA • Server Manager What command tells SQL* Plus to display PL/ SQL output? SET SERVEROUTPUT ON Name at least two options for managing your PL/ SQL ... multiple_consumers IN BOOLEAN DEFAULT FALSE, message_grouping IN BINARY_INTEGER DEFAULT none, comment IN VARCHAR2 DEFAULT NULL, auto_commit IN BOOLEAN DEFAULT TRUE, primary_instance IN BINARY_INTEGER...
Ngày tải lên: 24/12/2013, 12:17
Tài liệu Using SQL *Plus to Create Report and Manage Pl/SQL code doc
... Reports and Manage PL/ SQL Code CĆ5 Entering Commands in SQL* Plus CĆ6 Introduction to Oracle: SQL and PL/ SQL Using Procedure Builder Entering Commands in SQL* Plus Once you log in to SQL* Plus, you ... Containing PL/ SQL Blocks You can include PL/ SQL blocks in files of SQL and SQL* Plus commands Create the file using the operating system editor SQL* Plus commands may not occur inside the PL/ SQL ... PL/ SQL Code CĆ23 SQL* Plus Commands CĆ24 Introduction to Oracle: SQL and PL/ SQL Using Procedure Builder Entering Commands in SQL* Plus SQL* Plus contains an array of commands to format reports and...
Ngày tải lên: 17/01/2014, 09:20
Bạn có muốn tìm thêm với từ khóa: