Oracle SQL Plus The Definitive Guide- P49 doc
... specify SQL. SQLCODE here, to return the status of the most recently executed SQL statement. :bind_variable Returns the value of the specified bind variable as the status. COMMIT Causes SQL* Plus ... recognizes. LI[ST] Causes SQL* Plus to display the buffer after loading the file. This is the default. NOL[IST] Causes SQL* Plus to load the file without displa...
Ngày tải lên: 05/07/2014, 04:20
... Introduction to SQL* Plus 1 What Is SQL* Plus 1 History of SQL* Plus 6 Why Master SQL* Plus 8 Creating and Loading the Sample Tables 9 2. Interacting with SQL* Plus 18 Starting SQL* Plus 18 Some Basic SQL* Plus ... Edition. ORACLE, Oracle, Oracle Enterprise Manager, Oracle Personal Edition, Oracle Procedure Builder, Oracle Server, Oracle Server Manager, Ora...
Ngày tải lên: 05/07/2014, 04:20
... and use them. The NOPRINT clause is used to tell SQL* Plus not to include the employee name and ID columns in the report detail. Modify the page heading to print the employee name and ID The next ... Issuing the BREAK command with no parameters causes SQL* Plus to display the current break setting. column_name Specifies a report column to watch. When the value in t...
Ngày tải lên: 05/07/2014, 04:20
Oracle SQL Plus The Definitive Guide- P18 doc
... example: DEFINE sql_ type = PL/ PROMPT & ;sql_ typeSQL The intent is to have SQL* Plus print the text PL /SQL, but SQL* Plus won't substitute PL/ in place of & ;sql_ type. Instead, it will interpret the ... & ;sql_ typeSQL as a variable. You can get around this problem by using the SQL* Plus concatenation character. The period is the default concatenatio...
Ngày tải lên: 05/07/2014, 04:20
Oracle SQL Plus The Definitive Guide- P23 doc
... have to be. TABLE_NAME The name of the table on which the trigger is defined. COLUMN_NAME The name of a column in the table that is used within the trigger, either within the trigger's specification, ... users. SYNONYM_NAME The name of the synonym. TABLE_OWNER The name of the table's owner. TABLE_NAME The table name to which the synonym points. DB_LINK If...
Ngày tải lên: 05/07/2014, 04:20
Oracle SQL Plus The Definitive Guide- P24A docx
... another in the parent table. The trick with foreign key constraints is to first find the name of the parent table, then find the names of the columns in the parent table that correspond to the ... specified, the table name follows the period. Otherwise, the entire string is taken as the table name. The table name and owner name are selected from the DUAL table in o...
Ngày tải lên: 05/07/2014, 04:20
Oracle SQL Plus The Definitive Guide- P24B docx
... ways. The SHOW_INDEX .SQL script Shown below is a SQL* Plus script that describes just one index. The first part of the script resembles the other scripts shown in this chapter. It looks at the ... > Page 210 List the columns that make up the index. The indent column moves the column list over to the right so that it comes after the CONTAINING COLUMNS: por...
Ngày tải lên: 05/07/2014, 04:20
Oracle SQL Plus The Definitive Guide- P27 docx
... the caller. To call these routines from within a SQL* Plus script and display the results to the person running the script, you need to use bind variables. Consider the problem of writing a SQL* Plus ... default, SQL* Plus will begin printing with the first character. A LOBOFFSET of 80, for example, skips the first 79 characters of the string. By default, SQL*...
Ngày tải lên: 05/07/2014, 04:20
Oracle SQL Plus The Definitive Guide- P29 doc
... writing SQL* Plus scripts, either. You can use SQL* Plus to generate shell script files, SQL* PLoader files, DOS batch files, or any other type of text file. Using PL /SQL Always consider the possibility ... > Page 253 The reports menu could not possibly be implemented in Pl /SQL because the menu needs to run another SQL* Plus script corresponding to the user's...
Ngày tải lên: 05/07/2014, 04:20
Oracle SQL Plus The Definitive Guide- P30 doc
... internally. The call to DBMS _SQL. OPEN_CURSOR should go outside the loop. You can use the same cursor for multiple SQL statements, so you only need to allocate it once. The next step is to create the SQL ... part of the filename to run next. If the input is no good, the next script file will simply display an error message and quit. The second thing to do is write th...
Ngày tải lên: 05/07/2014, 04:20