in Oracle, case and then and decode usage one. Case... then syntax: – Writing one: CaseWhen value 1 then return value 1 when value 2 then return value 2ElseDefault Value – two: CaseWhen condition 1 then return value 1 when condition 2 then return
Transfer from http://blog.itpub.net/24052272/viewspace-2129175/Test environment:11.2.0.4 Winodows stand-aloneApplication Scenarios:Encryption and integrity checking of network transfer data between Oracle servers and clients.By default, the data is
Tag: Name byte operation-O-MF successfully configured CLU user managementReprinted from: http://blog.csdn.net/leshami/article/details/6100429Flash back technology is often used to quickly and easily recover a database of logic errors such as
27282436 = 27107360 (PSU) + 26925532 (OJVM)
0. In order to avoid installing patches running data dictionary scripts and system background jobs conflict, view Autotask, if there is enabled, first disable, after the patch and then
I. Common database objectsSecond, sequenceSequence: A database object that can be used by multiple users to produce unique values
Automatically provide a unique value
Shared objects
Primarily used to provide primary key values
Because of the problem of our initial data, we need batch import, we have created Oracle's MD5 algorithm to encrypt the username and password;Simple two-step operation:1. Write function:Create or Replace function "MD52" (passwd in VARCHAR2) return
Because a new 13T disk group is being added, it is decided to process it through ASMCA.As a result of the input ASMCA, there was no response, both before and after two days.On the third day, IBM's storage engineer has hung up on the heart of Mpio,
CONFIGURE SNAPSHOT controlfile NAME to ' C:\APP\ADMINISTRATOR\VIRTUAL\PRODUCT\12.2.0\DBHOME_2\DATABASE\SNCFNEWTEST. ORA '; # DefaultRman> Show snapshot controlfile name;The RMAN configuration parameters for the database db_unique_name for newtest
1. Preparatory workThe Oracle 11g R2 version of the database is installedCopy the ORACLE driver Ojdbc6.jar from the $oracle_home/jdbc/lib/of the database serverThe database has a table students, with 2 field IDs and a name2. Start Oracle Test1. Open
Views ViewA view is one of the objects of a database. A view is also called a virtual table, which is essentially a SELECT statement.The result set of a SELECT statement is given a name that is the name of the view.Role:1. Complex queries can be
Deepin System Manual Installation Oracle Jdk8 detailed tutorialsDownload the JDK archive from Oracle website and extract the files using sudo tar-zxf jdk***, which I placed under the HOME/DIY/JAVA/JDK path.JDK file path:/home/diy/java/jdk/jdk1.8.0_15
The Oracle database is not installed locally, but you want to use PL/SQL to connect to the server-side database.1. Create a new network folder, under which you create a new admin folder under which to create a new Tnsnames.ora file (copy the
Advanced query and paging query of OracleSQL, and advanced query of oraclesql
1. subquery
A subquery is a SELECT statement, but it is nested in other SQL statements to provide data for this SQL statement to support its operations.
Check who has
How do I update SQL statements for column data between oracle tables ?, Oraclesql
Table A (id, name, age, home_adders, phone_number) and Table B (id, name, adders, number, the two tables have two fields with the same id and name, and can uniquely
How can I quickly recreate a parameter file and password file in $ ORACLE_HOME/dbs by mistake ?, Oracle_homedbs
[Oracle @ 11g dbs] $ pwd
/Home/oracle/app/oracle/product/11.2.0/dbhome_1/dbs
[Oracle @ 11g dbs] $ ll
Total 24
-Rw ----. 1 oracle
Explain how to create and monitor Oracle scheduled jobs, and explain oraclejob
I. How to Create a scheduled JOB by version)
Method 1: sys. dbms_job.submit () before 10 GB ()
Method 2: sys. Dbms_Scheduler.create_job () after 10 GB ()
Ii. JOB
Oracle12c installation and uninstallation graphic tutorial, oracle12c graphic tutorial
1. Installation
1. Download the corresponding version from the official website.
2. The downloaded two compressed files are compressed into one folder.
3. Open
Explain the Oracle SQLPlus runtime environment, common Oracle System Function instances, and sqlplus instances
1. Introduction to the SET command
Set command sets the running environment of SQL * Plus. The syntax FORMAT OF THE set command is:
SET
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