Adding null and numbers in Oracle

In Oracle, null is added or subtracted from a number, and the result is null, Therefore, the nvl () function is used for processing. Declare v_num varchar2 (20); v_num2 varchar2 (20); v_num3 varchar2 (20); v_num4 varchar (20); begin select nvl

Oracle is used to slowly update ^_^

1. Find the MOST Group   Select XX. qssj from (select cm. persionid, CM. qssj, row_number () over (partition by cm. persionid order by cm. scrq DESC) as RnFrom rs_rsk_contract_manage cm where cm. bak_flag is null) xxWhere XX. persionid = A. ID and

Windows Oracle connection error ORA-12560: TNS: protocol adapter Error

Windows Oracle connection error ORA-12560: TNS: protocol adapter Error There are three reasons for the problem that caused the ORA-12560: TNS: protocol adapter error: 1. the listening service is not up. For Windows, perform the following

How to import data from an Oracle database (or any other database) to an Excel file

The following is a method for importing Oracle Data to excel on the Internet. I have used it. It is also found that access can directly import Excel data when creating a table, In this way, there is a bridge to convert data between various

Use of Oracle

1. PLSQL debugging stored procedure: 1. Configure the connection in Oracle configuration and migration tool named ". net manager" 2. Create an SQL window in PLSQL and write the Stored Procedure 3. Create a test window in PLSQL and call between

In Oracle 10 Gb, detailed description about the constraints used in tables and columns.

Original article address: http://www.cnblogs.com/chenkai/archive/2010/02/22/1671442.html. Click Open Link Check Constraints Code -- Create Table 'create table order_status (ID integer constraint order_status_pk primary key, status varchar (120),

Differences between Oracle and MySQL

The difference between the Oracle database and the MySQL database is what we will introduce in this article, hoping to help you. 1. Group function usage rules In MySQL, group functions can be used at will in select statements. However, if a group

List of common Oracle SQL statements

-- Monitor whether the index is usedAlter index & index_name monitoring usage;Alter index & index_name nomonitoring usage;Select * from V $ object_usage where index_name = & index_name; -- Calculate the I/O distribution of data filesSelect DF. Name,

Implement distributed database applications in Oracle

Link: http://user2005.blog.163.com/blog/static/137589500201123141041319/ PrefaceThe Oracle distributed database system is a customer/server architecture. Its structure is 1. In a network environment, each hardware platform with multi-user processing

Basic knowledge of Oracle Architecture

  1. Physical Structure (composed of control files, data files, redo log files, parameter files, archive files, and password files)   The data in a database is stored in physical files on the disk. When used, the data is transferred to the memory.   

Automatic Oracle backup in Win2000 environment

1. create a backup folder in drive D, such as: D:/database backup; create five (up to 7) subdirectories, such as D:/database backup/Monday, D: /database backup/Tuesday ,......, this ensures weekly backup;2. Create five batch files under the

About Oracle deadlock

If it is only a lock, the following statement can detect all user locks:   Select S. username,Decode (L. type, 'Tm ', 'table lock', 'tx', 'row lock', null) lock_level,O. Owner,O. object_name,O. object_type,S. Sid,S. Serial #,S. Terminal,S. machine,S.

Sort by radicals and strokes in Oracle

Before Oracle9i, Chinese characters were sorted by binary encoding.The sorting by pinyin, radical, and stroke function is added to Oracle9i. Set the nls_sort ValueSchinese_radical_m is sorted by the beginning (first order) and strokes (Second Order )

Oracle EMP/imp

E:/> exp help = y By entering the exp command and user name/password, you canCommand after user/password: Example: EXP Scott/Tiger Alternatively, you can control the running mode of "Export" by entering the exp command with various parameters.

Oracle job usage Summary

1. Set the initialization parameter job_queue_processes.SQL> alter system set job_queue_processes = N; (n> 0)Job_queue_processes: the maximum value is 1000.  View the Job Queue background processSQL> select name, description from V $ bgprocess;  2.

How to start oracle in Linux

How to start oracle in Linux: 1. Start the database instance: log on to the system, username, and password. Eg: Oracle/Oracle; sqlplus/nolog SQL> connect sys/password as sysdba to connect to the instance SQL> startup SQL> shutdown

Oracle function translate () Usage

I. Syntax:Translate (string, from_str, to_str)Ii. Purpose Replace each character in from_str with a string after the corresponding character in to_str. Translate Is a superset of the functions provided by replace. If from_str is longer than

Oracle queries recently changed table data

Today, the developer asked me how to quickly and conveniently find the recently changed records of a table. This requirement is very simple. Because it is to check recently changed data, you can check the rollback segments, below is my small

Oracle series: Record

Oracle series: Record) 1. What is record )?A composite structure composed of scalar values of multiple columns in a single row. It can be seen as a user-defined data type. It is similar to a multi-dimensional array.Encapsulate one or more scalar

Oracle 10g weak password attack

  13:52:44 | category:Hack everything! | Tag: Java RC Oracle bufsize int| Large font size, medium/small subscription  Recently, the Network speed is ungeliveble ...... "Internet access for all, never download BT !" This is the purpose of LAN!

Total Pages: 2147 1 .... 1947 1948 1949 1950 1951 .... 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.