1.oracle View OperationsCreating view: Create view name as query data;Delete view: Drop view name;Cases:CREATE VIEW MyView as SELECT * fromTest_person;(You can modify the view, the modified data will affect the base table)CREATE VIEW MyView as
1. Syntax formatCreate [or replace] [(parameter,...) ]return datatypeas| is (local declarations) begin statement; return return_values; end name;2. Create a function named Annual_comp to return the annual salary by receiving two variables
Is archiving mode really that important?For Oracle database, must be set to the archive mode, especially the production library, only in order to achieve a valid database full recovery, for security, remember.It is dangerous for some databases to be
1. VS occurs this issueProblem Analysis: An error occurred when the local computer installed the Oracle client as a 64-bit client, and the VS Startup Web site started with the 32-bit IIS Express by default.Solution:Scenario 1, the local computer
1. First we can log in to Oracle as SYSDBA as a Scott user.Conn Scott/ as Sysdba 2. Then I'll be able to create the user.Create User by 123; 3. Create a good user we can then modify the user's password.Alter User by Chen; 4. By default, the
Recently contacted Oracle again for work reasons, so re-acquainted with Oracle's basic commands.--Change Password1. Run-type "cmd" carriage return2. Type "Sqlplus/nolog" carriage return3. Type "Conn/as sysdba" carriage return4. Type "ALTER user
I. Smon: System monitoring Process1. Mainly submitted data but has not yet been written to the data file to power down, restart the time, the Smon will be restoredA. Roll forward, the redo log file has been written but no data has been written to
Enter the machine and set the environment variables, such as:Export oracle_home=/main/app/oracle/product/11.2. 0/db_1export oracle_sid=devdbThen switch Oracle user, admin mode login Sqlplussu - oracle[[email protected]~]$ sqlplus/nologsql>
--Create TableCreate TableDEPT2 (DEPTNO Number(2) not NULL, DnameVARCHAR2( -), LOCVARCHAR2( -));Alter TableDEPT2Add constraintDept_pkPrimary Key(DEPTNO); ------Demo.ctlLOADDatainfile*---* indicates that the data is in the control file into TABLEDEPT2
Oracle's Dataguard environment has two types of physical standby and logical standby.Physical standby is transmitted redo to the standby end, and then by the standby side of the MRP process to apply the redo to achieve the same time effect.LOGICAL
The recent systematic study of Oracle SQL statement Performance Tuning has come to the conclusion that many performance tuning on the web is wrong or not comprehensive.Now the DBA Daniel are too low-key, not come out treatise, the younger brother to
The client asked which side of the data buffer was cached across Dblink, when combined with local and remote tables.The result of the test is that the local cache is locally cached and the remote table is cached at the remote end.# # #Testcase-0929-1
A stored procedure is called with Oracle's job, such as a stored procedure that is trapped in a dead loop or other cause, and the status of the job is always running. At this point, the stored procedure is called manually, and the stored procedure
The complete query statement is similar to this:Select ..., ROWNUM where have; The order in which it is processed is:
First, execute the from/where statement
Assign ROWNUM to the result and ROWNUM filter according to From/where
Oracle establishes tablespaces and users
To establish the tablespace and the user's steps:
User
Create:Create user username identified by "password";
Authorization:Grant create session to user name;
Grant create table to user name;
Manage Oracle databases, from the simplest startup and shutdown databases.If Oracle is running under a Linux system, first of all, to connect to a Linux system,The SECURECRT is an ideal tool for connecting remote systems that run Windows, UNIX, and
1: The company database began to use the MySQL, because the company is doing a confidential project, so in the project log too much when the project has an explosion of the signs AH (30 billion data, seemingly MySQL a little support). Then the team
Each database has a Alert_.log file, and the default storage path is $oracle_base/diag/rdbms///trace.A database alert file is a log file that lists messages in chronological order, such as:
Any non-default initialization parameters used at
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