1, first set up a directory :
Create directory directory name as ' a directory on the database server ', such as:
Create directory alias as ' d:\ server directory name ';
Put the imported or exported files in this directory
2, Export and
What happens when we define a field name and alias with the same name as the Oracle keyword?
It's really simple, just add "" to this keyword, such as "group"
Look at the following example:
Copy Code code as follows:
sql> DROP TABLE
In Oracle database manipulation, the prompt to log in to an Oracle account fails, and the Oracle account is frequently locked out. What is the cause of this failure? This article introduces this process, through the process of investigation and we
UPDATE
1, the first backup data (security, improve performance).
2, batch update, small batch submission, to prevent the lock table.
3, if the updated automatically indexed, the amount of updated data is very large, the first to cancel the
1. Query the current process of the database number of connections:
Copy Code code as follows:
Select COUNT (*) from v$process;
2. View the number of connections for the current session of the database:
Copy Code code
A cluster is actually a set of tables, consisting of a set of tables that share the same blocks of data, combining tables that are often used together to cluster together to increase processing efficiency; A table in a cluster is called a cluster
The Index organization table (IOT) can store not only the data, but also the indexes established for the table. The data in the Index organization table is arranged according to the order of the primary key, which increases the speed of the access.
First understand the concept of the scheme, and then understand the relationship between the scheme and the database.
Let's take a look at their definition:
Copy Code code as follows:
A
schema is a collection of the database
Use Ora to list data in all datasheet ' Email_info '
Below, we will read out the contents of the database, and display the data in the ' Email_info ' datasheet as an HTML form
Related PHP Code:
PUTENV ("Oracle_sid=orasid");
$connection =
Create A Table Using OCI
Below we will create an email personal information book. This time using the OCI8 API directive
Related PHP Code:
PUTENV ("Oracle_sid=orasid");
$connection = Ocilogon ("username", "password");
if ($connection = = False)
1, the primary key defined as the automatic growth identifier typeMysqlIn MySQL, if the primary key of the table is set to the Auto_increment type, the database is automatically assigned the primary key. For example:
Copy Code code as follows:
There are a lot of SQL connections on the Internet login authentication, but no Oracle connection way, I groped a morning to write this executable function, share to everyone
Copy Code code as follows:
//user logon Check
public
Update: Tanku Updates Needless to say, the two are the same, mainly talking about the update of multiple tables
Copy Code code as follows:
Oracle> Oracle's multiple-table update requirements are more stringent, so sometimes it's not
Mode 1: Direct utilization. NET Oracle-driven connectionsInstalling the Oracle Client driver packageLocate the server-side installation path: E:\oracle\product\10.2.0\db_1\NETWORK\ADMIN under Tnsnames.ora, overwrite the file with the client
Immediately after the article-pagination technology principle and implementation of the meaning and method of pagination (i), this article continues to analyze paging technology. The last chapter is about the simple principle and introduction of
To build an Oracle, there will be many schemas below, and no data under each schema is affected.
Feel and MySQL library concept is very similar, now use the database management system is in fact so divided, MySQL with the ip+port+ library
Create test directories and files on the database host$mkdir/test$CD/test$echo "Test Subject" >> subject.html$echo "Test ok!" >> mail.htmlDefines the file path (which is all on the database host) and authorizes$sqlplus User/[email
--View the use/remaining space of temporary filesSql> select * from V$temp_space_header;--View the temporary tablespace to which the Scott user belongsSql> Select Username, temporary_tablespace from dba_userswhere username= ' SCOTT '; --See which
The Oracle empowered Reclaim permission is to use the GRANT and REVOKE statements, but will it take effect immediately upon completion of the empowerment and RECLAIM permission statement? In addition, Oracle's permissions are divided into system
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