1. With-as-select syntax: equivalent to temporary tableWith T as (SELECT * from emp where deptno=10)select * from T;2. Case syntax and decode syntaxDECODE (Value,if1,then1,if2,then2,if3,then3,..., else)1 Select(2 Caseename3 when
-----Unlocking User StatementsAlter user Assp_test account unlock-----1, the DBA role of the user login, unlock, first set the specific time format, in order to see the specific timeAlter session set nls_date_format= ' Yyyy-mm-dd hh24:mi:ss ';-----2,
Linux installs Oracle client separately (Oracle clients)
Updated: 2013-10-17 18:30
|
Tags:linux oracle
1. To use Oracle remotely, download the following three files first, and note that the best version is the same.
Before the project time to download an open source program, the database in the migration through the Exp/imp import and export, the results of the program in the start times wrong, after comparison found two database table more than 10, and then
1. Development environment Installation Oracle Odp.net : http://www.oracle.com/technetwork/topics/dotnet/utilsoft-086879.html???? Download 32-bit Oracle Data Access Components (ODAC) with Oracle Developer Tools for Visual Studio???? Of course you
Create or Replace function f_split_condition (start_string VARCHAR2, V_flag VARCHAR2)/*** Replace the given START_STRINGN string with a comma-delimited string by V_flag* For example: 12-34-56 replaced with ' 12 ', ' 34 ', ' 56 '* Use loop Loop to
First, create a 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;Note: Oracle has a problem, the password
cenOS5.5 installation oracle10g (Fool article) http://www.cnblogs.com/fnng/archive/2012/06/19/2554159.html (Turn)Installing Oracle 10G on cenOS5.5 It's not that fresh stuff, but it took a week to build it around. I think everyone will encounter some
--table backups in the Oracle database:--BACKUP statement: After the backup, you can delete all the data sources for this table, but then someone will manipulate the table's data, but remember to restore the data table after the operation is
Insert operation:
1. Copy the table structure without adding data:
--Copy table structure without inserting data create TABLE Emp_new as SELECT * from emp where 1 = 2;select * from emp_new;
2. With CHECK option, the mating view
Category: LinuxOracle data import and export imp/exp is equivalent to Oracle data restore and backup. The EXP command can export data from a remote database server to a local DMP file, and the IMP command can import the DMP file from a local to a
Description Creates a Non-query record group with the given name. The new record group has no columns and no rows until you explicitly add them using the Add_group_column, the Add_group_ro W, and the Populate_group_with_query
Instance 1--IF statement/* Web Oracle Database development must be pl/sql_2-3Determine the number the user has entered from the keyboard1. How to use the IF statement2. Receive input from a keyboard (string) */Set serveroutput on;--Receive a
Instructions for using the REGEXP_SUBSTR function in Oracle: The topics are as follows:In Oracle, a statement is used to implement the ' 17,20,23 ' split into a collection of ' 17 ', ' 20 ', ' 23 '. The REGEXP_SUBSTR function is formatted as follows:
Mathematical functions
Serial number
function function
SQL Server usage
Oracle usage
1
Absolute
Select ABS ( -1) value
Select ABS ( -1) value from dual
2
Rounding (Large)
A lot of ways to change a column, I think this first glance understand the use of this method.This is the case. The first few columns of the following data are the same, and you need to put the values of the Vat_value_char on the same line.SELECT
Views and synonyms are the names of objects in the database, each of which does not correspond to the actual data store , and is dependent on the existence of other objects.Views: Views can be viewed as virtual tables or stored queries. Unless it
After OracleLinux6 is restarted, the content of the/etc/hosts file is changed.
Applicable:
Linux OS-Version Oracle Linux 6.1 and laterLinux x86Linux x86-64
Symptoms:After Oracle Linux6 is restarted, Network Manager edits the/etc/hosts file.For
Oracle exception examples
This example describes Oracle exception usage. We will share this with you for your reference. The details are as follows:
I. Exception Classification
Oracle classifies exceptions into predefined exceptions, non-predefined
An error occurred while using CVU to check shared storage.
Today, when CVU is used to check shared storage, a problem occurs:
[grid@rac1 ~]$ cluvfy comp ssa -n rac1,rac2 -t data -verbose Verifying shared storage accessibility Checking shared storage
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