Oracle SQL Plus The Definitive Guide- P15 pps
... variables are the workhorse of SQL* Plus scripts. They give you a place to store user input, and they give you a way to use that input in SQL queries, PL/ SQL code blocks, and other SQL* Plus commands. Using ... of the report will be grouped together because they will all have the same constant. Second, the value of the sort column controls the order in which the sect...
Ngày tải lên: 05/07/2014, 04:20
... Introduction to SQL* Plus In this chapter: What Is SQL* Plus? History of SQL* Plus Why Master SQL* Plus? Creating and Loading the Sample Tables SQL* Plus is the command-line interface to the Oracle database. ... PL /SQL and the Oracle Database. SQL* Plus is often used in conjunction with two other products, both of which have the letters SQL in their name...
Ngày tải lên: 05/07/2014, 04:20
... reflects the environment at the time SQL* Plus was first conceived. The line-editing process in SQL* Plus follows these steps: 1. You enter a SQL statement or PL /SQL block, which SQL* Plus stores in the ... 40 The SQL Buffer SQL* Plus keeps a copy of the most recently entered SQL statement or PL /SQL block in an internal memory area known as the SQL buffe...
Ngày tải lên: 05/07/2014, 04:20
Oracle SQL Plus The Definitive Guide- P13 pps
... in the column specified in the ON clause. In cases like this where there is no ON column, SQL* Plus will place the labels in the first column of the report. The next thing to do is to modify the ... that the label Totals appears in the project_id column. SQL* Plus always places the label you specify into the ON column of the COMPUTE command. The label will b...
Ngày tải lên: 05/07/2014, 04:20
Oracle SQL Plus The Definitive Guide- P17 pps
... for the case where you can hardcode the Oracle username in the shortcut, and for the case where you can't. Starting the SQL* Plus executable The Windows version of Oracle contains two SQL* Plus ... version 8.1, Oracle has changed the naming convention used for the Windows and command-line implementations of SQL* Plus. SQLPLUS.EXE runs the command-line v...
Ngày tải lên: 05/07/2014, 04:20
Oracle SQL Plus The Definitive Guide- P20 ppsx
... of the above as one long SQL* Loader command. The keywords LOAD DATA tell SQL* Loader to load data, and the rest of the command tells SQL* Loader where to get the data and how it is formatted. The ... Tells SQL* Loader to read data from the file named emp_data.csv in the c:\a directory. INTO TABLE employee Tells SQL* Loader to insert the data into the employee tabl...
Ngày tải lên: 05/07/2014, 04:20
Oracle SQL Plus The Definitive Guide- P28 ppsx
... format definitions for columns not used in the final query are ignored by SQL8 Plus. Also note that the PL /SQL code does return a query even for the case where the user's input is invalid; this ... error message from the DUAL table. Here is the output from running this script, first showing the results of an invalid input, then showing the output from one of the...
Ngày tải lên: 05/07/2014, 04:20
Oracle SQL Plus The Definitive Guide- P37 pps
... use the OPEN keyword. Otherwise, the database is just mounted, but not opened. There are other options that may be used with the STARTUP command. These are described fully in Appendix A, SQL* Plus ... special form of the CONNECT command, as shown in the following example: C:\>SQLPLUS /NOLOG SQL* Plus: Release 8.1.3.0.0 - Beta on Tue Oct 20 18:46:21 1998 (c) Copyright 1...
Ngày tải lên: 05/07/2014, 04:20
Oracle SQL Plus The Definitive Guide- P38 ppsx
... issuing the following command from SQL* Plus: SHOW PARAMETERS control_files The initialization file is the one used with the PFILE parameter on the STARTUP command. You should know where this is. Oracle ... reapply transactions to the data files, bringing them up to date so they are consistent with one another and reflect the results of the last successful transaction...
Ngày tải lên: 05/07/2014, 04:20
Oracle SQL Plus The Definitive Guide- P50 pps
... 457 APP[END] Appends the contents of the buffer to the file. SAVE, and all the other editing commands, are described in Chapter 2. Set The SET command is used to change the value of the many internal ... This option is not available in the Windows versions of SQL* Plus. Start The START command functions the same way as the @ command, and is used to execute a SQL* P...
Ngày tải lên: 05/07/2014, 04:20