ORACLE: Check the structure of a table named test_table, just using the follwoing command:
Describe test_table;
The output has 3 columns:
The first column displays the column name of table dual;
The second column displays whether
Cause:
Incorrect ORACLE_HOME location
OpenRegisterTable, HKEY_LOCAL_MACHINE/software/Oracle check whether the registration path of Oracle is consistent with the actual installation path. If not, change the Registry path to the actual path! [This
After Oracle 10g R2 is installed, the following errors are prompted when you log on to the Web console:
Io exception: Unknown host specified; the network administrator downloads dl.bitscn.com
Java. Lang. Exception: exception in sending request:
Pre-fabricated users in Oracle are enabled
Some oracle users are premade and useful, but they are locked during initialization. We need to manually enable it.
SQL * Plus: Release 10.2.0.1.0-production on Tuesday April 9 20:02:02 2013
Copyright
Oracle job is a function provided by Oracle to regularly execute a stored procedure or package.
Main scenariosPerform related operations on the background at regular intervals. For example, save the data of one table to another at every night, and
Generally, directory is created to use a Data Pump to import/export data. In fact, directory has many other functions, which will not be described in this article.
1. New directory syntax
Create [or replace] DirectoryDirectoryAs'Pathname';
For
Pctfree:
The percentage of space used for the update operation is retained in the block. When the occupied space reaches the upper limit, new data cannot be inserted into the block;
Pctused:
Specifies the minimum percentage of space used by data
Source: http://blog.csdn.net/shmiloy001/article/details/6284419
Abstract:
1. Select Sid, serial #, username from V $ session;
2. Alter system kill session '_ SID, _ serial #'; (based on the result of step 1)
You can use kill to delete a connected
Here is an example:
Prepare data:
Create Table fruit
(
ID number (4) primary key,
Name varchar2 (150)
);
Insert into fruit (ID, name) values (1, 'apple ');Insert into fruit (ID, name) values (2, 'bana ');Insert into fruit (ID, name) values (3,
To_char converts a date or number to a string to_date. in the database, the date type conversion function to_number converts the character to a number to_char. The to_char function is used to process the number to_char (number, 'format') to_char
CREATE TABLE objects1(owner VARCHAR2(30),object_name varchar(50),object_id NUMBER,created DATE,status VARCHAR2(1000));
P86
Set line 1000 pages 0
I don't know if it was a printing error. I was raped by this mistake for two nights.
If set line 1000 is
The transfer tablespace function in Oracle is used to move tablespaces and data files in one instance to another instance. It is convenient and quick to execute.However, there are some restrictions on using this function:The two platforms must be
The system user cannot perform database backup and recovery operations (the XMP Data File Import and Export function ). After creating a user in the previous article, you must specify the user permission for the Import and Export Operation. The
Oracle 11G function set
Chapter 10All lower caseSelect lower (200 + 200), lower ('SQL'), lower (sysdate) from dualSelect first_name, last_name, lower (last_name) from employees where lower (last_name) like '% ur % ';-- UpperAll uppercaseSelect *
You can use the grouping_id function to filter records with the having clause, removing records that do not contain subtotal or total. The grouping_id () function can accept one or more columns and return the decimal value of the grouping bit vector.
You can use the following SQL statement in PL/SQL to query which tables in the current database are locked and which users are locking these tables:
SelectA. Owner, -- user to which the object belongsA. object_name, -- Object Name (table name)B.
Oracle backup and recovery of single or multi-table data
Oracle backup, recovery of single or multi-table data steps, applicable to Oracle 8, 9, 10.*Back up single or multi-table data:Exp user/password @ Server File = filefullpathname log =
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