Tài liệu SYSTEM ROLE IN ORACLE DEMO pdf

Tài liệu SYSTEM ROLE IN ORACLE DEMO pdf

Ngày tải lên : 17/02/2014, 01:20
... LOGO www.themegallery.com Click to edit subtitle style LOGO www.themegallery.com SYSTEM ROLE IN ORACLE DEMO LOGO EXECUTE_CATALOG_ROLE  Package: DBMS_LOCK  Produres and functions:  procedure ... 'COMPLETED‘; www.themegallery.com LOGO EXP_FULL_DATABASE connect test0/p123; create table A( id varchar2(10) ); insert into A values ('abc'); connect test2/p123; create table B( id varchar2(10) ); www.themegallery.com ... allocate_unique(…);  function request(…);  function convert(…);  function release(…);  procedure sleep( seconds in number); www.themegallery.com LOGO EXECUTE_CATALOG_ROLE connect test1/p123; exec DBMS_LOCK.sleep(50); www.themegallery.com ...
21 383 1
Tài liệu Oracle Developer Built-in Package Reference pdf

Tài liệu Oracle Developer Built-in Package Reference pdf

Ngày tải lên : 21/12/2013, 06:16
... Developer, Express, Oracle Browser, Oracle Forms, Oracle Graphics, Oracle Installer, Oracle Reports, Oracle7 , Oracle8 , Oracle Web Application Server, Personal Oracle, Personal Oracle Lite, and PL/SQL ... >END; Debug.Interpret Description Executes the PL/SQL statement or Procedure Builder Interpreter command string contained in input as if it had been typed into the Interpreter. Syntax PROCEDURE Debug.Interpret ... Oracle Developer Built -in Packages Reference . This reference guide includes information to help you effectively work with Oracle Developer and contains detailed information about its built-in...
134 489 1
Tài liệu Backup and Restore in Oracle pdf

Tài liệu Backup and Restore in Oracle pdf

