Label: major updates to the DATAUML Design1.5 version include::1, optimize the database login interface;2, Query Analyzer smart tips;3, optimize the database browsing plug-in, database login components, support history cache;4, Support no Oracle client connection;5, Support browsing database view, stored procedures, functions and triggers;6, support from Excel file import data generation model;7. The inte
dbms_output.put_line ('other exception'); end ;/
Figure: three statements of loop: the method in the upper right corner.
2. screen recording of actual execution results under Sqlplus
SQL> -- first PL/SQL program: HelloWorldSQL> set serveroutput on -- to output information on the screen, switch serveroutput to SQL> declare 2 -- variable description 3 begin 4 -- program body 5 -- package 6 dbms_output.put_line ('Hello World'); 7 end; 8/Hello World PL
Oracle Learning (11): PLSQL ProgrammingWhat is the structure and composition of PL/SQL ?? PL/SQL (Procedure Language/SQL )? Is PLSQL a procedural extension of Oracle's SQL language? It refers to the addition of process processing statements (such as branches and loops) in the SQL command language, so that the SQL language has the process processing capability.SQL advantages: Interactive non-procedural; stro
How to delete a database in Oracle 11 without using DBCA
This short tutorial will show you how to delete a database in Oracle 11 without using the DBCA Database Configuration assistant.
1-SID of the imported database, if not defined
export ORACLE_SID=database
2-connect to the database with OS Authentication
Oracle dul 11 has finally been released. You can't wait to download it for testing. The current version is dul 11.2.0.0.1. Currently, only for linux is released, and other versions are expected to be released.Oracle dul 11 releasedDul-11.2Oracle-dul-11Dul 11 test restoring orac
When Oracle 11g is exported using EXP, empty tables cannot be exported, and 11 gexp
I. cause:There is a new feature in 11G. When the table has no data, no segment is allocated to save space.1. insert a row and then roll back to generate a segment.This method inserts data into an empty table and then deletes it, resulting in a segment. An empty table can be exported.2. Set the deferred_segment_creation param
name and salary sql> set Serveroutput Onsql> declare 2--Define variables, 3 pename emp.ename%type;--set the type of pename to the type of ename in the EMP table 4 psal emp.sal%type;--will Psal Type set to the type of Sal in the EMP table 5 6 begin 7 8--query: 9--ename,sal into Pename,psal: Assigns the ename,sal of the query to Pename,psal in order to assign a value of 10 Select Ename,sal to Pename,psal from EMP where empno=7839;
Link to the comprehensive exercise for creating, updating, and querying Oracle notes (11): Oracle notes (1) Introduction to Oracle and installation of explain (2) SQLPlus command http://www.bkjia.com/database/201209/154051.html#oraclenotes (3) scott user's table structure partition (4) simple query, restricted query, d
Reproduce the library cache lock wait event at 11 GB in Oracle
From the example below, we can see that re-Compilation of objects in the production database will lead to library cache lock, so we should try to avoid compiling objects during business peaks. If a package or complex dependency exists in the process, it can easily lead to library cache lock. Therefore, you should also pay attention to this issue
Oracle Learning (11): PLSQL programming, oracleplsqlWhat is the structure and composition of PL/SQL? • PL/SQL (Procedure Language/SQL) • PLSQL is an Oracle procedural extension of the SQL Language • It adds process processing statements (such as branches and loops) to the SQL command Language ), make the SQL language process.SQL advantages: Interactive non-proced
major updates to the DATAUML Design1.5 version include::1, optimize the database login interface;2, Query Analyzer smart tips;3, optimize the database browsing plug-in, database login components, support history cache;4, Support no Oracle client connection;5, Support browsing database view, stored procedures, functions and triggers;6, support from Excel file import data generation model;7. The interface o
Six of the Oracle Learning Primer seriesModeWe learned the database structure, memory structure and process in Oracle database. The length of the toad feels too much. This time to take a rest, each note should not be too much, or different from the book.We have to make sure that every record we make can be fully improved.The last time we took a holistic grasp of
Label:1: inserting the Oracle database 11G Setup disk into the CD -ROM automatically runs the program and opens the Welcome window 2: Eject "Select installation Type" 3: Popup "Make home Directory Details" 'Oracle Base directory ': Value for setting environment variable oracle_base , ' name of software location ': Used to specify Oracle installation path of the
Oracle 11 tablespace dbf File migration
When the disk space of the oracle data file is insufficient or the dbf file needs to be migrated to another location in other cases, the procedure is as follows:
1. sqlplus sys/sys as sysdba
2. shutdown immediate
3. copy the dbf file to a new location.
4. startup mount;
5. alter database rename file 'e: \
Label: 1-The SID of the imported database, if not definedExport Oracle_sid=database 2-Connect to the database with operating system authentication[Email protected] ~]$ sqlplus/as sysdbasql*plus:release 11.2.0.1.0 Production on Mon Dec 1 17:38:02 2014Copyright (c)1982, Oracle. All rights reserved. Connected to an idle instance. 3-Starting the DB instanceSql> Startuporacle instance started. Total System Global area 3340451840 bytesfixed size 2217952 byt
Cainiao database (6)-enabling and disabling Oracle services conveniently and quickly
Background:
As a programmer, in daily work, our computer often needs to run many programs at the same time, such as Eclipse, browsers, and instant messaging software, you may need to open several Office documents or pdf documents. At this time, your memory is estimated to have exploded. Especially for browsers like Chrome a
Cainiao database (6)-enabling and disabling Oracle services conveniently and quickly
Background:
As a programmer, in daily work, our computer often needs to run many programs at the same time, such as Eclipse, browsers, and instant messaging software, you may need to open several Office documents or pdf documents. At this time, your memory is estimated to have exploded. Especially for browsers like Chrome a
It takes only 6 minutes to scan a 166G table from an oracle full table, and oracle166g
How can I maximize the cpu usage? How to quickly scan a large table. If a large table has a primary key, count (*) takes the primary key. oracle only needs to scan the primary key. If the table does not have a primary key, the count (*) operation can only scan the entire table,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.