Query specific data from the ORACLE database

Query specific data from an ORACLE database. If you want to query the name and field name of a table with a specific value from an oracle database, you cannot manually view the number of tables in the database one by one, at this time, it is

Oracle Table Demo statement

Oracle Table Demo statement SQL code www.2cto.com -- Created on 2010/07/29 by WANGNAN declare -- Local variables here i1 VARCHAR2 (20): = '1'; i2 VARCHAR2 (20): = '1 '; i3 VARCHAR2 (20): = '2'; i4 VARCHAR2 (20): = '3'; i5 VARCHAR2 (20): = '3'; i6

Summary of SQL language during Oracle Learning

Summary of the SQL language during Oracle Learning 1. query the structure of the dept table www.2cto.com in the Command window input: desc dept; 2. Retrieve all column information in the dept table select * from dept 3. Search for the employee name,

Use plsql Developer to change the primary key

Using plsql Developer to change the primary key when you change the primary key through plsql Developer (plsql is a procedural language), if you only change the primary key, an error will be reported when you click Save, because you have not changed

Oracle order by sorting

Oracle order by sorting adds the sorting by pinyin, radicals, and strokes in oracle9i. Set the NLS_SORT value SCHINESE_RADICAL_M to sort SCHINESE_STROKE_M By the beginning (First Order), strokes (Second Order), and heads (Second Order) by the

Detailed explanation of RAISE exceptions in Oracle

In Oracle, RAISE exception details are thrown in three ways: www.2cto.com 1. use the PL/SQL Runtime Engine 2. use RAISE Statement 3. call the RAISE_APPLICATION_ERROR stored procedure. When an error occurs during database or PL/SQL running, an

Oracle Database: securely deleting Database users

Oracle Database: before you use drop user cascade to safely delete a Database user Kill Session www.2cto.com, you usually use kill session to terminate the currently connected Session, however, it takes a long time to kill a session if a long

How to determine an empty cursor in Oracle

1. Declare the package www.2cto.com 01 createorreplacepackage TAL_TESTis02 03 -- Author: ADMINISTRATOR04 -- Created: 15: 15: 3805 -- Purpose: XXXX test 06 07 TYPE myCursorTypeISREFCURSOR; 08 09 -- Test empty cursor; 11 12endTAL_TEST; 2. Package 01

SQL to avoid Recursion

SQL avoids recursion. Today, a tangle problem is found in the development project. Modify the SQL code www.2cto.com CREATE TABLE PRO_TYPE (PRODUCTTYPEID INTEGER NOT NULL, PRODUCTTYPENAME VARCHAR2 (50) according to the parent and child classes) not

Oracle BEQ Process

Recently, someone asked me this question about oracle BEQ processes. I used to see this introduction on a foreign recognition site. In sqlplus, enter conn/as sysdba, at this time, sqlplus starts a server process and uses the ps command to check that

Trim functions in oracle

The trim function in oracle is used to delete the given characters in the header or tail of a given string or given number. The trim function has the following form: www.2cto.com trim ([leading/trailing/both] [matching string or value] [from]

About calling the oracle stored procedure with the output parameter CURSOR

About calling the oracle stored procedure with the output parameter CURSOR 1. create Procedure with Out parameter of CURSOR type www.2cto.com Java code create or replace package pa_query as type p_cursor is ref cursor; end pa_query;/create or

Use oracle System tables to eliminate inefficient graphical interfaces

Use the oracle system table to get rid of the inefficient graphical interface 1. The system table system parameters of the ORACLE database are stored in the database. You can use SQLPLUS to perform queries using the user SYSYTEM. Several important

Oracle Parallel Query

Parallel query of Oracle Parallel query allows an SQL SELECT statement to be divided into several smaller queries. the query of each part runs concurrently and then the results of each part are combined, provide the final answer. Www.2cto.com let's

Understanding cursor (3) Use of implicit cursor

Understanding cursors (3) Use of implicit cursors links: Understanding cursors (1): cursors Overview http://www.bkjia.com/database/201212/177395.html Understanding the cursor (2) Introduction to the attribute of the cursor and demonstration of

Paging query for Oracle, MYSQL, SQL Server, and DB2

Oracle, MYSQL, sqlserver, and DB2 paging queries DB2: www.2cto.com DB2 paging queries SELECT * FROM (Select Field 1, Field 2, Field 3, rownumber () over (ASC Column Used for order by sorting) AS rn from Table Name) AS a1 WHERE a1.rn BETWEEN 10 AND 20

Usage of the oracle add_months Function

The usage of the oracle add_months function is explained in detail using the oracle add_months function, you can get a certain time before or after n months, if you have encountered similar problems before, take a look. Www.2cto.com if you need to

Oracle cluster url Configuration

Oracle cluster url configuration plsql connection configuration in oracle cluster in plsql and java program connection mode not in cluster plsql connection configuration: www.2cto.com DB1_193 = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL =

Query all values in a comma-separated string in oracle

Query all values in a comma-separated string in oracle. If a string is separated by a comma or another symbol, you want to split it into columns, such as 'first field, second field, third field ', www.2cto.com is split into first field second field

SO to order line Closed

SO to the order line Closed [SQL] www.2cto.com -- entered SELECT * FROM inv. mtl_sales_orders WHERE segment1 = 1054627; -- maid: 935491 SELECT h. flow_status_code, h. * -- header_id: 6577988 -- flow_status_code: entered FROM ont.

Total Pages: 2147 1 .... 2114 2115 2116 2117 2118 .... 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.