The traditional fetch into only one data at a time, using the fetch bulk collect into can get all the data from the cursor at once, use the limit clause to limit the number of data bars taken at a time
1, fetch bulk collect into
Begin
Declare
Oracle Incomplete recovery means that the recovered data is lost and some data cannot be recovered.
Environment:
Os:rhel 6.0
Db:oracle 10.2.0.1.0
1, first there is a backup of the database here is the full preparation of Rman[Oracle@rhel ~]$ Rman
1, Add the field Alter table Student Add age number (5); 2, modify the field ALTER TABLE student Modify age number (10); ALTER TABLE table2 Rename column result to RESULT2; 3. Delete field Alter table student Drop column age; 4, empty the table
Oracle 11g The solution for the locked problem Why users are locked down may be the following several reasons. www.2cto.com 1. The attempt to log on more than once was unsuccessful (possibly incorrect password); 2. This user is manually
The Al32utf8 character set is not a (display/input) language character set, is a character set for storage and supports the world's leading language encoding.
Al32utf8 is a superset of ZHS16GBK.
The Nls_lang should be set to the language
Install exception:
Info: Oracle Database Configuration Assistant failed
Log:c:\program Files\oracle\inventory\logs\installactions2014-10-24_10-56-40pm.log
My solution:Skip this step in accordance, you can ignore the first, after installing the
ORA-01171: Data file will be taken offline due to advanced checkpoint error
ORA-01172: Thread recovery stopped in block (in file)
ORA-01173: Data dictionary indicates a data file that is missing from the system table space
Ora-01174:db_files is, but
Export from the database server using EXP is displayed as follows:
[oracle@kf15-1]:/users/oracle>$ exp username/passwd@kf15-1/i1000 tables=table_name file=table_name_unix.dmp Satistics=none buffer=1000000 export:release 10.2.0.4.0-production on
Oracle's optimizer has two optimizations, namely, rule-based optimization (rule-based optimization, short rbo) and cost based optimization (cost-based optimization, referred to as CBO), In Oracle8 and later versions, the Oracle Strong column
In Oracle sequence is called the serial number, each time it will automatically increase, generally used in the need to order by serial number of places.
1, Create Sequence
You must first have create sequence or create any sequence
Oracle Temporary table Knowledge
In Oracle, temporary tables are divided into sessions, transaction two, and the session-level temporary table data exists throughout the sessions until the end of sessions; Temporary table data at the transaction
Oracle 10g is installed under Win2008, prompt program terminates abnormally, unknown error occurred
Modify Oracle 10g\database\stage\prereq\db\refhost.xml
In Add later
and find the Oraparam.ini file in the install directory to find
Right-click
Today, for example, write a simple pl/sql statement that looks at the newly-written statement in the buffer, as follows:
Sql> L1 DECLARE2 I number (4): =13 BEGIN4 LOOP5 INSERT into EMP2 (empno) VALUES (i);6 EXIT when 1>2;7 i:=i+1;8 End LOOP;9*
--composite index, also known as Union Index, combined index.
In Oracle, you can create a composite index, which is an index that contains two or more columns at the same time. Oracle has the following features with regard to the use of composite
Record user logon information in Oracle
We can use the Oracle Audit function to record user login information, but if the Audit function is opened it will degrade Oracle performance and even cause Oracle to crash. So how can we record user login
Java JDBC Connection Oracle Three ways
Oracle JDBC Connection ServiceName
jdbc:oracle:thin:@//:/
Example: Jdbc:oracle:thin@//10.1.112.110:1521/health
Note: There is//behind the @. This format is primarily for clusters, with different SIDs for
The report exception was found when you logged on to Oracle using Pl/sql Developer:
Ora-01034:oracle Not available
Ora-27101:shared Memory realm does not exist
Then manually start the database instance:
C:\users\wlshi>sqlplus/nolog
Sql*plus:release 1
1. Log in with SYS user
Sqlplus Sys/pass@tt as Sysdba
2. Look at the location of Archiv log
Sql> Show parameter log_archive_dest;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
Log_archive_dest
Turn from: http://database.51cto.com/art/201010/231126.htm
The Oracle Wm_concat (column) function is what we often use, and here's how you can use the Oraclewm_concat (column) function to implement a field merge if you are wm_concat for Oracle
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service