introduction to oracle database 11g sql

Tài liệu Instructor Guide for Introduction to Oracle: SQL and PL/SQL ppt

Tài liệu Instructor Guide for Introduction to Oracle: SQL and PL/SQL ppt

... respective owners. Trang 3Introduction Introduction to Oracle: SQL and PL/SQL is often the first course that many Oracle students attend You might be their first contact with any Oracle personnel At ... functions that are stored in the database Hint One of the ways of introducing PL/SQL to the class is by explaining the capabilities that SQL lacks and how PL/SQL serves as an extension to SQL The objective ... of values in the database SQL buffer SQL*Plus commands SQL*Plus buffer Logging In to SQL*Plus • From Windows environment: • From command line: sqlplus [username[/password [@database]]] Displaying

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

174 491 0
Tài liệu Oracle Database 11g PL/SQL Programming P2 ppt

Tài liệu Oracle Database 11g PL/SQL Programming P2 ppt

... useful utility to hide the implementation details from prying eyes We will revisit this in Appendix F Trang 3Oracle 11g New FeaturesNew PL/SQL features introduced in Oracle 11g include Automatic subprogram ... Cross-Session PL/SQL Function Result Cache The cross-session PL/SQL function result cache is a mechanism to share frequently accessed functions in the SGA between sessions Prior to the Oracle 11g Database, ... by sessions Trang 5Dynamic SQL EnhancementsDynamic SQL still has two varieties in the Oracle 11g Database You have Native Dynamic SQL, also known as NDS, and the DBMS_SQL built-in package Both

Ngày tải lên: 25/01/2014, 14:20

10 499 0
Tài liệu Oracle Database 11g PL/SQL Programming P1 docx

Tài liệu Oracle Database 11g PL/SQL Programming P1 docx

... with the Oracle 6 Database PL/SQL 2.x shipped with the Oracle 7.x Databases Beginning with Oracle 8, PL/SQL versions correspond to the database release numbers, like PL/SQL 11.1 ... the Oracle 11g Release 1 Database. .. an ERD of the model PART I PL/SQL Fundamentals This page intentionally left blank CHAPTER 1 Oracle PL/SQL Overview 3 4 Oracle Database 11g ... Oracle Database SQL Primer begins by covering Oracle s implementation of SQL, starting with Oracle SQL*Plus datatypes, and then covers the SQL language commands needed to build database

Ngày tải lên: 25/01/2014, 14:20

40 490 1
Using Oracle Clusterware to Protect A Single Instance Oracle Database 11g pot

Using Oracle Clusterware to Protect A Single Instance Oracle Database 11g pot

