1. Use imp/exp. Export the source database first, create a new database, create the tablespace, and then import it. (It is said that this is acceptable, provided that the new database cannot contain tablespaces with the same name as the source
oracle. net Framework database access Program namespace: system. data. oracleclient. file Name: system. data. oracleclient. DLL, which is located in the global assembly cache. By default, VS 2005 does not reference this component. when used , you
I just got started with Oracle. Below are some simple configurations. I hope it will be helpful for beginners. I hope you can give some comments.
1. Create a database
1) start-ProgramNext, find Database Configuration assistant to enter the
1. data transmission between tables
1) ExploitationInsertTransmit data
Insert into test1 (select name2, age2 from Test2 );
From the operation above, we can see thatSelectAdd a batch to a tableAdd data, but note that the data type should be
OracleThe backup is generally completed on the operating system, so regular backupOracleIs generally completed by the operating system, suchCrontab. HoweverOracleOfPipeThe interface causesOracleDatabase passedJobTo back upOracleBecome possible.
1. Specify to enable resource restrictions. This change is invalid for password resources and password resources are always available.
Alter system set resource_limit = true;
(Disabled by default)
2. Create a profile
Create
The final example shows the sorting of internal loops:
SQL> Create Table T as select * From dba_objects;
The table has been created.
SQL> Create index ind_t_object_name on T (object_name );
The index has been created.
SQL> ALTER TABLE t
Em configuration command ==============================
Create an EM DatabaseEmca-repos createRebuilding an EM DatabaseEmca-repos recreateDelete An EM DatabaseEmca-repos dropConfigure Database Control for the databaseEmca-config dbcontrol
When you choose oracle as the database server, the client usually needs to install a fat M client, and also requires connection configuration, especially in the C/S mode, which is inconvenient when there are many clients. Of course, there is also a 1
Since publishing a blog on Oracle client-free. net (added analysis devart and DataDirect), a lot of people came to ask a variety of Oracle client installation and configuration problems, seriously affecting our team's normal work and daily
Oracle 11g allows marking an index as invisible. OracleSame as maintaining other indexesInvisible IndexBut the default invisible index cannot be used by the optimizer, unless explicitly setOptimizer_use_invisible_indexes= True (you can alter
Oracle is successfully installed on Redhat 5 in the morning. The archive mode is not enabled during database creation.
SQL> SelectName, open_mode, log_modeFromV $Database; Name open_mode
First, check which tables are locked:
Select B. owner, B. object_name,. session_id,. locked_mode from V $ locked_object A, dba_objects B where B. object_id =. object_id; Owner object_name session_id
From: http://www.cnblogs.com/ruanbl/archive/2008/02/29/1086398.html
Extract extracts and returns the value of a specified datetime field from a datetime or interval value expression.The field you are extracting must be a field
Function: Oracle Data Import/Export imp/exp is equivalent to Oracle data restoration and backup.
In most cases, you can use ORACLE data import and export to back up and restore data (without causing data loss ).
Oracle has a benefit, although
The previous project data used MSSQL and MySQL, and the orm used a lightweight dapper, which was very convenient and had better performance than ef. The key was the flexible syntax and ease of use, I feel very good when I develop several websites
When you want to drop a table, if the action to delete the table will cause a conflict between trigger and constraint, the system will receive an error warning and will not allow execution .. For example, if you have an employee basic data table,
(From http://duqiangcise.javaeye.com/blog/563296)
1. view the system permissions of the current user
Select * From session_privs;2. view all roles in the databaseSelec * From dba_roles;3. view the maximum number of roles supported by the databaseSQL>
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