Wmsys. Wm_concat (COLUMN) implements field merging.eg:select to_char (Wmsys. Wm_concat (DISTINCT e) over (PARTITION by a,b,c,d)) E from AA; Follow the bin field a,b,c,d Grouping Merge. The merged format is separated by commas (for example: e1,e2,e3)
Create 3 new log groups
sql> ALTER DATABASE ADD LOGFILE GROUP 4 ('/u01/app/oracle/oradata/orcl/redo06.log ') SIZE 500M;sql> ALTER DATABASE ADD LOGFILE GROUP 5 ('/u01/app/oracle/oradata/orcl/redo05.log ') SIZE 500M;sql> ALTER DATABASE ADD
As the company needs to install Oracle EBS for form development, it starts the painful Oracle EBS installation process. Just started to install EBS in the VM Win2003 server, I do not know whether my own level is too poor or bad luck, according to
NVL2 (EXPR1,EXPR2,EXPR3) function: If the parameter expression EXPR1 value is null, the NVL2 () function returns the value of the parameter expression Expr3, or expr1 () if the parameter expression NVL2 value is not null The EXPR2 function returns
CREATE OR REPLACE PROCEDURE p_replace isv_sql VARCHAR2 (2000); CURSOR cur is a SELECT * from User_tab_cols;tableinfo User_tab_cols%rowtype; Beginopen cur; Loopfetch cur into tableinfo; EXIT when cur%notfound;v_sql:= ' UPDATE ' | |
Problem:Plsql log in to the Oracle database has been prompted to be logged in, the program does not have any response to die, or navicat Premium has been unable to connect, but not prompt any error (personal is running the virtual machine will not
Use OCI to list data in all data table ' Email_info 'Ditto, just use OCI to writeRelated PHP (PHP training PHP tutorial) code:The following is a reference fragment:PUTENV ("Oracle (Oracle Training) _sid=orasid");$connection = Ocilogon ("username",
CREATE OR REPLACE TRIGGER trg_kc_sprk_iBefore INSERT on KC_SPRKFor each ROWDECLAREVSCBH VARCHAR2 (40);ICount number;IFOR number;BEGINSelect T.bhqz into VSCBH from Xt_djbhgz t where t.gzid=8;--Here is a prefix for getting a field from another table,
[Oracle] Get the data analysis you want from a string resourceRequirements: Order analysis, according to the game, account level, game account occupation, district clothing, price range analysis of the transaction data movement。Target: Order
Principles of SQL optimization
Use column names as much as possible
--sql Optimizing the Order of 2:where parsing: right-to-left
Select * from zl_yhjbqk where dy_dj = ' 1K or less ' and xh_bz=1Select * from Zl_yhjbqk where xh_bz=1
How to export an Oracle database from a server to a local Oracle Database: oracle Database1. Import the Oracle database on the server to the localRun the following command in CMD mode:Exp username1/password @ Server database file = Local Hard
ORA-01720 and ORA-01031 errors when GRANT/SELECT View, ora-01720ora-01031
For information about ORA-01031 errors when creating a view, refer to an article I 've previously compiled: Create view failed with ORA-01031: insufficient privileges,
How to Use UNIQUEConstraint
Oracle | PL/SQL Unique index (Unique Constraint) Usage1 goal
The following example shows how to create, delete, disable, and use uniqueness constraints.2. What is a uniqueness constraint?
A uniqueness constraint refers to
Oracle Check Constraints
Oracle | PL/SQL Check constraints usage1. The target instance explains how to use the CHECK constraint (create, enable, disable, and delete) in Oracle. 2. What is the Check constraint? The CHECK constraint adds additional
Document number generated by the oracle triggerCreate or replace trigger TRG_KC_SPRK_ IBefore insert on KC_SPRKFOR EACH ROWDECLAREVSCBH varchar2 (40 );ICount NUMBER;IFor number;BEGINSelect t. bhqz into vSCBH from xt_djbhgz t where t.gz id = 8; --
Abnormal Resource Status listening in oraclecrs (ora. LISTENER. lsnr)
I. Version Information
Operating system version: AIX 61009
Database Version: 11.2.0.3.11 (RAC)
Ii. Error description
1) when the crsctl stat res-t command is used to check the crs
Build a two-way replication environment from oracle to oracle
Objective: To build a Goldengate environment (DDL + DML supported) from Oracle to Oracle ).
Goldengate structure:
Environment:
OS: Red Hat Enterprise Linux Server release 5.5
OracleApex practical notes Series 2-File Upload Management1. Page Design
Page A has several region, one of which is used for file list management (including display, download, and delete) and. There is A button on page A. Clicking it will call page
ORACLEprofile limit maid 4 -- CREATEPROFILE
Â Â Æ ª ² Í Ê çoracle profile Ï µá Ð µäzúä ä£ £%öö %%%%%%µ%» â  £%%%%%%%%%%%%%%%%%%%%%%%%%%% comment ''¨ profile ° Í Ê Ó Ã profile ø Ø Ð × Ê Ô'' ° Í Ü Â ë ø öööCREATE PROFILE
Note:Oracle recommends that
IT Ninja Turtles-Oracle query Tree Structure
The select statement in Oracle can use the start with... connect by prior clause to implement recursive queries. connect by is used in structured queries,
The basic syntax is:
Bytes -----------------------
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.