0

features of oracle sql plus

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

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

An ninh - Bảo mật

... 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 ... Section 1.10. Tuning SQL Section 1.11. SQL* Plus Format Elements 1.1 Introduction The Oracle SQL* Plus Pocket Reference is a quick-reference guide to SQL* Plus and to commonly used SQL query and data ... 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...
  • 56
  • 337
  • 0
Oracle SQL*Plus The Definitive Guide- P1 docx

Oracle SQL*Plus The Definitive Guide- P1 docx

Cơ sở dữ liệu

... Edition. ORACLE, Oracle, Oracle Enterprise Manager, Oracle Personal Edition, Oracle Procedure Builder, Oracle Server, Oracle Server Manager, Oracle Version 6, Oracle7 , Oracle8 , Oracle 8i, Net8, SQL* Loader, ... viiTable of ContentsPreface xi1. Introduction to SQL* Plus 1What Is SQL* Plus 1History of SQL* Plus 6Why Master SQL* Plus 8Creating and Loading the Sample Tables92. Interacting with SQL* Plus ... SQL* Loader, SQL* Net, and SQL* Plus are trademarks of Oracle Corporation.PowerBuilder is a trademark of PowerSoft. SQL Station is a trademark of Platinum Technology.Clear Access is a trademark of Sterling...
  • 10
  • 323
  • 0
Oracle SQL*Plus The Definitive Guide- P2 pptx

Oracle SQL*Plus The Definitive Guide- P2 pptx

Cơ sở dữ liệu

... manual for SQL* Plus is no exception. Oracle& apos;s manual will tell you about SQL* Plus, but only about SQL* Plus. There is little information on how to use SQL* Plus in conjunction with other Oracle ... to SQL* Plus, goes into more detail 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 ... the SQL* Plus environment, with and without an external editorHow to write simple scripts using SQL* Plus How to prompt for user input and use that input in SQL commands, PL /SQL blocks, and SQL* Plus...
  • 10
  • 471
  • 0
Oracle SQL Plus The Definitive Guide- P3 ppsx

Oracle SQL Plus The Definitive Guide- P3 ppsx

Cơ sở dữ liệu

... 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. ... is Oracle& apos;s PL /SQL procedural language. Table 1-1 gives a short summary of each of these three products.Table 1-1. The Three SQLs: SQL, PL /SQL, and SQL* Plus Product Description SQL SQL, ... covering each of the above topics in detail. A lot can be accomplished with SQL* Plus. This book will show you how. SQL* Plus& apos;s Relation to SQL, PL /SQL and the Oracle Database. SQL* Plus is often used...
  • 10
  • 580
  • 0
Oracle SQL Plus The Definitive Guide- P4 pot

Oracle SQL Plus The Definitive Guide- P4 pot

Cơ sở dữ liệu

... new to SQL* Plus and are completely uncertain how to start it in your particular environment, you should first read the section titled Starting SQL* Plus in Chapter 2, Interacting with SQL* Plus. ... won't need a separate unzip utility.Step 2: Start SQL* Plus When you first start SQL* Plus in a Windows environment, you will see a SQL* Plus window open. You will also immediately be prompted ... that shown in Figure 14.Figure 14. SQL* Plus after a successful loginThe opening screen shows the SQL* Plus version, some copyright information, and some Oracle database version information....
  • 10
  • 300
  • 0
Oracle SQL Plus The Definitive Guide- P5 pptx

Oracle SQL Plus The Definitive Guide- P5 pptx

Cơ sở dữ liệu

... page >Page 182 Interacting with SQL* Plus. In this chapter:Starting SQL* Plus Some Basic SQL* Plus Commands Running SQL Queries Working with PL /SQL The SQL Buffer Line Editing Executing ... the SQLPLUS command is as follows:SQLPLUS [[-SILENT] [username[/password][@connect] ¦/¦/NOLOG] [@scriptfile [arg1 arg2 arg3 ]]]¦-¦-?where:SQLPLUS Is the command to use when invoking SQL* Plus. ... you the rudiments of interacting with SQL* Plus. The first part of this chapter shows how to start SQL* Plus and connect to a database. You will then read about a few basic SQL* Plus commands you...
  • 10
  • 383
  • 0
Oracle SQL Plus The Definitive Guide- P6 pptx

Oracle SQL Plus The Definitive Guide- P6 pptx

Cơ sở dữ liệu

... help on SQL statements, SQL* Plus commands, and PL /SQL commands. SQL* Plus 8.1, released with Oracle8 i, provides help only on SQL* Plus commands. This is because there wasn't time for Oracle ... Windows versions of SQL* Plus. If you are running in a Windows 95 or NT environment, you will need to refer to the appropriate Oracle manuals for information on SQL* Plus, SQL, and PL /SQL commands. ... help text to cover all the new functionality in SQL and PL /SQL in time for the 8i release. Subsequent versions of SQL* Plus should reenable SQL and PL /SQL help.The syntax for HELP is:HELP [topic]where:Help...
  • 10
  • 345
  • 0
Oracle SQL Plus The Definitive Guide- P7 ppsx

Oracle SQL Plus The Definitive Guide- P7 ppsx

Cơ sở dữ liệu