... SPFILE: As oracle on node1 [oracle@node1 oracle]$ export ORACLE_HOME=/opt/oracle/product/11.1/si [oracle@node1 oracle]$ export ORACLE_SID=ERI [oracle@node1 oracle]$ $ORACLE_HOME/bin/sqlplus / ... Mining options [oracle@node1 oracle]$ export ORACLE_HOME=/opt/oracle/product/11.1/si [oracle@node1 oracle]$ scp $ORACLE_HOME/dbs/initERI.ora node2:/$ORACLE_HOME/dbs/ [oracle@node1 oracle]$ ssh ... –p /opt/oracle/admin [oracle@node1 oracle]$ scp –r /opt/oracle/admin/* node2:/opt/oracle/admin/ You must also ensure that the diagnostic directory tree is copied to node2 In Oracle 11g this

Ngày tải lên: 30/03/2014, 13:20

28 703 0
Oracle Database 11g The Complete Reference P1

Oracle Database 11g The Complete Reference P1

... Installing Oracle Database 11g and Creating a Database 11 Overview of Licensing and Installation Options 13 Using OUI to Install the Oracle Software 13 3 Upgrading to Oracle Database 11g ... Upgrading to Oracle Database 11g 21 4 Planning Oracle Applications—Approaches, Risks, and Standards 31 PART II SQL and SQL*Plus 5 The Basic Parts of Speech in SQL 65 6 Basic SQL*Plus ... Group (www.ORACLERACSIG.org) Trang 8Contents at a GlancePART I Critical Database Concepts 1 Oracle Database 11g Architecture Options 3 2 Installing Oracle Database 11g and Creating a Database

Ngày tải lên: 28/10/2013, 00:15

40 636 1
OCA: Oracle Database 11g Administrator Certified Associate- P3

OCA: Oracle Database 11g Administrator Certified Associate- P3

... fundamentals of SQL You also saw an overview of SQL*Plus in this chapter SQL*Plus is Oracle’s native tool to interact with the database You got a quick introduction to the Oracle datatypes, operators, ... is used to bring conditional logic to SQL Trang 22SQL*Plus supports all SQL statements and has its own formatting and enhancement commands Using this tool, you can produce interactive SQL statements ... operators to test a membership condition IN is equivalent to the =ANY operator, which evaluates to TRUE if the value exists in the list or the result set from a subquery The NOT IN operator is

Ngày tải lên: 07/11/2013, 11:15

50 373 0
Tài liệu Oracle Essentials Oracle Database 11g P docx

Tài liệu Oracle Essentials Oracle Database 11g P docx

... Reference Introduction The Oracle PL/SQL Language Pocket Reference is a quick reference guide to the PL/SQL programming language, which provides procedural extensions to the SQL relational database ... Statement (Oracle Database 11g) Loop Labels 28 29 29 30 30 31 31 31 33 Database Interaction Sequences in PLSQL Transaction Management Autonomous Transactions 34 34 34 37 Cursors in PL/SQL Explicit ... language and a range of Oracle development tools Where a package, program, or function is supported only for a particular version of the Oracle database (e.g., Oracle Database 11g), we indicate this

Ngày tải lên: 13/12/2013, 03:15

180 361 0
Tài liệu OCA: Oracle Database 11g Administrator Certified Associate- P4 ppt

Tài liệu OCA: Oracle Database 11g Administrator Certified Associate- P4 ppt

... 12/04/00) To avoid problems with implicit conversions, Oracle provides explicit date/character-conversion functions: TO_DATE, TO_CHAR, TO_TIMESTAMP, TO_TIMESTAMP_TZ, TO_DSINTERVAL, and TO_YMINTERVAL ... value to an interval day to second literal NUMTOYMINTERVAL Converts a number value to an interval year to month literal RAWTOHEX Casts a raw to a hexadecimal Trang 23Function DescriptionROWIDTOCHAR ... TO_BINARY_FLOAT Converts input into a BINARY_FLOAT number TO_CHAR Converts and formats a date into a string TO_CLOB Converts character input or NCLOB input to CLOB TO_DATE Converts a string to

Ngày tải lên: 14/12/2013, 15:15

50 425 0
Tài liệu OCA: Oracle Database 11g Administrator Certified Associate- P5 ppt

Tài liệu OCA: Oracle Database 11g Administrator Certified Associate- P5 ppt

... discussing the functions avail- able in Oracle 11g to handle NULL s. Then it discussed the single-row functions available in Oracle 11g by grouping them into character, numeric, date, and conversion ... INTERVAL YEAR TO MONTH and INTERVAL DAY TO SECOND can be added or subtracted from date/time datatypes. You need to know how to interpret and create expressions that add intervals to or subtract ... functions available in Oracle Database 11g that are not included in Table 3.1 Although they are less likely to appear on the certification exam, they are still important to review Utilizing

Ngày tải lên: 14/12/2013, 15:15

50 418 0
Tài liệu OCA: Oracle Database 11g Administrator Certified Associate- P6 pptx

Tài liệu OCA: Oracle Database 11g Administrator Certified Associate- P6 pptx

... 1564.8125 <- Grand Total HR 1.75 <- Subtotal HR schema IX 1.625 <- Subtotal IX schema OE 8.875 … … … FLOWS 100.6875 <- Subtotal FLOWS schema USERS 21.25 <- Subtotal USERS tablespace ... single-row and multiple-row subqueries Û N Using the Set operators ÛÛDescribe set operators Û N Use a set operator to combine multiple queries into a Û N single queryControl the order of rows returned ... PDF Split-Merge on www.verypdf.com to remove this watermark. Trang 18A database has many tables that store data In Chapter 1, “Introducing SQL,” you learned how to write simple queries that select

Ngày tải lên: 14/12/2013, 15:15

50 459 0
Tài liệu OCA: Oracle Database 11g Administrator Certified Associate- P7 ppt

Tài liệu OCA: Oracle Database 11g Administrator Certified Associate- P7 ppt

... expression manipu-Set operators are used to combine the results of more than one query into one Each query is separate and will work on its own Four set operators are available in Oracle: UNION, UNION ... that is employed to change data in a database table Since SQL is English-like, meaning it’s not cryptic like C or Perl, the statements used to perform data manipulation are easy to remember The ... is used to add new rows to a table The UPDATE statement is used modify rows in a table, and the DELETE statement is used to remove rows from a table Oracle also has the MERGE statement to perform

Ngày tải lên: 14/12/2013, 15:15

50 402 0
Tài liệu OCA: Oracle Database 11g Administrator Certified Associate- P8 docx

Tài liệu OCA: Oracle Database 11g Administrator Certified Associate- P8 docx

... types. To learn more about the various Oracle 11g database schema objects, please refer to the Oracle documentation called “Oracle Database Administrators Guide 11g Release 1 (11.) Part Number B28310-04,” ... customer are stored in the same physical storage area (block). Database storage and blocks are discussed in Chapter 8, “Introducing Oracle 11g Components and Architecture.” Database links A database ... important to know how to create tables and constraints on tables. Database Objects Overview Data in the Oracle Database is stored in tables. A table is the main database object. Many other database

Ngày tải lên: 14/12/2013, 15:15

50 420 0
Tài liệu OCA: Oracle Database 11g Administrator Certified Associate- P10 pptx

Tài liệu OCA: Oracle Database 11g Administrator Certified Associate- P10 pptx

... the Oracle 11g database. SQL*Plus SQL*Plus is the primary tool for an Oracle DBA to administer the database using SQL commands Before you can run SQL statements, you must connect to the Oracle 11g ... Oracle 11g SQL is the language used to interact with the Oracle 11g database Many tools are available for the DBA to administer an Oracle 11g database The common tools are as follows: SQL*Plus, ... u r e 8 2 SQL*Plus login in Linux To get an overview of SQL*Plus and how to connect to the database using SQL*Plus, please refer to Chapter 1, “Introducing SQL.” SQL Developer SQL Developer

Ngày tải lên: 14/12/2013, 15:15

50 430 0
Tài liệu OCA: Oracle Database 11g Administrator Certified Associate- P13 ppt

Tài liệu OCA: Oracle Database 11g Administrator Certified Associate- P13 ppt

... database. SQL is the language used to manage and administer Oracle databases. Several tools are available to administer an Oracle 11g database. The most com- mon ones used by DBAs are SQL*Plus and Oracle ... them to manage, locate, and view the database alert log Using DBCA to Create Oracle 11g Databases The Oracle Database Configuration Assistant (DBCA) is a Java-based tool used to create Oracle ... Manager. SQL Developer is a GUI tool that can be used to interact with the Oracle 11g database. The Oracle 11g database architecture consists of three major components: memory, processes, and storage.

Ngày tải lên: 14/12/2013, 15:15

50 392 0
Tài liệu OCA: Oracle Database 11g Administrator Certified Associate- P14 pptx

Tài liệu OCA: Oracle Database 11g Administrator Certified Associate- P14 pptx

... interface to perform their tasks You can delete a database using the command-line tool SQL*Plus To do so, first connect to SQL*Plus as an administrator who has the ability to start up the database; ... Down an Oracle 11g Database In some instances, you will need to shut down a database, such as to perform regularly scheduled cold backups of the database, to perform database upgrades, or to change ... EM Database Control to shut down the Oracle Database To do so, invoke the EM Database Control from your web browser: 1. Click the Shutdown button in the Database Control home screen, next to

Ngày tải lên: 14/12/2013, 15:15

50 438 0
Tài liệu OCA: Oracle Database 11g Administrator Certified Associate- P15 ppt

Tài liệu OCA: Oracle Database 11g Administrator Certified Associate- P15 ppt

... interactive GUI tool EM Database Control to monitor and manage data-base structures, including tablespaces The EM Database Control is an alternative to a command-line interface To use the Database Control, ... defines the directory where Oracle can create data files Oracle must have read-write permission on this directory The directory must exist on the server where the database is located Oracle will not ... READ WRITE; Oracle normally checks the availability of all data files belonging to the database when starting up the database If you are storing your read-only tablespace on offline storage media

Ngày tải lên: 14/12/2013, 15:15

50 539 0
Tài liệu OCA: Oracle Database 11g Administrator Certified Associate- P16 pptx

Tài liệu OCA: Oracle Database 11g Administrator Certified Associate- P16 pptx

... experienced Oracle database administrator has seen this maturation process in the Oracle network architecture as well From the first version of SQL*Net to the latest releases of Oracle Net, Oracle ... 11g to access data that resides in a non-Oracle database and to execute programs that are not SQL or PL/SQL Heterogeneous Services The Heterogeneous Services component provides the ability to ... App Server Oracle Net RDBMS Oracle Net TCP/IP An Overview of Oracle Net Features Oracle Net is the glue that bonds the Oracle network together It is responsible for handling client-to-server and

Ngày tải lên: 14/12/2013, 15:15

50 385 0
Tài liệu OCA: Oracle Database 11g Administrator Certified Associate Study Guide- P3 ppt

Tài liệu OCA: Oracle Database 11g Administrator Certified Associate Study Guide- P3 ppt

... fundamentals of SQL You also saw an overview of SQL*Plus in this chapter SQL*Plus is Oracle’s native tool to interact with the database You got a quick introduction to the Oracle datatypes, operators, ... is used to bring conditional logic to SQL Trang 22SQL*Plus supports all SQL statements and has its own formatting and enhancement commands Using this tool, you can produce interactive SQL statements ... operators to test a membership condition IN is equivalent to the =ANY operator, which evaluates to TRUE if the value exists in the list or the result set from a subquery The NOT IN operator is

Ngày tải lên: 15/12/2013, 05:15

50 390 1
Tài liệu Oracle Database 11g P2 pptx

Tài liệu Oracle Database 11g P2 pptx

... statement to copy all or part of a database into a new database created with the Oracle Database 11g server software. You can upgrade an Oracle 8i, Oracle 9i, or Oracle Database 10g client to the Oracle ... from Oracle Database 10g to Oracle Database 11g, you must copy three scripts (utlu11i.sql, utilu111s.sql, and utlu111x.sql) from the 11g database’s file system ($ORACLE_HOME/rdbms/admin/) to a ... made of the pre-upgrade database. Upgrade Path to Oracle 11g Whether you can directly upgrade your current Oracle database to Oracle 11g or have to perform an upgrade to an intermediate release

Ngày tải lên: 22/12/2013, 23:16

10 465 0
Tài liệu Oracle Database 11g P1 ppt

Tài liệu Oracle Database 11g P1 ppt

... New Oracle Background Processes 16 New Oracle-Supplied PL/SQL Packages 17 Upgrading to Oracle Database 11g 17 Upgrading and the Compatibility Factor 18 Upgrade Path to Oracle 11g ... page countOracle Database 11g: New Features for DBAs and Developers Dear Reader, This book introduces the most useful new features of Oracle Database 11g for both database administrators and ... author of Expert Oracle 9i Database Administration Expert Oracle Database 10g Administration OCP Oracle Database 10g: New Features for Administrators Exam Guide RMAN Recipes for Oracle New Features

Ngày tải lên: 22/12/2013, 23:16

40 488 0
w