Introduction to Oracle case when [Z]

Oracle case when usage1. The case when expression has two forms: -- Simple Case FunctionCASE sexWHEN '1' THEN 'male'WHEN '2' THEN 'female'ELSE 'others' END-- Case search functionCASEWHEN sex = '1' THEN 'male'WHEN sex = '2' THEN 'female'ELSE 'others'

LoadRunner calls the Oracle Stored Procedure

In order to test the stored procedure, I went around and did it. Here I will talk about what I thought when I received the task and started. Method 1: At first, I thought that I could use C # To directly call the stored procedure, and then use

Oracle Database log redo log work notes

Oracle Database logs are called redo logs. All data changes are recorded in redo logs, which can be used to repair damaged databases. Large Databases use logs. The benefits of this design are the same. Redo logs are grouped. A database must have at

Oracle read-only transaction Test Study Notes

In oracle, only select statements in read-only transactions cannot have DML statements. All queries can only view the data before the transaction starts. Next I will introduce you to the Oracle read-only transaction test instance. We know that

Specific oracle backup recovery methods

1.1 full database backup of Database DataNote: This operation requires you to start the database. Switch to the oracle user and create the backup directory on the OS side: Mkdir/oracle/backup Log on to the oracle database and create a backup

Oracle Database Backup in Linux

First, we will introduce some commands to back up and restore oracle databases without using scripts.Oracle Data Backup:Step 1. Back up user data.1. Use the database administrator account in linux to connect to the linux terminal.2. Execute the

Oracle bbed restore and delete data instances

Restore Deleted Data1. Create a simulated environmentCopy codeThe Code is as follows:SQL> create table hr. xifenfei (id number, name varchar2 (20) tablespace xff;Table created.SQL> insert into hr. xifenfei values (1, 'ifenfei ');1 row created.SQL>

ORACLE Field Auto-increment can be easily implemented in three simple steps.

Step 1: Create a table.Copy codeThe Code is as follows:Create table Test_Table(ID number (11) primary key,Name varchar (50) not null,Value1 varchar (50) not null) Step 2: Create an auto-incrementing sequence to provide the call function.Copy codeThe

Tracking Oracle startup status

10046 event can be used for tracking [oracle@ggos ~]$ sqlplus / as sysdbaSQL*Plus: Release 11.2.0.4.0 Production on Fri Dec 20 19:48:00 2013Copyright (c) 1982, 2013, Oracle. All rights reserved.Connected to an idle instance.SQL> startup

Oracle cross-Server Query insert data

To synchronize the table data in the select remote database using insert into, configure the oracle service. The remote and local services are both oracle 1. Insert data into the current database Create public database link remotedb connect to

Oracle Time Model

When tuning an Oracle database, each component has its own set of statistics. to look at the system as a whole, it is necessary to have a common scale for comparisons. for this reason, most Oracle Database advisories and reports describe statistics

Application of oracle virtual Index

In the actual optimization work, it is an important method to change the full table scan of the large tables in the execution plan into an index scan. When tuning a large table, it is inevitable to try to create an index, this is not very good. It

[Oracle Notes] Create tablespaces, users, and authorize users

1. Name of the planned tablespace: yournameTablespace data file storage location:/u01/app/oracle/oradata/orcl/(select file_name from dba_data_files ;)Username/password: yourname/yournameNote: The tablespace name, user name, and password are

Number of sampled database connections

Whether the number of real-time connections to a database is stable is an indicator of whether a set of IT systems are stable.This data should be collected and followed when a new system is launched or not strictly tested.I wrote a simple stored

Change the database startup mode to archive.

1. Shut down the database as usualThen% SvrmgrlSVRMGRL> connect internalSVRMGRL> startup mount [database_name];SVRMGRL> alter database [database_name] archivelog;SVRMGRL> archive log list;SVRMGRL> alter database open; 2. Set the archive process to

SQL statement used to monitor database performance

1. Waiting for monitoring cases Select event, sum (decode (wait_Time, 0, 0, 1) "Prev ",Sum (decode (wait_Time, 0, 0) "Curr", count (*) "Tot"From v $ session_WaitGroup by event order by 4; 2. rollback segment contention Select name, waits, gets,

Copy and paste skills in SQLPlus

1. move the cursor to the beginning of the content you want to copy.2. Press the left mouse button with the right index finger3. Drag the mouse to the other corner of the content to be copied, just like the method used to select the content in Word.4

Oracle SOA suite Introduction

Oracle service-oriented architecture Leading Enterprises are using Service-Oriented Architecture SOA to reduce the complexity of their applications and IT environments. SOA can promote the development of modular business services, these services can

Data conversion between Oracle and FoxPro Databases

The author uses Oracle 7.3 database and HP-UNIX system. Since the Oracle data format is different from the general microcomputer format, Oracle data cannot be directly called. Although Developer 2000, a front-end development tool provided by Oracle,

Real-time communication with Oracle databases

Since Oracle does not provide tools for Real-Time Message output, Oracle database developers always have to face the challenge of real-time monitoring of their reserve process execution. They must use dbms_output.put_line to call and return the

Total Pages: 2147 1 .... 2074 2075 2076 2077 2078 .... 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.