1. Oracle Index NULL problemWhen a single-column index is established on an empty merit column, if the search condition is null in the interpretation plan you can see that Oracle does not use index queries for this column;However, when a
Oracle gets a list of months between a time periodGet a list of months between a time period (example returns a list of months from 2009-03 to 2010-03) SELECTTO_CHAR(ADD_MONTHS(TO_DATE(‘2009-03‘,‘YYYY-MM‘),ROWNUM-1),‘YYYY-MM‘)
1. View the values of the current two parametersSqlplus/nologSql>conn/as sysdbasql>select Count (*) from v$session; From here we can see the current session numbersql>select Count (*) from v$process; From here we can see the current number of
The permission system of Oracle database is divided into System permission and object permission. System permissions (Database system privilege) allow the user to execute a specific set of commands. For example, the CREATE TABLE permission allows a
Execution of the UPDATE statement was found to be unsuccessful for half a dayUpdate Main_order Set order_source = ' 2 ', order_status = ' 2 'Query which objects are lockedSelect object_name , Machine , s.sid, s.serial#from
How to modify user passwords in OracleIn the Oracle database, use ALTER user to modify the user password.GrammarALTER USER user_name identified by New_password;Parameter description:USER_NAME: The Oracle database user who wants to modify the
The core of the Oracle database is the table, with the following common data types used by the columns in the table: CHAR (length)Stores a fixed-length string. The length of the parameter is specified, and is padded with spaces if the stored string
Select Tp.technic_product_code,Tp.technic_product_name,Mp.marketproduct_code,Mp.marketproduct_nameFrom Marketproduct_info MP, Technic_product_info TPwhere Mp.id_technic_product_info = Tp.id_technic_product_info (+)1) + written on that table,
in theOracle 10gversion ofPatchsetinside, there's only one fileDisk1. to theOracle 11.2.0.2and the11.2.0.3of thePatchsetthe size is soaring. 11.2.0.2and the11.2.0.3version ofPatchsetis a5G. it5Ghave a7files are made up of. is a patchset of 11.2.0.2.
Oracle has so many pits.The pits that have been waded are:1, cold backup. Win32 to Win64 need to perform a number of steps.2. Gradually open the database.Close: ShutdownOpen: Startup Nomount alter DATABASE mount; ALTER DATABASE open;Oracle boot is
Kingdee BOS system table T_bas_message table is used to store system messages. In practice, the client defaults to 15-minute queries for new messages at a time The user is basically not going to delete the read message, which makes the table
In the left join of SQL, you can add more than one condition on the right side of the link, and the following rules are found in the project development process.SELECT * from A LEFT join B on A.id=b.id and 1<>1;For this statement you think the query
1. According to rowID to divideSELECT * from T_xiaoxi where rowID in (the Select Rid from (select RowNum rn,rid from, select rowID rid,cid fromT_xiaoxi ORDER BY cid Desc) where rownum9980) the ORDER by CID Desc;Execution time 0.03 seconds2.
1. The GROUP BY statement does not have a sort function in Oracle and must rely on order by to achieve the ordered results2, GROUP by cube extension1 withTest as2 (3 Select 1Id2Name fromDual4 )5 SelectId,name fromTestGroup byCube (id,name);6 7
Several types of characters common to Oracle:
The length of the char is fixed and the maximum length is 2K bytes. For example, you define char (20), and even if you insert ABC, less than 20 bytes, the database will automatically add 17 spaces
Oracle Database for database Field Data TypeModify the Data Type of Oracle Data Columns
Method 1:
// Create the same temporary table
Create table T_BUSINESS_MODEL_TEMP as select * from T_BUSINESS_MODEL where 1 = 2;// Change the data type of the
Use connect by prior in oracle to implement recursive query !, Oracleprior
Note: This article to reference other people's articles, links: http://blog.csdn.net/apicescn/article/details/1510922, I recorded just to facilitate viewing
Original article:
Oracle11gR2 + CentOS6.3 Database Installation1. install necessary OS installation packagesWe recommend that you install the operating system to the maximum extent, because the impact of current hardware on the maximum installation on the database
Oracle group statement inquiry (Note), oraclegroup
1. The group by statement does not have the sorting function in oracle. order by must be used to sort the statements according to the predefined results.
2. cube extension of group
1 with test as 2 (
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