Oracle Database PL/SQL package

Oracle Database PL/SQL package 6) package www.2cto.com 1. basic concept package (Package) is used to organize logical PL/SQL blocks or elements (variables, constants, custom data types, exceptions, processes, functions, and cursors, the package is

The Enterprisedb database is compatible with postgresql during installation and is changed to compatible with oracle.

The Enterprisedb database is compatible with postgresql during installation. The oracle-compatible method is changed to postgresql-based enterprise-level database. 1 www.2cto.com create a user named enterprisedb2 on the OS to create a new dataset

Oracle notes: Tables and fields (2)

Oracle notes: Tables and fields (2) 2. delete a FIELD in the TABLE: www.2cto.com delete a FIELD: alter table mtable drop column (FIELD) cascade constrains; OR: alter table mytable set unused (FIELD) cascade constrains; Delete multiple fields: alter

About the order adjustment of table fields in the database

Some time ago, someone asked me about the order adjustment of table fields in the database. First, there is no bad impact on the database. Second, there is no simple method or tool to solve this problem. Www.2cto.com is a common problem for most

How to use a user in Oracle to access tables of other users

How to use A user in Oracle to access tables owned by other users if Oracle has two users A and B, then if A wants to access the tables owned by B, the statement should be: SELECT * from B. TABLENAME. Www.2cto.com: Can I modify the Oracle settings

Solutions to ora-12520 and ora-12516 errors at work

The first reason for this error is that the session and process connections are full. view the number of sessions and processes at www.2cto.com: select count (1) from v $ session; select count (1) from v $ process; display the maximum value of

The sequence is cleared in the early morning, so that the sequence starts from 1 every day.

The sequence is cleared early every morning, so that the sequence starts from 1 every day. job: www.2cto.com SQL code begin sys. dbms_job.submit (job =>: job, what => 'clearseq (''seq _ SN_ID ''); ', next_date => to_date ('16-10-2012 18:37:20 ', 'dd-

Analysis of ORA-1652 temporary tablespace temporary segment not expandable in Oracle

ORA-1652 temporary tablespace temporary segments of Oracle cannot be extended Problem Analysis in alert. the ORA-1652 error is reported in the log file, prompting that the temporary segment of the temporary tablespace cannot be extended, but does

Oracle Function code instance

Create or replace function gettaxcycle (www.2cto.com vv02 IN vv02_accounts_tin % ROWTYPE, returnoption in number) return number as tr12rec %% ROWTYPE; tg05rec %% ROWTYPE; taxcycle NUMBER; begin select * INTO tg05rec FROM tg05_tax_type_details WHERE

Pay attention to the two ratios in the SQL Execution Plan

Pay attention to the two ratio environments in the SQL Execution Plan: www.2cto.com [SQL] sys @ ORCL> select * from v $ version; BANNER -------------------------------------------------------------- Oracle Database 10g Enterprise Edition Release 10.2

Common oracle system tables

Common oracle System Table 1. SQL-based common system Table 1.1. system Object table sysobjects www.2cto.com Function Description: stores the objects of the current database, such as constraints, default values, logs, rules, stored procedures, and

Oracle LAN connection Database

Oracle LAN connected to the database today is connected to the local area database, the problem can be said to be a variety of problems, so I want to share with you here, I am the first time to use the oracle database, so it is relatively unfamiliar,

ORA-12514 listening error solved

ORA-12514 listening error resolution error: [oracle @ prudentwoo admin] $ sqlplussystem/oracle @ PRUDENTWOOSQL * Plus: Release 11.2.0.1.0 Production onWed Dec 12 03:23:29 2012 Copyright (c) 1982,200 9, Oracle. all rights reserved. www.2cto.com ERROR:

Oracle SQL-UPDATE, DELETE, INSERT optimization and usage skills

Oracle SQL-UPDATE, DELETE, INSERT optimization and usage tips UPDATE www.2cto.com 1. Back up data first (secure and improve performance ). 2. Batch update and batch commit to prevent lock tables. 3. If the updated index automatically has a large

Solution to oracle connection failure

1. Two services are not started normally: OracleOraDb10g_home1TNSListener, OracleServiceORCL solution: Run-services. msc, locate the two required services, and start them.Www.2cto.com www.2cto.com2. if the system is started or cannot run, check

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

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 =

Oracle reset initialization parameters

Oracle reset initialization parameter SQL> select * from v $ version where rownum ! Uname-a Linux rac1 2.6.32-200.13.1.el5uek #1 SMP Wed Jul 27 21:02:33 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux www.2cto.com 1, resetSQL> select name, value,

34 ways for oracle to improve query efficiency

34 ways for oracle to improve query efficiency 1. Select the most efficient table name order (only valid in the rule-based Optimizer ): the ORACLE parser processes the table names in the FROM clause in the order FROM right to left. The table written

SQL statement for Oracle check hit rate

The following SQL statement can be used to test the database performance 2 hours after the Oracle check hit rate starts. buffer hit rate: www.2cto.com buffer hit rate indicates the select (1-(sum (decode (name, 'Physical reads', value, 0)/(sum

Total Pages: 2147 1 .... 1697 1698 1699 1700 1701 .... 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.