Use sum to convert rows and columns. The original table www.2cto.com is expected to display each IDX_CODE column in the table in the query results. The result table is as follows: create table test (IDX_DATA_ID NUMBER (12) not null, org_no NUMBER (2)
Set the SQL * PLUS startup environment variable to d: \ oracle \ product \ 11.1.0 \ db_1 \ sqlplus \ admin \ glogin. SQL (the path of the above file depends on ORACLE_HOME), you need to find the file according to different versions. Www.2cto.com
In linux, emca re-build EM in oracle. If you change the machine name, you can re-create EM. Generally, you do not need to re-configure emca to re-create EM [oracle @ dev ~]. $ Cd/u01/app/oracle/product/11.2.0/dbhome_1/bin www.2cto.com recreate an EM
ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1] error handling 1 I wanted to deploy Data Guard today, but the slave database reported an error at startup: www.2cto.com ORA-00600: internal error code, arguments:
Oracle Data Guard, RAC, Data Gurad, and Stream are three tools in the Oracle high availability system. Each tool can be used independently or in combination. They have different focuses and different application scenarios. RAC is designed to solve
Frequently Used commands for Oracle Database imp and exp: www.2cto.com 1. import Data command: imp userid = fkprod/fkprod full = y file = xxx. dmp 2. export Database object command: use tools ---> export user object to export data tables only.
In linux, Oracle cannot be started due to IP address modification. The main issue is to modify the/etc/hosts configuration file. Configuration before modification: www.2cto.com 127.0.0.1 localhost192.168.2.50 CCXFIT-DBSERVER # The following lines
Oracle truncate table Truncate is a SQL statement used to delete data TABLE content: syntax truncate table name parameter name is the name of the TABLE to be truncated or the name of the TABLE to delete all its rows. The following describes the
Oracle result set cache: oracle adjusts the result set cache with only three parameters. RESULT_CACHE_MAX_SIZE = 500 M/* Megabytes RESULT_CACHE_MAX_RESULT = 20/* Percentage limit = 3600/* Minutes, but all queries are saved only when
Oracle wm_concat (column) function in Oracle data, use the wm_concat (column) function, you can merge the selected field data values; 1. merge a single field value, for example: SQL: select t. id, t. name, t. price, t. count, t. uid from goods t;
Oracle Database SQL single-row function-TRIM function of the character function can remove spaces of strings. For example: [SQL] select TRIM ('s 'from 'ssmith') from emp; -- delete the specified character and the result is: mith select trim ('oralce
Oracle changes the default port start listener [oracle @ localhost ~] $ Lsnrctl start stop listener [oracle @ localhost ~] $ Lsnrctl stop Step 1: Modify the Oracle port. stop the listening service Step 2: Modify the listener. ora and tnsnames. ora
RMAN delete expired & delete obsolete read the official documentation for explanation: delete exipired [plain] If you run CROSSCHECK, and if RMAN cannot locate the files, then it updates their records in the RMAN repository to EXPIRED status. you
The SQL subquery of the Oracle database is described in the preface, considering this situation: queries which employees have higher salaries than SMITH. To solve these problems, we need to first query the SIMTH salary and then compare the salaries
Example of stored procedures and stored functions and triggers 1. Example of stored procedures: SQL> create or replace procedure raiseSalary (empid in number) as pSal emp. sal % type; begin select sal into pSal from emp where empno = empid; update
Use PL/SQL to connect to other Oracle databases1. Download the Instant ClientOracle official website address: http://www.oracle.com/technetwork/database/features/instant-client/index-097480.htmlThe downloaded file is a compressed file. The
I was a newbie upgrading ORACLE databases from 10.2.0.1.0 to 10.2.0.2.0. Today I tried ORACLE database upgrades on a virtual machine twice, so I found that my initial thought was wrong! The original Database Upgrade requires two parts: 1. Upgrade
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