Oracle database Objects-Package package usage

A package is an attribute of Oracle Pl/sql, which is like a container or a namespace that combines a variety of logically related types, constants, variables, exceptions, and subroutines. Provides a good organizational unit when writing large,

Oracle database ora-00600[kjhn_post_ha_alert0-862] Cause analysis

Database version and Platform information The database version is 10.2.0.1 and is above the 32-bit win 2003 SP2ORACLE v10.2.0.1.0-production vsnsta=0Vsnsql=14 vsnxtr=3Oracle Database 10g Enterprise Edition Release 10.2.0.1.0-productionWith the

Oracle 11g Linux set up table space user authorization database Import Export

Sqlplus /as SYSDBA --View DBF storage locationSELECT * from Dba_data_files; --View File location SELECT * from Dba_directories;--New Table spaceCreate tablespace bp_oracle logging datafile '/u02/oradata/devdb/bp_oracle.dbf ' size 100m autoextend

Detailed explanation of complex SQL query statements in Oracle (1/4)

1. Use of query statementsUse a SELECT statement and a subquery (subquery) to return data from one or more tables, views, and entities.1.1 Related subqueriesYou can use a subquery (as subquery) or in or exists as part of a condition of a where, such

Oracle Database Paging Query Instance summary

Oracle Paging query statements can basically be applied in the format given in this article. Paging Query format: The code is as follows Copy Code SELECT * FROM (select A.*, RowNum RNFrom (SELECT * from table_name) A

Introduction of Oracle Common Date function processing method

Date field: SQL Server Date field format in the same character field format, that is, a single quotation mark on it, Oracle Date field format is different, it is very wordy, there are only two ways to deal with: A: Add a single quotation mark to

Oracle pfile/spfile Parameter file detailed

Basic rules A. In the SPFile file, all parameters are optional, that is, you only need to list those parameters that need to be modified in the initialization parameter file, others to keep the default values. The B.spfile file can contain only

Use of decode functions in Oracle

There are many useful functions in the Oracle function library, such as Nvl,sign,round, which use more, the function is larger or decode this function. The use of this function is as follows: Decode (expression, condition 1, result 1, condition 2,

Detailed Oracle Sequence usage _oracle

Sequence in Oracle is the serial number, which automatically increases each time it is fetched. Sequence is not related to the table. 1, Create Sequence First, create sequence or create any sequence permissions. The statement is created as

Oracle Database Special Query Summary _oracle

1. Query this node and all nodes below this node: 2. All hierarchy relationships in the query node SELECT rpad (', 2* (LEVEL-1), '-') | | Depname "Depname", Connect_by_root depname "ROOT", Connect_by_isleaf "IsLeaf", Level, Sys_

Example tutorial for creating a self-added primary key in an Oracle database _oracle

When designing a database table, it was found that Oracle did not have a set of self-adding primary keys, and Google learned that Oracle itself does not support the Sequence key, which needs to be implemented through sequences (Trigger) and triggers.

Oracle automatic backup and automatic backup steps _oracle

Data is a central part of the application, the program has broken the replacement machine can be republished, but once the data loss, resulting in loss will be irreversible, the program released to production, data backup is particularly important,

Oracle Bulk Execute SQL statements disable foreign keys for all tables _oracle

In the transfer database, data import, encountered a problem, is the table foreign key constraints exist, resulting in frequent error inserts, batch execution SQL statements are sequential execution, no way I had to manually input. Then enter the

Oracle sqlplus set Login.sql tips _oracle

Sqlplus automatically runs two scripts at startup: Glogin.sql, login.sql these two files The order of execution is 1. Default to find Glogin.sql file execution under $oracle_home/sqlplus/admin path 2. Default in the current path to find Login.sql

Audit whether the Oracle program files have been modified

In a recent security audit, one of the requirements is: File integrity detection The corresponding database is the installed program files, configuration files (excluding data files, log files) That is, the need for regular database software

Oracle Database ORA-600 kcrfr_update_nab_2 Failure recovery

The database startup report ORA-600 kcrfr_update_nab_2 error due to the Controller drop line, resulting in the failure of the normal openDatabase version InformationORACLE v10.2.0.4.0-64bit Production vsnsta=0Vsnsql=14 vsnxtr=3Oracle Database 10g

Introduction of Oracle Driver error missing artifact com.oracle:ojdbc14:jar:10.2.0.4.0 in maven

Problem: An error occurs when a dependency is introduced.1. First we are going to download an Oracle driver jar package, Ojdbc6.jar (I have Oracle installed here, so in the Oracle installation directory F:\app\zyh\product\11.1.0\db_1\jdbc\lib The

Create MySQL, SQL Server, and Oracle triggers

Scenario: when the users table is in insert, update, delete, the changed id is recorded in the users_log table.Create a MySQL triggerTrigger Time: BEFORE, AFTERTrigger Event: INSERT, UPDATE, DELETENEW and OLD Keywords:| Action | NEW | OLD || --------

64-bit Oracle connection configuration in Plsql

After 64-bit oracle is installed, when plsql is used for connection, the database option is blank. To solve this problem, the following records are generated:1. Download and install oracle 11g r2Http://download.oracle.com/otn/nt/oracle11g/112010/win6

Configure odbc transparent gateway for oracle Access to IPVs DB

Recently, we helped customers configure the odbc transparent gateway to access IPVs db in oracle through DB link.A simple record:(1) configuration of listener. ora and tnsnames. ora:[Wsj81 @ localhost admin] $ cat listener. ora# Listener. ora

Total Pages: 2147 1 .... 554 555 556 557 558 .... 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.