sql plus oracle apos s native interface

Tài liệu SQL Plus User’s Guide and Reference pptx

Tài liệu SQL Plus User’s Guide and Reference pptx

... What is SQL* Plus SQL* Plus Command-line and Windows GUI Architecture iSQL *Plus Architecture SQL* Plus Installation Who Can Use SQL* Plus How Can I Learn SQL* Plus How to Use the SQL* Plus Guide Oracle ... provides pointers to additional information New Features in SQL* Plus and iSQL *Plus 10.1 SQL* Plus Release 10.1 is a superset of SQL* Plus 9.2 This section describes new features introduced in SQL* Plus ... SQL* Plus Overview SQL* Plus User Interface Configuring SQL* Plus Starting SQL* Plus SQL* Plus Overview This chapter introduces you to some general aspects of SQL* Plus It has the following topics:...

Ngày tải lên: 17/01/2014, 06:20

552 4,2K 1
Tài liệu SQL*Plus User’s Guide and Reference ppt

Tài liệu SQL*Plus User’s Guide and Reference ppt

... Commands You can use SQL* Plus commands to manipulate SQL commands and PL /SQL blocks and to format and print query results SQL* Plus treats SQL* Plus commands differently than SQL commands or PL /SQL ... Release 8.1.5 Enhancements C SQL* Plus Limits D SQL Command List E Security F SQL* Plus Commands from Earlier Releases Glossary Index ix x Preface The SQL* Plus (pronounced "sequel plus" ) User s Guide ... SQL* Plus, covering the following topics: s Overview of SQL* Plus s Using this Guide s What You Need to Run SQL* Plus Introduction 1-1 Overview of SQL* Plus Overview of SQL* Plus You can use the SQL* Plus...

Ngày tải lên: 24/01/2014, 10:20

374 981 0
Mastering Oracle SQL and SQL*Plus pdf

Mastering Oracle SQL and SQL*Plus pdf

... will mainly use in this book iSQL *Plus is a special version of SQL* Plus that runs in a browser such as Mozilla or Microsoft Internet Explorer ■ Note Don’t confuse SQL with SQL* Plus SQL is a language, ... ANSI/ISO standard (SQL: 2003) as much as possible Only in cases of useful Oracle- specific SQL extensions I deviate from this international standard Therefore, most SQL examples given in this book ... (such as Java or C) This book deals solely with interactive SQL usage 25 26 CHAPTER ■ INTRODUCTION TO SQL, i SQL* PLUS, AND SQL* PLUS Although SQL is called a query language, its possibilities...

Ngày tải lên: 14/03/2014, 19:20

489 279 0
o'reilly - oracle sql plus pocket reference 2nd edition

o'reilly - oracle sql plus pocket reference 2nd edition

... delimit strings, and name variables 1.2.1 Starting SQL* Plus Invoke SQL* Plus by issuing the sqlplus command from your operating-system command prompt On Microsoft Windows systems, use either sqlplus ... the screen -H[ELP] Causes SQL* Plus to display a short summary of this syntax Prior to Oracle9 i, use sqlplus to get the help summary -V[ERSION] Causes SQL* Plus to display version and copyright information ... within quotes: sqlplus "sys/password as sysdba" /NOLOG Tells SQL* Plus to start without connecting to a database first scriptfile The name of a SQL* Plus script file SQL* Plus will start up and then...

Ngày tải lên: 25/03/2014, 10:51

56 337 0
Oracle SQL*Plus The Definitive Guide- P1 docx

Oracle SQL*Plus The Definitive Guide- P1 docx

... Interacting with SQL* Plus Starting SQL* Plus Some Basic SQL* Plus Commands Running SQL Queries Working with PL /SQL The SQL Buffer Line Editing Executing the Statement in the Buffer Saving and Retrieving ... previous page page_vii next page > Page vii Table of Contents Preface xi Introduction to SQL* Plus What Is SQL* Plus History of SQL* Plus Why Master SQL* Plus Creating and Loading the Sample Tables Interacting ... with SQL* Plus Connecting for Administrative Purposes Starting and Stopping a Database Looking at Your Database Database Backup and Recovery 11 Customizing Your SQL* Plus Environment SQL* Plus Settings...

Ngày tải lên: 05/07/2014, 04:20

10 323 0
Oracle SQL*Plus The Definitive Guide- P2 pptx

Oracle SQL*Plus The Definitive Guide- P2 pptx

... simple scripts using SQL* Plus How to prompt for user input and use that input in SQL commands, PL /SQL blocks, and SQL* Plus commands How to stretch the limits of what you can in a SQL* Plus script ... about what SQL* Plus really is and why you should master it It gives you a taste of the many different tasks SQL* Plus can be used for A short history of SQL* Plus is included, as well as a description ... that has worked very well for me Chapter 4, Writing SQL* Plus Scripts, explains the basic scripting capabilities of SQL* Plus Primarily, this chapter shows how SQL* Plus substitution variables work,...

Ngày tải lên: 05/07/2014, 04:20