Ngày tải lên : 17/02/2014, 14:20
... Lý Oracle Database Company Logo www.themegallery.com CẤU TRÚC BACKUP VỚI RMAN  Cấu Trúc Lệnh RMAN : BACKUP [ ( (FULL | INCREMENTAL LEVEL [=] integer) | [ (FULL | INCREMENTAL LEVEL [=] integer) ... Backup ( Offline Backup ) Hot Backup ( Online Backup ) Company Logo www.themegallery.com TỔNG QUAN VỀ ORACLE DATABASE Cấu Trúc Vật Lý Cấu Trúc Luận Lý Khái Niệm Chế Độ Log trong Oracle Database ... database. Company Logo www.themegallery.com INCREMENTAL BACKUP  Ví Dụ :  Để thực thi một incremental backup tại level 0,ta sử dụng lệnh sau BACKUP INCREMENTAL LEVEL 0 DATABASE;  Để thực...
57 2.8K 83
Tài liệu IMPORT & EXPORT IN ORACLE pdf

Tài liệu IMPORT & EXPORT IN ORACLE pdf

Ngày tải lên : 17/02/2014, 14:20
... Code Export terminated successfully without warnings Import terminated successfully without warnings EX_SUCC Export terminated successfully with warnings Import terminated successfully with warnings EX_OKWARN Export ... Yes Application contexts No No Yes No Auditing information Yes Yes Yes No B-tree, bitmap, domain function- based indexes Yes Foot 1 Yes Yes Yes Cluster definitions No Yes Yes Yes Column and table ... links CREATE DATABASE LINK (System) and CREATE SESSION (System) on remote database Triggers on tables CREATE TRIGGER (System) Triggers on schemas CREATE ANY TRIGGER (System) Indexes CREATE INDEX...
32 1.1K 12
Oracle Built−in Packages- P5 pdf

Oracle Built−in Packages- P5 pdf

Ngày tải lên : 07/07/2014, 00:20
... functionality to maintain snapshots, snapshot groups, and snapshot logs. This includes refreshing snapshots, changing refresh intervals, adding and removing snapshots from snapshot groups, and purging uneccessary ... pool memory, monitoring internal space utilization in segments, and executing PL/SQL procedures automatically in background processes. Chapter 11, Managing Session Information Oracle technologies ... This can be invaluable when tracking down difficult application performance or database issues. Chapter 12, Managing Server Resources With the built in packages, Oracle is exposing information...
5 365 1
Oracle Built−in Packages- P10 pdf

Oracle Built−in Packages- P10 pdf

Ngày tải lên : 07/07/2014, 00:20
... running Oracle 7.3, you will find the source code files in /this directory/: $ORACLE_ HOME/rdbms73/admin If you are working in Windows NT, these files are located in, C:\OraNT\RdbmsNN\admin where ... installation. Where do you find all of this interesting code? If you are working in a UNIX environment, the files that define the built in packages may be found in, $ORACLE_ HOME/rdbmsNN/admin where NN is ... $ORACLE_ HOME environment variable containing the Oracle version information. If you are working with VAX/VMS, the software directory tree structure often looks like this: [ORACLE7 33.RDBMS.ADMIN] [ORACLE8 03.RDBMS.ADMIN] Note...
5 311 0
Oracle Built−in Packages- P16 pdf

Oracle Built−in Packages- P16 pdf

Ngày tải lên : 07/07/2014, 00:20
... (c IN INTEGER, position IN INTEGER, value OUT <datatype>, [, column_error OUT NUMBER] [, actual_length OUT INTEGER ]); The COLUMN_VALUE parameters are summarized in the following ... of one if not using array processing in PL/SQL8). Here's the specification for the function, FUNCTION DBMS_SQL.FETCH_ROWS (c IN INTEGER) RETURN INTEGER; where c is the pointer to the cursor. ... COLUMN_VALUE procedure to obtain the values of individual columns in the fetched row of a SELECT. Use the COLUMN_VALUE_LONG procedure to obtain the values of a LONG column in the fetched row of a SELECT....
5 234 0
Oracle Built−in Packages- P18 pdf

Oracle Built−in Packages- P18 pdf

Ngày tải lên : 07/07/2014, 00:20
... if I have the following procedure defined: CREATE OR REPLACE PROCEDURE testdyn (in1 IN NUMBER, in2 IN DATE, out1 OUT NUMBER) IS BEGIN out1 := in1 + TO_NUMBER (TO_CHAR (in2 , 'YYYY')); END; / Then ... FETCH_ROWS in order to obtain meaningful results. You will most likely use this function when fetching from within a loop: CREATE OR REPLACE PROCEDURE show_n_emps (lim IN INTEGER) IS cur PLS_INTEGER ... value can come in handy: /* Filename on companion disk: file errpos.sql */* DECLARE cur BINARY_INTEGER := DBMS_SQL.OPEN_CURSOR; errpos BINARY_INTEGER; fdbk BINARY_INTEGER; BEGIN DBMS_SQL.PARSE...
5 322 1
Oracle Built−in Packages- P28 pdf

Oracle Built−in Packages- P28 pdf

Ngày tải lên : 07/07/2014, 00:20
... PROCEDURE rows (numrows _in IN INTEGER, where_clause _in IN VARCHAR2 := NULL, append_rows _in IN BOOLEAN := FALSE); [Appendix A] What's on the Companion Disk? 2.5.6 Array Processing with DBMS_SQL ... available in client environments where index−by tables and other Oracle8 features are not available directly. First, the basics of querying into arrays: you must use the DEFINE_ARRAY procedure to define ... v_line VARCHAR2(2000); v_space PLS_INTEGER; BEGIN /* Load the index−by tables from the file. */ fid := UTL_FILE.FOPEN (loc, file, 'R'); BEGIN LOOP UTL_FILE.GET_LINE (fid, v_line); ...
5 198 0
Oracle Built−in Packages- P32 pdf

Oracle Built−in Packages- P32 pdf

Ngày tải lên : 07/07/2014, 00:20
... pack_send_friend (friend_rec _IN IN friend_rectype ,pipename _IN IN VARCHAR2) IS call_status INTEGER; BEGIN /* ||notice the PACK_MESSAGE overloading */ DBMS_PIPE.PACK_MESSAGE(friend_rec _IN. name); DBMS_PIPE.PACK_MESSAGE(friend_rec _IN. birthdate); ... Disk? 3.1.4 Packing and Unpacking Messages 149 Exception handlers of programs using UNPACK_MESSAGE procedures ã At the beginning of programs designed to pack specific messages into the buffer using PACK_MESSAGE ... following restrictions on calling PURGE: ã Pipenames are limited to 128 bytes in length, are case−insensitive, and cannot contain NLS characters. ã Pipenames must not begin with "ORA$",...
5 282 0
Oracle Built−in Packages- P36 pdf

Oracle Built−in Packages- P36 pdf

Ngày tải lên : 07/07/2014, 00:20
... (pipename _IN IN VARCHAR2 ,timeout_secs _IN IN INTEGER := 60 ,replace_message_TF IN BOOLEAN := TRUE); /* || encapsulates DBMS_PIPE.CREATE_PIPE and returns || FALSE if ORA−23322 is raised, indicating ... "packing" message items into a buffer suggested that perhaps the items were also being compressed somehow. If this were true, then message items containing strings of repeating characters ... only after exploring the first question about unpacking a packed buffer before sending. I wondered whether packing and unpacking messages could happen independently of each other in the message...
5 209 0
Oracle Built−in Packages- P64 pdf

Oracle Built−in Packages- P64 pdf

Ngày tải lên : 07/07/2014, 00:20
... Disk? 5.7.5 Searching by Correlation Identifier 307 Here is the make_payment procedure: PROCEDURE make_payment (customer _in IN VARCHAR2, animal _in IN VARCHAR2, payment _in IN NUMBER) IS queueopts ... certain amount of time has passed. These features come in handy when messages in your queue have a "window of applicability" (in other words, when there is a specific period of time in ... layaway_obj.balance − payment _in; ELSE /* Construct new object for enqueue, setting up initial balance. */ layaway_obj := layaway_t (animal _in, customer _in, 49.95 − payment _in) ; END IF; /* Don't...
5 299 0
Oracle Built−in Packages- P70 pdf

Oracle Built−in Packages- P70 pdf

Ngày tải lên : 07/07/2014, 00:20
... operating system. ã Do not enclose the directory names within single or double quotes. ã In the UNIX environment, a file created by FOPEN has as its owner the shadow process running the Oracle instance. ... accessible directory in the INIT.ORA file for the database instance. The INIT.ORA location is a valid directory or area specification, as shown in these examples: ã In Windows NT: 'k:\common\debug' ã ... that in case−sensitive operating systems, the case of the location specification in the initialization file must match that used in the call to UTL_FILE.FOPEN. Here are some examples: ã In Windows...
5 192 0
Oracle Built−in Packages- P72 pdf

Oracle Built−in Packages- P72 pdf

Ngày tải lên : 07/07/2014, 00:20
... PUT procedure information), you might bundle two calls to UTL_FILE modules together, as follows: PROCEDURE add_line (file _in IN UTL_FILE.FILE_TYPE, line _in IN VARCHAR2) IS BEGIN UTL_FILE.PUT (file _in, line _in) ; ... UTL_FILE.PUT (file _in, line _in) ; UTL_FILE.NEW_LINE (file _in) ; END; By using add_line instead of PUT, you will not have to worry about remembering to call NEW_LINE to finish off the line. Of course, you ... UTL_FILE.FILE_TYPE, lines IN NATURAL := 1); Parameters are summarized in the following table. Parameter Description file The file handle returned by a call to FOPEN lines Number of lines to be inserted into...
5 258 0
Oracle Built−in Packages- P86 pdf

Oracle Built−in Packages- P86 pdf

Ngày tải lên : 07/07/2014, 00:20
... type, are the following: PROCEDURE DBMS_LOB.READ (lob_loc IN BLOB | BFILE, amount IN OUT BINARY_INTEGER, offset IN INTEGER, buffer OUT RAW); PROCEDURE DBMS_LOB.READ (lob_loc IN CLOB CHARACTER ... the length (in bytes or characters) of the input LOB, or it returns NULL if the input LOB is NULL or invalid. [Appendix A] What's on the Companion Disk? 8.3.2 Reading and Examining LOBs 417 ... DBMS_LOB.GETLENGTH (lob_loc IN BLOB) RETURN INTEGER; FUNCTION DBMS_LOB.GETLENGTH (lob_loc IN CLOB CHARACTER SET ANY_CS) RETURN INTEGER; FUNCTION DBMS_LOB.GETLENGTH (lob_loc IN BFILE) RETURN INTEGER; The lob_loc...
5 250 0

Xem thêm