Source from: http://hwhuang.javaeye.com/blog/650903
KeywordsConcepts of nested transactions and autonomous transactionsUse of nested transactionsUse of autonomous transactions1. Concepts1. nested transaction ):It refers to one or more sub
Summary: There are two ways to convert the varchar2 of a field to the lob type.
Method 1: Put the data in the varchar2 column into the middle column by means of the temporary intermediate column, clear
Create Table henry_test (A varchar2 (10), B INT );Insert into henry_test values ('A', 1 );Insert into henry_test values ('bb', 1 );Insert into henry_test values ('cc', 1 );Insert into henry_test values ('dd', 2 );Insert into henry_test values ('ee ',
Create a standby database under 9I (zz)Last edited by sail on
Recently, we tested data guard in Oracle 9i and found that 9i is more convenient for standby.Sort it out first, as shown below:
Operating Environment: Windows 2000 Professional +
Single-record functions in SQL1. ASCIIReturns the decimal number corresponding to the specified character;SQL> select ASCII ('A') A, ASCII ('A') A, ASCII ('0') zero, ASCII ('') space from dual;
A A zero space------------------------------------65 97
Single-record functions in SQL1. ASCIIReturns the decimal number corresponding to the specified character;SQL> select ASCII ('A') A, ASCII ('A') A, ASCII ('0') zero, ASCII ('') space from dual;
A A zero space------------------------------------65 97
How to limit the size of returned result sets in Oracle and MySQLIn ORACLE:
How can I use rownum to limit the number of rows returned by a query?Software environment:1. Windows NT4.0 + Oracle 8.0.42. Oracle installation path: C:/orant
Description:1.
ORACLE:
SQL plus has the ability to automatically submit jobs without requiring you to explicitly tell it what to do. It can be achieved through set autocommit on. Off is the default value, which is recommended in almost all programs.
Before
Each data row in the table has a row header, where the number of columns contained in the row data and the lock mark are stored. When a transaction updates a record, it will record the ITL Slot Number and lock mark used in the header of the Data row.
A useful feature for any type of programming is the ability to store and use temporary data. oracle provides us this ability with temporary tables. these temporary tables are created just like any other table (it uses some special modifiers), and
Single-record functions in SQL
1. ASCII
Returns the decimal number corresponding to the specified character;
SQL> select ascii ('A') A, ascii ('A') A, ascii ('0') zero, ascii ('') space from dual;
A ZERO SPACE------------------------------------65 9
Database always reports errors:Tue May 6 13:44:47 2008SMON: About to recover undo segment 119Oracle instance topcs2 (pid = 11)-error 1591 encountered while recovering tranSaction (119, 18) on Object 2309045.Errors in
Use the online redefinition function (Oracle9i or a later version)
Drop table t purge;Drop table t_new purge;
Create Table T (ID number primary key, time date );
Insert into T (select rownum, created from dba_objects );
Commit;
SQL> exec
After carefully studying the GoldenGate enterprise-level O & M practices, I focused on my understanding of several OGG processes. Combined with my understanding of the principles, I tried the experiment for nearly two days and configured it four
1 Introduction
The minimal recovery and transaction units in relational databases (DB2, Oracle, Sybase, Informix, and SQL Server) are a transaction (Transactions). Transactions are ACID (atomicity, consistency, isolation, and durability) feature. In
1 Introduction to null valuesNULL is a unique data type in the database. If a column in a record is NULL, the value of this column is unknown and uncertain. Since it is unknown, there are several possibilities. Therefore, NULL is not a definite
Oracle Database cloning is also called Oracle Database Replication. It can be achieved through user management or RMAN. In addition, Oracle recommends using RMAN because it is easy to use and hides its complicated logic. You can just run a duplicate
Data migration-compact and move --
The current requirement is that the following result sets become compact:
COL1 COL2 COL3------------------------------
123456789101112
COL1 COL2 COL3------------------------------1 7 112 8 123 94 1056
Drop table
Solution for ORA-01417 under Oracle 11g, 11gora-01417
Today there is a brother feedback, there is a SQL on 12C no problem, on 11G on the error, the error content is ORA-01417: The table can be externally connected to at most one other table. This
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.