10 471 0
Oracle SQL Plus The Definitive Guide- P3 ppsx

Oracle SQL Plus The Definitive Guide- P3 ppsx

... previous page page_1 next page > Page 1 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 ... results to SQL* Plus, and SQL* Plus displays those results in a format you can understand History of SQL* Plus SQL* Plus has been around for a long time, pretty much since the beginning of Oracle In ... very useful for automating some routine DBA tasks I have several SQL* Plus scripts (a script is a file of SQL statements and SQL* Plus commands) that produce reports on users and the database and...

Ngày tải lên: 05/07/2014, 04:20

10 580 0
Oracle SQL Plus The Definitive Guide- P4 pot

Oracle SQL Plus The Definitive Guide- P4 pot

... prompt in the same way Once logged in, you should see a screen similar to that shown in Figure 14 Figure 14 SQL* Plus after a successful login The opening screen shows the SQL* Plus version, some copyright ... Figure 17 shows the progress messages being displayed on the screen while all this is occurring Figure 17 Progress messages from the BLD_DB script The entire load process should take less than a ... BLD_DB.EXE instead BLD_DB.EXE is a selfextracting ZIP file Just run it, the scripts will be extracted, and you won't need a separate unzip utility Step 2: Start SQL* Plus When you first start SQL* Plus in...

Ngày tải lên: 05/07/2014, 04:20

10 300 0
Oracle SQL Plus The Definitive Guide- P5 pptx

Oracle SQL Plus The Definitive Guide- P5 pptx

... have as many as your script requires Arguments are separated from each other by at least one space - Causes SQL* Plus to display a short summary of the SQLPLUS syntax -? Causes SQL* Plus to display ... PLUS8 0 or PLUS8 0W Beginning with release 8.1, the command under Windows or from a DOS prompt will always be SQLPLUS -S[ ILENT] Tells SQL* Plus to run in silent mode No startup messages, such as ... [@scriptfile [arg1 arg2 arg3 ]]]¦-¦-? where: SQLPLUS Is the command to use when invoking SQL* Plus On a Unix system, this will be lowercase sqlplus From Windows or MS-DOS, you may need to use PLUS8 0...

Ngày tải lên: 05/07/2014, 04:20

10 383 0
Oracle SQL Plus The Definitive Guide- P6 pptx

Oracle SQL Plus The Definitive Guide- P6 pptx

... database using operating system authentication AS Tells SQL* Plus that you are connecting in an administrative role SYSOPER Tells SQL* Plus that you are connecting as an operator SYSDBA Tells SQL* Plus ... previous page page_28 next page > Page 28 Help The HELP command is used to get help on SQL statements, SQL* Plus commands, and PL /SQL commands SQL* Plus 8.1, released with Oracle8 i, provides help ... here is that the password characters will be echoed to the screen as asterisks For example: SQL> CONNECT system@oak Enter password:******* Connected In at least one version of SQL* Plus version...

Ngày tải lên: 05/07/2014, 04:20

10 345 0
Oracle SQL Plus The Definitive Guide- P7 ppsx

Oracle SQL Plus The Definitive Guide- P7 ppsx

... the time SQL* Plus was first conceived The line-editing process in SQL* Plus follows these steps: You enter a SQL statement or PL /SQL block, which SQL* Plus stores in the buffer You then list the ... query SQL* Plus buffers SQL statements and PL /SQL blocks, but not SQL* Plus commands For example, the DESCRIBE command would not be buffered, but a SELECT statement would be To help make the distinction, ... Customizing Your SQL* Plus Environment, under the section titled The SET Command Rules for entering PL /SQL blocks When you begin entering a PL /SQL block, SQL* Plus switches to what is called PL /SQL mode...

Ngày tải lên: 05/07/2014, 04:20

10 338 0
Oracle SQL Plus The Definitive Guide- P8 pptx

Oracle SQL Plus The Definitive Guide- P8 pptx

... debugging SQL statements (or PL /SQL blocks), don't get too up on where Oracle thinks the error is When SQL* Plus displays an error line with an asterisk under it, that asterisk is pointing to where Oracle ... 4, with its HAVING clause, is completely spurious It can be erased by using the DEL command as follows: SQL> DEL SQL> L * 4* AND time_log.project_num = project.project_num SQL* Plus doesn't echo ... or sending the query results to a file, and wish to have a copy of the SQL statement included for future reference If Your Statement Has an Error If a SQL statement fails to execute, SQL* Plus...

Ngày tải lên: 05/07/2014, 04:20

10 386 0
Oracle SQL Plus The Definitive Guide- P9 pptx

Oracle SQL Plus The Definitive Guide- P9 pptx

... keyboard A script file can contain any combination of valid SQL* Plus commands, SQL statements, or PL /SQL blocks The START command is used to execute a script Here is the syntax to use: START filename ... previous example, SQL* Plus has executed all three DESCRIBE commands contained in the DESCRIBE_ALL SQL file The output of each command is sent to the screen, but by default SQL* Plus does not echo ... executable sits This is the default setting used when installing Oracle on any version of Windows The implication is that whenever you run SQL* Plus under Windows and use the SAVE command without specifying...

