CREATE OR REPLACE FUNCTION "Ufn_getids" (Opekind in VARCHAR2,--query type PARAMS in varchar2--query field) RETURN Clob is Str_return clob;--varchar2 (30000); BEGIN if opekind = ' 1 ' then & nbsp DECLARE Cursor Cusor1
Oracle can use the Decode function to sort by custom order:Select * from ( Select 'Nick' asItem fromDualUnion All Select 'Viki' asItem fromDualUnion All Select 'Glen' asItem fromDualUnion All Select 'Robin' asItem fromDualUnion
Year, English full name of vintage
YYYY: Year four-bit representation
Yyy,yy,y: The last three, two, or a bit of the year, the default is the current century
Month Number of mm:01~12
Month: Nine characters in months, and the right is
1. Modify the user password: Log in to Sqlplus as DBA and enter the command:ALTER USER username identified by NewPassword;Note here: The new password must not be less than 7 characters Upper The first character cannot be a number.2. Unlock user
Two Oracle instance, if you need to directly query the data on another instance on a instance, use the Db-linkCreate:Create Public Database Link name to by Password ' ( DESCRIPTION = ( ADDRESS = (PROTOCOL = TCP) (HOST = server IP) (PORT =
The initialization parameters of the Oracle database are mainly derived from the two Oracle internal data dictionary tables: X$KSPPCV and X$ksppi usually we query the V$parameter view or use the show parameter command from both system tables,
Application background: You need to view and modify the data in the Interlib, so you have to repeatedly import and empty the backup data. Organize your steps
Delete TablespaceDrop tablespace interlib including contents;
Delete UserDrop
1. Start-> Settings-> Control Panel-> Management Tool-> Service stop all Oracle services.2. Start-> Program->oracle-orahome92->oracle installation products-> Universal Installer Uninstall all Oracle products, but Universal Installer itself cannot be
Odp.net connection method, deployment problem summary, odp.net deployment
I. Summary
During C # development, you often need to operate the Oracle database. When deploying a program, you often need to follow the requirements of the system
Use JDBC to change the session parameter NLS_DATE_FORMAT of Oracle
Except for one problem recently, this is probably the case. The project is developed abroad and a large number of Oracle functions TO_DATE are used in the project development process,
A simple example shows Oracle's "selfless" robustness
Oracle's strength lies in its ability to always help you choose the right execution plan, even if you give it wrong instructions.
Lab:
1. Create a test table:
Collect statistics:
Create a
General framework of Oracle
The physical structure of Oracle includes parameter files, control files, data files, redo log files, archive files, and password files.
1.1 parameter file
This includes a large number of settings that affect the
Single-row oracle FunctionsZookeeper
Single Row Function①. Character FunctionsLOWER (x): converts each word in x to lowercase.UPPER (x): converts every word in x to uppercase.INITCAP (x): converts the initial letter of each word in x to
Modify the redolog size of the dead ledg bad environment master database-- Standby database standbyThe four redologs in the master database were previously 50 MB in size.SQL>Alter database recover managed standby database cancel; Database altered.
Servlet update execution error ORA-12518
ORA-12518: TNS: listener cocould not hand off client connection
This error is generally tested for database concurrency by multiple users,
The backend executes an update using the servlet method, but the
Whether the maximum number of connections is set in oracle or an error is returned
There are 1100 data records to be updated, and an error is reported during connection.
ORA-12518, TNS: listener cocould not hand off client connection
According to
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