Window:
IMP must be a DBA user. Therefore, use sysdba to log on and grant the chnlmgr user DBA permission.Grant connect, resource, DBA to chnlmgr;Import allIMP chnlmgr/chnlmgr @ orcl file = tyqk_catalog_data_2013-03-19.dmp full = y ignore = y
-Basic connection operations
Sqlplus scmgt/scmgt as sysdba connect to the Oracle database // scmgt
Sqlplus "scmgt/scmgt @ testdb" connects to another databaseSelect name from V $ database; view the current database nameSelect table_name from all_
Oracle RAC
Full name: Oracle Real Application Clusters, that is, Oracle Real-Time ApplicationProgramCluster, so that different applications can access multiple Oracle instances as if accessing one Oracle instance (of course, the performance is
I often see this problem with my friends on the forum.
Oracle InstallationWhen you start eclipse again, the system prompts that the JVM version is too low and there is no problem before installing oracle. In addition, the JDK installed on this
The content of this article includes: deleting and modifying tables, deleting and modifying fields, deleting and modifying primary keys, foreign keys, unique, non-empty, and default constraints.View All Your tables: Select * From user_tab_comments;
———————————————— Hello World ——————————————————————
create or replace procedure HelloWorld ASbegin insert into MYPROCEDURE(id,name,city,MANAGER)values(1,'ss','ss','ss');end HelloWorld;
Stored procedures are generally divided into
1. Create a sequence
Run the following command to create a sequence ):
CreateSequence test_sequenceIncrementBy 1 --Data added each timeStartWith 1 --Count from 1Nomaxvalue --Do not set the maximum valueNocycle --Always accumulate, not loopCache10;[
It took more than an hour to install the 11 GB package. It took a long time for SQL developer to complete the task. Now, let's summarize the installation steps and hope to improve the installation efficiency for the children's shoes. Haha. I. Oracle
Solve the problem that the OEM cannot be opened
Emctl start dbconsole
Set oracle_sia = xsgj
Emctl start dbconsole
Set oracle_hostname = localhost
Emctl start dbconsole
Change the Oracle-> product-> 11.1.0-db_1> gmx-PC_XSCJ name to
1. Problem SourceIn Oracle, you can use dbms_output.put_line to print the prompt information, but it is easy for the buffer to overflow.You can use dbms_output.enable (1000000); To set the buffer size.However, if there is a size, it may overflow
As we all know, the oralce client is several hundred megabytes too large, and there are many dir processing on the Internet. Here we use the official oralce toolkit Instant Client package!
:
Recently, you may need to connect to a remote ORACLE Server. Although many tools can be connected, such as dbvisualizer and navicat, it is well known that, pl SQL developer is incomparable to any other tool in Oracle operations. In addition,
"(+)" Can be used in Oracle, and 9i can use left/right/full outer join.Left Outer Join: left Outer JoinSelect E. last_name, E. department_id, D. department_nameFrom employees eLeft Outer Join orders ments dOn (E. department_id = D. department_id );
Steps:
1) Check the last date, next date/failure times, broken, and check whether the job fails to run multiple times because of the exception or deadlock in the Stored Procedure executed by the job, it is automatically broken. This is usually the
Exec pro_create ('lt _ oa_sms ', 'smsid ');
First, perform the first step:
Create sequence auto_add -- sequence name (auto_add is a series name, just name it)Increment by 1 -- increase by 1 each timeStart with 1 -- start from 1Nomaxvalue -- no
1. What are the partition tables (indexes )?A partition table is a kind of data storage mechanism. It stores the data of a table in different memory segments, these different storage partitions are partitions ). Why? One of the reasons is that when
This article was transferred from the Oracle website. Although this article is from Oracle, there are some advertisement components, but I think the big-sector content is still true. We will not see from this comparison that the advantages and
1. Permission OverviewPermission is the user's power to execute a function. In Oracle, permissions are divided into system permissions and entity permissions based on different system management methods. System permission refers to whether
Create an Oracle database (taking Oracle10g as an example)
There are two ways to create a database: one is to create a database manually using a command line script; the other is to create a database using the Database Configuration Wizard provided
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