Oracle Database Export table structure1. Open the corresponding database through PLSQL.2. Select the export users objects sub-menu under the menu tools3. Select the name of the table to be exported and select the saved path.4. Click the export
TablespaceIn Oracle, table space is the basic method for data management. All user objects must be stored in the table space, that is, the user has the right to use the space to create user objects. otherwise, you do not need to create objects
In the Oracle EBS system, system developers are allowed to define their own value sets to meet different needs. Now let's discuss how to define your own value set in the EBS system.
It is easy to define your own value set in the EBS system:
Many people should encounter deadlocks in multiple Oracle processes. Below are two simple SQL statements to kill the deadlock process:
-- Sep2, 2008 eleven. Xu
-- Select locked Process
Select S. username,
L. object_id,
O. Name,
L. session_id,
Error: not a single-component group Function
Example: Select deptno, count (empno) from EMP;
Error: not a single-component group Function
Cause:
1,If the grouping function is used in the program, you can use the following two cases:
Program
We sometimes encounter errors when exporting data using expdp. In this way, some records are generated in dba_datapump_jobs. You can see the following command:
Select * From dba_datapump_jobs;
Now we can see the corresponding job_name. Follow
6) Package 1. basic concept package (Package) is used to organize logical PL/SQL blocks or elements (variables, constants, custom data types, exceptions, processes, functions, and cursors, the package is stored as a complete unit in the database and
When installing Oracle, if the password is not reset for the following oracle users, the default Oracle user name and password are as follows:
User name/Password
Logon identity
Description
Sys/change_on_install
Sysdba or
Declare-- Write a row for each variable definitionV_num number: = 60; -- InitializationV_sal EMP. Sal % type; -- indicates that the data type of v_sal is the same as that of Sal in the EMP table.V_empsal v_sal % type; -- indicates that the variables
Connect by is used in structured queries. Its basic syntax is:Select... from tablename start by cond1Connect by cond2Where cond3;Simply put, a tree structure is stored in a table. For example, a table has two fields:The ID and parentid indicate the
1. delete a tablespaceDrop tablespace tablespacename [including contents [and datafiles] 2. delete a userDrop user user_name Cascade3. Notes for deleting a table When deleting all data in a table, the truncate table name must be used. Because
Install oracle in Linux:
Oracle claims that the installation of Oracle9i Database in Linux requires at least MB of memory and at least 1 GB or twiceSwap space with a memory size. For servers with a system memory greater than 2 GB, the swap space can
Similar to Oracle database, DB2 also has the conception of table space. A table space is the storage structure containing tables, indexes, larger objects/long data such as lob object, therefore the table space orginze these datas in database to
It is not very common to query the character set modification Character Set of oracle.
Query the character set of Oracle
Method 1
SQL> select userenv ('language') from dual;
Userenv ('language
3.3 set repeat interval
In job and schedule, the repeat_interval parameter is used to control the execution frequency or period. Although the period is a time concept, the repeat_interval parameter is not a time value, it is the time described by a
. Create a job
What is a job? Simply put, schedule is added with the task description. There are also some required parameters.
The "task" mentioned here can be a stored procedure in the database, an anonymous PL/SQL block, or an operating
Paging Query format:
Select * from(Select a. *, rownum RnFrom (select * From table_name)Where rownum )Where rn> = 21
Select * From table_name indicates the original query statement that does not flip pages. Rownum = 21 control the range of each
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.