When Oracle EBS operates a form interface or a table in the background database, it is found that the table has been in the "suspended" status. It may be because the table is locked by a user, and other users cannot continue the operation.
Delete an Oracle database in a Linux operating system in detail:
1. Disable ORACLE Server and background processesPS-Ef | grep oraTurn off the databaseShutdown immediate
2. Disable the listener.LSNRCTL statusIf it is enabled, execute LSNRCTL
1. Convert string type to timestamp
Copy codeThe Code is as follows: select to_timestamp ('01-October-08 07.46.41.000000000 AM ', 'dd-MON-yy hh: mi: ss. ff am ')
From dual;
2. Convert timestamp to date typeCopy codeThe Code is as follows: select
1. What is the Oracle character set?The Oracle character set is a collection of symbols for the interpretation of byte data. It can be divided into different sizes and have an inclusive relationship. ORACLE supports the national language
The Lag and Lead functions can retrieve the data of the first N rows and the value of the last N rows of the same field in a query. This operation can be achieved through table join for the same table, but LAG and LEAD are more efficient.
Copy
☆Retrieve all table names and column names of the databaseSelect name from sysobjects where xtype = 'U'
Select name from syscolumns where id = (select max (id) from sysobjects where xtype = 'U' and name = 'table name ')
☆Recursive Data
How should I write SQL recursive statements in oracle databases? The following is an example of using SQL recursive statements in oracle for your reference.
Example:
Copy codeThe Code is as follows: pid id
A B
A c
A e
B b1
B b2
C c1
E e1
E e3
D d1
The syntax structure of the Decode function is as follows:
Copy codeThe Code is as follows: decode (expression, search_1, result_1)
Decode (expression, search_1, result_1, search_2, result_2)
Decode (expression, search_1, result_1, search_2, result_
Similar to other database systems, Oracle uses "|" to concatenate strings, which is the same as the plus sign "+" in MSSQLServer.
For example, execute the following SQL statement:
Copy codeThe Code is as follows: SELECT 'employee ID is '|
Content • Software environment• A simple demonstration of Row-level locks caused by concurrent Oracle databasesThis article briefly demonstrates the row-level locks caused by concurrent Table Primary keys. More than two concurrent users modify the
In layman's terms:
The number of records connected by A left join B is the same as that of Table.
The number of records connected by A right join B is the same as that of Table B.
A left join B is equivalent to B right join
Table:
Field_K, Field_A
1
There are three ways to throw an exception
1. Use the PL/SQL Runtime Engine
2. Use the RAISE statement
3. Call the Stored Procedure RAISE_APPLICATION_ERROR.
When an error occurs during database or PL/SQL running, an exception is automatically
Fine-grained auditing (FGA) is introduced in Oracle 9i. It can record SCN numbers and row-level changes to recreate old data, but they can only be used for select statements, not DML, such as update, insert, and delete statements. therefore, for
Oracle has many locks, and the effects of various locks are different. The following describes Oracle row-level locks. Oracle row-level locks only lock the row that the user is accessing. This ensures data security.
If the user is modifying a row,
I. Environment Description
Source database:
IP Address: 192.168.137.100
Sid: catalog
Username: rman
Password: rman
Target database:
IP Address: 192.168.137.101
Sid: orcl
Username: rman
Password: rman
2. Create a tnsname for the source database on
1 \ flash the table back to a certain time point:
Enable the row movement function before the flash back operation
SQL code Alter table emp enable row movement;
Execute the flash back statement:SQL codeFlashback table emp to timestamp
SQL code-- Obtain the current SCN
Copy codeThe Code is as follows: select dbms_flashback.get_system_change_number scn1,
Timestamp_to_scn (sysdate) scn2 from dual;
-- Converts SCN to a successful time.Copy codeThe Code is as follows: select to_char
If Oracle has two users A and B, if A wants to access the table owned by B, the statement should be:
Copy codeThe Code is as follows: SELECT * from B. TABLENAME.
I want to ask, can I modify the Oracle settings to change the language in which A
In this article, the B-tree (B-tree) Hash k-d tree (k-d tree) Point Quadtree (Point Quadtree)
This article describes the structure of Oracle indexes. You can understand the underlying data structure of Oracle indexes to better understand the
Learning oracle 10g r2 concepts in the afternoon
Leave a note here.
Oracle manages the storage space in the database data file. The unit is data block ). A data block is the smallest (logical) data unit in a database. The minimum physical storage
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