What is the synonym "synonym"?(1) For some long names of objects (table, view, index, sequence, ...) ) do the subtraction, Replace with aliasesThe role of synonyms(1) Shorten the length of the object name(2) Easy access to other users '
Oracle Number of connections too many release mechanism sqlplus/nolog open sqlplus connect/ As sysdba Use DBA authority to login oracle Show parameter resource_limit shows whether resource qualification
Today, I have encountered the problem of 11GR2 connection, before, because the application there is no in-depth inspection, did not find specific reasons, think of this version of the Oracle bug it.The last approach is to use the shell script to
1) SELECT * from T1 where exists (select 1 from T2 where t1.a=t2.a);When the T1 data volume is small and the T2 data is very large, the query efficiency of T12) SELECT * from T1 where t1.a in (select t2.a from T2);T1 data volume is very large and T2
1.PLSQL button not valid when importing and exporting DMPExport button is invalid because export executable does not add Exp.exe configuration, import is the same problem;2.EXP Unable to export DMP fileIf the Oracle client is an install-free version,
The job's interval is set to sysdate+1 results A lot of customers this time will eventually become a mess of eight bad,or import, or manual execution, and so on, there will be automatic change, and many,Felt somehow, andToday, the Internet search,
"Turn from": http://www.2cto.com/database/201406/306615.html1. Http://www.oratechinfo.co.uk/http://www.oratechinfo.co.uk/2. Oracle Official Document Rollup 1> 10.2 Official Document http://www.oracle.com/pls/db102/homepage2> 11.2 official
One: Case control functionLower () function: (This function will change all uppercase letters to lowercase letters)
Upper () function: (converts the input string into uppercase letters)
Initcap () Function: (Capitalize the first letter
There are two main analytic functions used in the work, one is sum () over (partition by ... order by ...) The other one is lead (lag) over (|partition By|order by)Sum does not need to say much, mainly by the partition by the field, the total, the
When we don't know what the data is, it is unknown, it can be null, we call it null, and in Oracle, the table column with null values is zero in length.Oracle allows fields of any one data type to be empty, except for the following two scenarios:1,
Create a new control file based on an existing database#数据库必须是mounted或open状态sql> ALTER DATABASE backup Controlfile to trace;You can use the following shortcut to find the corresponding trace filesql> ALTER DATABASE backup Controlfile to trace;sql>
by using PL/SQL bulk query fetching, each column of data in Excel is copied and pasted into the new intermediate table, which is sticky when pasted, that is, some columns will be inserted into the whole column from the second third row, causing the
Oracle System account password expiration resolution.The password for the system account is valid for 180 days, and when the password hint has expired,This can be resolved in the following ways:1> input sqlplus in DOS window, prompt to enter account
-======================--Oracle Cold backup--======================One, cold backupThe process of completing all physical system file copies in a closed state, also known as offline backupSuitable for non-archive mode, the database is in a
To_date---->> Date_formatSELECT * FROM dual---->> Select ' * ' from dualrownum---->> LimitThe table name is changed to uppercase.Modify dialect, MySQL default dialect is not Bigdecimal,long,textReference needs custom dialectPackage
Recently encountered a more common problem, each row of records need to accumulate sum. These problems are not how difficult, mainly in the process of work will often encounter, especially Oracle's own some of the functions can also be a good
Turn.The Oracle Supplemental logging feature can be divided into the following types of functions: Minimum (Minimal), support for all fields (all), primary key (primary key), unique key support (unique), support for foreign keys ( Foreign key).
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