First look at the table content
Select name, pass from T1;
2.
Method 1: Use the decode Function
Select name, decode (Pass, 'passs111', 'pass1', 'pass222', 'pass1', '', 'Password') from T1;
Note: If you do not list the possible
1) acess_info_null
The exception corresponds to the ORA-06530 error code. When developing an object type application, you must initialize the object before referencing the object property. If the object property is directly referenced without
Oracle backup features include:
Advanced Replication)
Streaming Replication)
Slave uard)
One worker uard:
Dataguard is generally the first choice for DBA in terms of high availability and Disaster Tolerance. After all, dataguard has an overwhelming
An error occurred while running an ocacle sqlldr (import data) command in Linux today.
Sqlldr username/password control = 'tbl _ EMP. CTL'
/Opt/Oracle/APP/Oracle/product/10.2.0/db_1/bin/sqlldr
(Switch the user to a user in Oracle first)
1.
Star conversion is a very powerful optimization technology. It is implemented by implicit rewriting of the original SQL statement, which can greatly reduce I/O. end users do not need to know any details about star conversion. The database optimizer
KingSoft Antivirus online update module is an online anti-virus update module.The ActiveX control in the online upgrade module of KingSoft Antivirus improperly processes user-submitted parameter data. Remote attackers can exploit this vulnerability
OverviewEnabling the database to automatically start when the operating system starts makes database maintenance easier and more convenient.I have written an article "Oracle Auto Start and Stop in Linux (I)" http://blog.csdn.net/chenxiao#/archive/200
Modify the Oracle system configuration file/etc/oratab/Etc/oratab format: Sid: ORACLE_HOME: AutoSet the auto domain to Y (uppercase). Only in this way can dbstart and dbshut of Oracle be used. Mine is:$ Oracle_sid: $ ORACLE_HOME: YHere, oracle_sid
Importing and exporting Oracle Data imp/exp is equivalent to restoring and backing up ORACLE data.
The exp command can export data from the remote database server to the local DMP file, and the IMP command can import the DMP file from the local to
Function Name: wmsys. wm_concat
Purpose: Separate the values of the join columns with commas (,).
Oracle 10 Gb introduction. Wm_concat can be used directly.
The following describes the actual usage conditions. Create a test table and some test data
Dba_xxx requires the permission to view the reports and views. Otherwise, the reports and views do not exist.
1. query all users (username, tablespace Information)
Select * From dba_users; select * From all_users; // select * From user_users;
2.
Oracle has been in use for a long time, and many new users and tablespace are added. You need to clear them.
For a single user and tablespace, you can use the following command.
Step 1: delete a user
Drop user ××cascade
Note: If a user is deleted,
Can be downloaded here
Http://www.oracle.com/technology/global/cn/software/tech/oci/instantclient/index.html
Decompress it to C:/oracleinstantclient1. Set Path = C:/oracleinstantclient2. Set tns_admin = C:/oracleinstantclient3. Create a
Like rownum, rowid is a pseudo column, which is a non-user-defined column and is actually stored in the database. Each table has a rowid column, and a rowid value is usedUniquely identifies a record in a database table. Therefore, using rowid to
Syntax:Select *From table nameWhere condition 1Start with condition 2Connect by prior current table field = cascade table FieldThe start with and connect by prior statements complete recursive records to form a tree structure, which can be used in
-- View the Oracle Instance name, host name, version select instance_name, host_name, version from V $ instance; -- view the details and digits of the Oracle version, other component Information Select * from V $ version -- view the database server
If your machine already has an Oracle database, it is very simple. navicat can be directly connected to Oracle.
According to the official documents of navicat, you only need to download the instance client of oracle. This package only contains some
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