1. Previously, SQL was used without deep learning of the underlying knowledge of the database, especially in terms of how it processes and how locks and underlying data are stored.2. Gradually in the development of the database requirements are
1. Create a new tablespace newspaces (original tablespace oldspaces)2. Export data from the original tablespace (TEST.DMP), then import the previously exported data (TEST.DMP) in the new tablespace, and select Import from user to user3. Execute the
Management of Oracle UsersCreate userOverview: In Oracle, to create a new user using the Create USER statement, you typically have DBA (database administrator) permissions to use.Create user username identified by password; (Oracle has a problem,
First of all, the judgment is not really expired. Input statement: SELECT * from Dba_profiles where profile= ' DEFAULT ' and resource_name= ' password_life_time '; If the display
Profile
-------------------------------------------------
Oracle minus KeywordsThe minus keyword in sqlThere is a minus keyword in SQL that uses two SQL statements to find out the results of the first SQL statement, and then see if the results are in the results of the second SQL statement. If so, the
--determine if the table exists and delete if it existsDeclareNum Number; begin Select Count(1) intoNum fromAll_tableswheretable_name= 'EMP' andOWNER='SCOTT'; ifNum=1 Then ExecuteImmediate'drop table EMP'; End if; End; /
USEREVN () in Oracle1.USEREVN ()Returns information about the current user environment, opt can be: entryid,sessionid,terminal,isdba,lable,language,client_info,lang,vsize1.ISDBA See if the current user is a DBA if yes returns true sql> select
Racle 10g Wmsys.wm_concat Use of the row and column conversion functions:First let's take a look at this magical function wm_concat (column name), which separates the column values by the "," number, and displays them as a line, and then the example
ORACLE 11G features a new feature that does not allocate segment when the table has no data to save spaceWorkaround: 1, insert a row, and then rollback will produce segment.The method is to insert data into the empty table and then delete it,
Mongolerman recovered to a remote or remote location
The original database server uses rman to back up the entire database, and then restores the same database on the remote server. 1.1 The first step for the original server to back up the database
Oracle retrieves 4 to 10 rows from the row range query and sorts the rows with oracle10
Rownum cannot be used directly. aliases must be converted after query.
Take the EMP table as an example and take 4 to 10 rows:
Select * from (select rownum id,
Oracle users, oracle users
Create user ng_zj identified by ng_zjDefault tablespace tbs_testTemporary tablespace tbs_test_tmp;Grant connect to ng_zj;Grant resource to ng_zj;Grant create table to ng_zj;Grant create sequence to ng_zj;Grant create
PLSQL _ How to determine how long it takes to insert a long script into 0.1 billion pieces of data v $ SQL/v $ sqltext/v $ sqlarea/v $ SQL _plan (CASE) (monitor SQL efficiency), sqlarea
2014-08-27 BaoXinjian
I. Summary
When executing a PLSQL
Oracle Database official statement does not support Vmware
Oracle explicitly stated on its official Support website in September that it does not Support running Oracle databases on VMWare.What should we do in the current era of virtualization?I
Oracle Silent Installation
Download the oracle installation package:
:
Note: To download oracle, you must register oracle.
Http://download.oracle.com/otn/nt/oracle11g
Download two
Detailed process of user interaction with OracleDB
Interaction with Oracle DB
The following example describes the Oracle database operations at the most basic level. This example shows an Oracle DB configuration in which the user and the
Connection sequence in the WHERE clause of Oracle performance optimization learning notes
ORACLE uses the bottom-up sequence to parse the WHERE clause. According to this principle, the join between tables must be written before other WHERE
Oracle local management comparison data dictionary management tablespaceLocally vs. Dictionary Managed TablespacesOrganized from: http://www.orafaq.com/node/3.When Oracleallocates space to a segment (like a table or index), a group of contiguousfree
Oracle10g (32, 64-bit) is successfully installed in win7 (32, 64-bit) and whether the installation is successful
Win7-32-bit installation 32-bit oracle10g, win7-64 32-bit installation, 64-bit oracle10g can refer to this case.
Reference:
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