Ngày tải lên: 05/07/2014, 04:20

10 393 0
Oracle SQL Plus The Definitive Guide- P11 pot

Oracle SQL Plus The Definitive Guide- P11 pot

... lines will fit on a page using the new font size Setting the pagesize You set the pagesize with the SQL* Plus command SET PAGESIZE as follows: SET PAGESIZE 55 This tells SQL* Plus to print 55 lines ... automatically by SQL* Plus, that you can use in report headers and footers These are shown in Table 3-1 Table 3-1 SQL* Plus System Variables System Variable Value SQL. PNO The current page number SQL. LNO ... paper size being used, and the font size being used Since SQL* Plus is entirely character-oriented, these settings are defined in terms of lines The first question to ask, then, is how many lines...

Ngày tải lên: 05/07/2014, 04:20

10 346 0
Oracle SQL Plus The Definitive Guide- P12 docx

Oracle SQL Plus The Definitive Guide- P12 docx

... break setting column_name Specifies a report column to watch When the value in the column changes, SQL* Plus skips lines or pages as specified SQL* Plus also inhibits repeating, or duplicate, values ... the SKIP parameter will work You can skip lines on a report break SKI[P] lines_to_skip Tells SQL* Plus to skip the specified number of lines when a break occurs SKIP may be abbreviated to SKI SKI[P]PAGE ... data as part of a page header or footerjust what we are going to here Chapter 4, Writing SQL* Plus Scripts, talks about using these variables to facilitate user interaction with your SQL* Plus scripts...

Ngày tải lên: 05/07/2014, 04:20

10 302 0
Oracle SQL Plus The Definitive Guide- P13 pps

Oracle SQL Plus The Definitive Guide- P13 pps

... a SQL* Plus session A COMPUTE setting issued for one report may stick around to affect the printing of subsequent reports SQL* Plus provides the CLEAR COMPUTES command to help you deal with this ... expect, SQL* Plus bases the first column on the SELECT statement, not on what is actually printed When this report was converted to a master/ detail report, printing of the first two columns was suppressed ... COMPUTES causes SQL* Plus to erase all computations so you can start over If you are using COMPUTE in a report script, you may want to include a CLEAR COMPUTES command to avoid any possible contamination...

Ngày tải lên: 05/07/2014, 04:20

10 342 0
Oracle SQL Plus The Definitive Guide- P14 pptx

Oracle SQL Plus The Definitive Guide- P14 pptx

... attributes as another attribute ON Causes SQL* Plus to print the attribute using the format you have specified This is the default behavior You don't need to use ON unless you have previously used ... This is some rather messy-looking output You can tidy it up a bit by formatting the two columns so that both fit on one line Note that as far as SQL* Plus is concerned, there are only two columns: ... will see that two commands were used instead of just one The first command defined an alias for the attribute An alias is simply another name you can use in subsequent ATTRIBUTE commands to save...

Ngày tải lên: 05/07/2014, 04:20

10 307 0
Oracle SQL Plus The Definitive Guide- P15 pps

Oracle SQL Plus The Definitive Guide- P15 pps

... 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 Single-Ampersand ... Associates, 1998 Using Substitution Variables Substitution variables allow you to write generic SQL* Plus scripts They allow you to mark places in a script where you want to substitute values ... commands: Setup pagesize parameters SET NEWPAGE SET PAGESIZE 55 Set the linesize, which must match the number of equal signs used for the ruling lines in the headers and footers SET LINESIZE...

Ngày tải lên: 05/07/2014, 04:20

10 331 0
Oracle SQL Plus The Definitive Guide- P16 potx

Oracle SQL Plus The Definitive Guide- P16 potx

... must precede the SELECT statement that generates the report, so terminal output is off by the time SQL* Plus reads the line containing the substitution variable SQL* Plus does not handle this situation ... between using a double ampersand rather than a single ampersand is that when a double ampersand is used, SQL* Plus will save the value All subsequent references to the same variable use that same ... your script is going to accomplish There are several potential problems that arise when you simply place substitution variables in your scripts and rely on SQL* Plus' s default prompting mechanisms...

Ngày tải lên: 05/07/2014, 04:20

10 320 0
Oracle SQL Plus The Definitive Guide- P17 pps

Oracle SQL Plus The Definitive Guide- P17 pps

... Here 's how that would look: SQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL> set echo on @C:\jonathan \sql_ plus_ book\xe_ch_5\list_indexes_H SET HEADING OFF SET RECSEP OFF SET NEWPAGE SET FEEDBACK OFF SET ... almost always sqlplus Note that the above command does not include a password It 's always best to avoid hardcoding passwords in script files In this case, SQL* Plus will prompt you for a password when ... Commands to Start SQL* Plus and Execute a Script Command Result PLUS8 0W username/password@connect @hours_dollars_d Username and password embedded in the command; user not prompted PLUS8 0W username@connect...

Ngày tải lên: 05/07/2014, 04:20

10 317 0
w