Oracle case when changes the queried value based on the result

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

Common Oracle pre-defined exceptions

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

Differences between Oracle Advanced Replication, stream replication, and slave Database

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

Environment variables in Oracle (ORACLE_HOME and oracle_sid)

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.

Oracle star schema

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

Main Configuration File explanation for Oracle)

Oracle configuration file introduction: Profile file, oratab file, database instance initialization file initsid. ora, Listener Configuration File, sqlnet. ora file, tnsnames. ora File 1.2 introduction to major Oracle configuration

Common Oracle classic SQL query stickers)

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

Oracle automatic start and stop in Linux (2)

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

Oracle automatic start and stop in Linux (1)

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

Common Oracle DBA Statement 2

11. View the parameter information of a data table: Select partition_name, high_value, partition, tablespace_name, pct_free, upper, lower, max_trans, upper, next_extent, min_extent, max_extent, upper, freelists, lower, logging, buffer, num_rows,

Common Oracle DBA statements 10 (group)

######################### Enhanced Group by clause ######### ############### select [column,] group_function (column )... from table [Where condition] [group by [rollup] group_by_expression] [having having_expression]; [order by column]; -------

Oracle exp imp usage

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

Use of the Oracle built-in function wmsys. wm_concat

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

Oracle user information query and operation statements

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 deletes users and tablespaces

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,

Install Oracle Instant Client

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

Database access using Oracle rowid

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

Oracle start with connect by prior usage

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

Common Oracle DML

-- 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

02-use navicat to connect to the Oracle database

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

Total Pages: 2147 1 .... 1413 1414 1415 1416 1417 .... 2147 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.