... next page >Page 40The 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 buffer, often referred to simply ... SQL statement or PL /SQL block, which SQL* Plus stores in the buffer.2. You then list the contents of the buffer to the screen.3. You enter SQL* Plus commands that tell SQL* Plus to make changes ... Customizing Your SQL* Plus Environment, under the section titled The SET Command.Rules for entering PL /SQL blocksWhen you begin entering a PL /SQL block, SQL* Plus switches to what is called PL /SQL mode....
  • 10
  • 338
  • 0
Oracle SQL Plus The Definitive Guide- P8 pptx

Oracle SQL Plus The Definitive Guide- P8 pptx

Cơ sở dữ liệu

... behavior.REPLACE Tells SQL* Plus to save the buffer to the file specified, regardless of whether or not that file already exists. If the file does exist, it will be overwritten.APPEND Tells SQL* Plus to add ... to a file, and wish to have a copy of the SQL statement included for future reference.If Your Statement Has an ErrorIf a SQL statement fails to execute, SQL* Plus does three things. It makes the ... one or two small mistakes. When debugging SQL statements (or PL /SQL blocks), don't get too hung up on where Oracle thinks the error is. When SQL* Plus displays an error line with an asterisk...
  • 10
  • 386
  • 0
Oracle SQL Plus The Definitive Guide- P9 pptx

Oracle SQL Plus The Definitive Guide- P9 pptx

Cơ sở dữ liệu

... directory you are in when you invoke SQL* Plus. Users of the Microsoft Windows operating system tend to be a bit insulated from the concept of a current directory. SQL* Plus is typically invoked under ... can count on having SQL* Plus available in any Oracle environment, and it gets the job done well with a minimum of fuss. This chapter shows you how to leverage the power of SQL* Plus to produce ... Generating Reports with SQL* Plus, where you will learn how to write scripts to take advantage of SQL* Plus& apos;s reporting functionality. Chapter 4 delves into the subject of scripting even more...
  • 10
  • 393
  • 0
Oracle SQL Plus The Definitive Guide- P11 pot

Oracle SQL Plus The Definitive Guide- P11 pot

Cơ sở dữ liệu

... Table 3-1.Table 3-1. SQL* Plus System VariablesSystem Variable Value SQL. PNO The current page number SQL. LNO The current line number SQL. RELEASE The current Oracle release SQL. SQLCODE The error ... prints your report, SQL* Plus keeps track of how many lines have been printed on the current page. SQL* Plus also knows how many lines make up the page footer. When the number of remaining lines ... from the SQL* Plus prompt like this: SQL @c:\jonathan \sql_ plus_ book\xd_ch_4\04_query_1_step_5 .sql The @ character in front of a filename tells SQL* Plus to execute the commands contained in that file....
  • 10
  • 346
  • 0
Oracle SQL Plus The Definitive Guide- P12 docx

Oracle SQL Plus The Definitive Guide- P12 docx

Cơ sở dữ liệu

... causes SQL* Plus to display the current 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 ... simultaneously, SQL* Plus will first advance to a new page, then print the two blank lines required for a project break. SQL* Plus has not been designed to recognize that, because of the page break, ... 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 Tells SQL* Plus to advance to a new page when...
  • 10
  • 302
  • 0
Oracle SQL Plus The Definitive Guide- P13 pps

Oracle SQL Plus The Definitive Guide- P13 pps

Cơ sở dữ liệu

... do anything about, is the lack of a label for the grand total values. I did say that SQL* Plus puts the label for report-level calculations in the first column of the report. Contrary to what ... OF hours_logged ON project_name COMPUTE SUM LABEL Project Totals OF dollars_charged ON project_name COMPUTE SUM LABEL Totals OF hours_logged ON employee_id COMPUTE SUM LABEL Grand Totals OF ... LABEL Totoals OF hours_logged ON project_id COMPUTE SUM LABEL Totals OF dollars_charged ON project_id COMPUTE SUM LABEL Totals OF hours_logged ON employee_id COMPUTE SUM LABEL Totals OF dollars_charged...
  • 10
  • 342
  • 0
Oracle SQL Plus The Definitive Guide- P14 pptx

Oracle SQL Plus The Definitive Guide- P14 pptx

Cơ sở dữ liệu

... Totals OF hours_logged ON employee_id COMPUTE SUM LABEL Totals OF dollars_charged ON employee_id COMPUTE SUM LABEL Grand Totals OF hours_logged ON REPORT COMPUTE SUM LABEL Grand Totals OF dollars_charged ... 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 OFF.OFF Disables ... source_attribute¦ ON¦ OFF]]where:ATTRIBUTE Is the command. Issuing the ATTRIBUTE command with no parameters gets you a list of all current attribute settings.object_type Is the name of an Oracle8 object...
  • 10
  • 307
  • 0
Oracle SQL Plus The Definitive Guide- P15 pps

Oracle SQL Plus The Definitive Guide- P15 pps

Cơ sở dữ liệu

... operation. The Oracle database does not know that a variable has been used. Nor does SQL* Plus actually compare the contents of the employee_id column against the value of the variable. SQL* Plus simply ... 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 ... type of query, it can be helpful to simplify the problem by thinking in terms of separate queries, one for each category. It's fairly easy to conceive of a query to bring back a list of employees...
  • 10
  • 331
  • 0

Xem thêm