1 Click Start to find Oracle directory,--click "Universal Installer", open click "Uninstall Product"2 "Besides Oracle_home1, the others are checked.3 "Click the" Delete "button before you must open the" service "to find all Oralce services, click to
The content is mainly from the reading study notes, the following records the common query execution plan method.2.2 How to view the execution plan1.explain Plan2.dbms_xplan Bag3.autotrace4.10046 Events5.10053 Events6.awr/statspack report
Data export:1 full export of database test, user Name System Password Manager exported to D:\daochu.dmpExp System/[email protected] file=d:\daochu.dmp full=y2 Exporting the system user in the database to the SYS user's tableExp System/[email
Oracle cannot be accessed remotely if it does not start the monitoring service, and an error occurs if using OCI or SQL developer. Start TNS Monitor: Lsnrctl startView TNS Monitor: Lsnrctl statusStop TNS monitoring: Lsnrctl stopOracle Remote
Scene: On 20 million data, modify their name plus the suffix "birthday". Normal sql:Update Set = ' Birthday ' where = 1 and not ' Birthday ');Optimize SQL:Declaretype Rid_array is Table ofrowIDIndex bybinary_integer;v_rid rid_array;v_count
Use the Case...when statement to determine its syntax in the following format:CaseWhen then pl_sqlsentence_1;When then pl_sqlsentence_2;...When then Pl_sqlsentence_n;[Else plsql_sentence;]End case;Specific examples are as follows:DeclareV_seasonint:=
Select Column_name,data_type,data_length from All_tab_columns where Table_name=upper (' table name ') and Owner=upper (' Database login user name ') ) Select Column_name,data_type,data_length from All_tab_columns where Table_name=upper ('
1. First log in as Sysdba conn/as SYSDBA2. Close the database shutdown immediate;3. Use mount to hit the database, startup mount4. Set sessionSql>alter SYSTEM ENABLE RESTRICTED SESSION;sql> ALTER SYSTEM SET job_queue_processes=0;sql> ALTER SYSTEM
Modify Oratab under 1.root User (n should be y):[Email protected] ~]# vim/etc/oratab mytest:/oracle/product/11.2. 0/db_1:y2.oracle User modified under:[[Email protected] ~] $CD $ORACLE _home/bin[[email protected] bin]$ vim DbstartFind
User name is: C # #NEWO=============================================================================/* divided into four steps *//* Step 1th: Create a temporary tablespace */Create temporary tablespace C # #NEWO_TEMPTempfile '
Use the%type keyword to declare a data type that is the same as the specified column name, which is usually followed by the specified column name.2 Benefits of using%type:1. Users do not have to look at the data types of individual columns in the
Refer to the Baidu Oracle regular expression--The beginning of the numberSELECT * FROM TMP where regexp_like (str, ' ^[0-9] ');--The numbers are in place from the beginningSELECT * FROM TMP where regexp_like (str, ' ^[0-9]+$ ')--The field is a
The principle and basic configuration of Oracle Dataguard, oracledataguardRecently, the group is working on a disaster recovery solution for the high availability of Oracle. We chose the "maximum performance" mode of DG without affecting the
In Linux, the problem of invalid Del key and return of sqlplus in Oracle is solved.
PS: Recently, I am studying oracle in my spare time because of my work needs. I found that when I remotely log on to the sqplus of oracle in Linux Using SSH clients
Select start with connect by prior, oracleprior
For recursive queries in oracle, you can use: select... start with... connect by... prior.
The following describes common methods of tree query in oracle, involving only one table.
I. Table creation
Oracle viewing object information, oracle viewing object
1. View information about all objects of a user:SELECT owner, object_type, status, COUNT (*) count # FROM all_objects where owner = 'xxx' group by owner, object_type, statusorder by 2;View
Oracle DB_LINK, oracledb_link
1. Create a remote database service name first (Note: if the server has both an oracle server and a client, you must configure the service name in tnsnames. ora of the server; otherwise, the following error is reported )
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.