Http://www.cnblogs.com/hxw/archive/2005/09/11/234619.html1. 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
There is currently a database has a system user Sysuser have all the permissions of the table, another system wants to access a table in my database, I do not want him to control all the tables of my database, all I have a new user, control this
2. Modifying parametersParameters inside the SPFile and pfile files:orcl.__db_cache_size=373293056orcl.__java_pool_size=33554432orcl.__large_pool_size=4194304orcl.__shared_pool_size=192937984Orcl.__streams_pool_size=0*.audit_file_dest=
Permissions: Sub-system Permissions and Object permissions (object permissions are permissions for action tables, views, and so on)Roles: Sub-predefined roles and custom roles, roles are assigned a series of permissions.Give the User a role: The
Can't login em, execute emca-config dbcontrol db do not know always default 1522 port number, helpless, Google some, from the second step below to start execution ... (My monitor is fine)1. Open the net config Assistant in the Oracle Configuration
1.how to find invalid status stored procedure and recompile them?SELECT object_name, status from user_objects WHERE object_type = ' PROCEDURE ';Alter procedure Schme.procedurename Compile;Lack of practice is not a complete study of learning,
1. User-Createdsql> CREATE USER rusking2 identified by rusking3 Default Tablespace users-specifies that the defaults table space is users. If you use the system default Tablespace, you can actually do so without specifying it.4 QUOTA 10M on the
Invoking an Oracle stored procedure in JavaThis article describes how to invoke Oracle's stored procedures through Java1. Writing Stored ProceduresCREATEORPROCEDURE sp_pro3(sp_name VARCHAR2,sp_sal NUMBER )ISBEGIN --根据用户名修改工资 UPDATE emp SET sal=sp_
Because the job content is written dead, if the use of remap imported to another user, its log_user, and so on, and the job ID is fixed, and the current library is likely to conflict, it is recommended to remove the job's DDL.DBMS_METADATA.GET_DDL
SQL UNION operatorThe UNION operator is used to combine the result set of two or more SELECT statements.Note that the SELECT statement inside the UNION must have the same number of columns. The column must also have a similar data type. Also, the
The architecture of Oracle database is to analyze the composition of the database from a certain angle, the working process and how the database manages and organizes the data, including the physical storage structure, logical storage structure,
(1The code for the lock table query is in the following form:Select Count(*) fromV$locked_object;Select * fromV$locked_object; (2) to see which table is lockedSelectB.owner,b.object_name, A.session_id,a.locked_mode fromV$locked_object A,dba_objects
1.merge into usesMerge is a very useful feature, almost the same as the merge into function in DB2, similar to the INSERT into on duplicate key in MySQL. MERGE into is a new feature that appears only after Oracle 9i. In a nutshell, it can be a
Powerful booster for Oracle database selection to optimize data centers
In the era of cloud computing and big data, the ever-changing business environment puts more stringent requirements on enterprise IT infrastructure. In order to provide strong
Invalid ale Data Processing and constraintsOther DML statements for data processing:
INSERT① Insert into table [(column [, column…])]VALUES (value [, value…]);With this syntax, only one data entry can be inserted into the table at a time. You cannot
Oracle: Other Data Objects (sequences, indexes, synonyms)1. sequence)
Sequence: A set of database objects that can be used by multiple users to generate unique values.Unique value automatically providedShared objectIt is mainly used for primary key
Oracle Storage StructureOracle Storage StructureStorage Structure-Table Storage StructureTable space: A table space is composed of one or more files. The space capacity of a table space is the total size of multiple files.Create an intermediate
2015 first blog, Oracle time period query, comparison of TO_DATE and TO_CHARPreface:During time period query, when TO_DATE is used, including the start date, not the end date;When TO_CHAR is used, the start date or end date can be included. Effect
1
Eight learning points to help you fully understand Oracle databases
TableSpace
Tablespace:
One tablespace corresponds to multiple data files (physical dbf Files)
Create a tablespace using the syntax and log on to the table using sysdba:
-- Create a
How to Use the Oracle optimizer to get twice the result with half the effort
1. select an appropriate Oracle optimizer
There are three optimizer types in Oracle:
A. RULE (RULE-based) B. COST (COST-based) c. CHOOSE (selectivity ).
Set the default
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