A colleague wrote this article. Let's share it with you.
Create Table score(Fname nvarchar2 (50 ),Fsubject nvarchar2 (50 ),Fresult decimal (18, 0));Insert into score values ('zhang san', 'China', 20 );Insert into score values ('zhang san',
If you have already deleted
Sqlplus sys/orcl as sysdbaDrop user oawf1;Drop tablespace oawf1;Then manually delete the tablespace file.
// Create a tablespace in Oracle. Create a tablespace. Grant the DBA permission to import DMP data files.// Log
% Rowtype in Oracle:
% Rowtype: indicates that this type is the row data type. It is stored as a row of data. A row has many columns, which is equivalent to a row of data in the table or a row of data in the cursor.
% Rowtype is used to
Oracle 10g "dataguard" log Transmission Mode1. Redo transmission:
All online redo logs written to the master database are transmitted to the standby database by synchronously or asynchronously. If the standby redo log exists in the standby
Oracle select for updateIn most cases, the rows checked by the cursor are modified for the processing completed in the extraction loop. PL/SQL provides a syntax for such processing.
This syntax includes two parts: the for update clause in the
Address: http://wentao365.iteye.com/blog/1156889
Sign Function:
Used to determine whether a value is positive, 0, or negative. The returned values are 1, 0, and-1 respectively.
Decode function: Decode (expression, value 1, result 1, value 2,
--- Use an oracle user to go to sqlplus to delete the user and create another user and grant permissions
-- The permission must have synonym; otherwise, an error occurs when the imp dmp file is used.
Su-Oracle
Sqlplus/As sysdba
Drop user base
Oracle Data Import and Export dmp
1: Start-> Run-> cmd-> exp-> User Name/password @ connection word (DBA permission is required for full Database Export)-> press ENTER-> enter the export path (C: /AA. DMP)-> select (E, U or T) as required-> press
1. In an application, an absolute number of seconds is obtained from 00:00 on January 1, January 1, 1970 to the current time, and is stored as a number field in the Oracle database table;
2. Sometimes we need to restore this number of seconds to a
Connect by is used in structured queries. Its basic syntax is:
Select... from tablename start by cond1
Connect by cond2
Where cond3;
Simply put, a tree structure is stored in a table. For example, a table has two fields:
The ID and parentid indicate
1. Describe the relationship between tablespace and datafile
Tablespace is a logical component of the database. Physically, the database data is stored in the data file. Logically, the database is stored in the tablespace, which is composed of one
It was originally with images. when the results were saved, too many images were lost (Crying fast)
Download Li Xinghua Oracle video notes: Click to open the link
I'm using Windows 64-bit, Oracle 10:
There are two main methods to develop the Oracle database interface in Visual C ++. One method is to use multiple database access technologies provided by Visual C ++, for example, Open Database Connection ODBC, Data Access Object Dao, object
1. There are two ways to run Oracle databases:
(1) archivelog: Archive aims to restore the database to the maximum extent when a database fails. It ensures that no submitted data is lost:
(2) Non-archive mode (noarchivelog): Only the database can
Oracle exception in the predefined description
Oracle error exception informationORA-0001 dup_val_on_index tries to break a unique limitORA-0051 timeout-on-resource timeout while waiting for resourcesThe ORA-0061 transaction-backed-out is canceled
Previous Article: Oracle series: Oracle Data TypesLink: http://blog.csdn.net/qfs_v/archive/2008/05/12/2435213.aspxOracle series: pseudo-column rowid
1. What is a pseudo-column rowid?1. First, it is a data type that uniquely identifies an ID of a
Document directory
Oracle series: Record and PL/SQL tables
Oracle series: Record and PL/SQL tables
1. What are record and PL/SQL tables? Record: a temporary record object type consisting of a single row and multiple columns of scalar type.
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