In-depth discussion on several issues of Oracle database Stored Procedures

1. in oracle, the data table alias cannot be added with as, for example: Select a. appname from appinfo a; -- correct Select a. appname from appinfo as a; -- Error Maybe you are afraid of conflicts with the keyword as in the oracle stored procedure.

Automatic oracle Database Backup

@ Echo offREM ####################################### ####################REM # Windows Server 2008 Oracle Database automatic backup batch processing scriptREM ####################################### ####################REM obtains the current

First article on oracle classical Query

This article will discuss and share with you some common classic queries of oracle SQL. You are welcome to add them. You can also share some classic queries. In this article, if you think there is any better solution to every problem, you are

Oracle space management notes

Select upper (F. TABLESPACE_NAME) "tablespace name ",D. TOT_GROOTTE_MB "tablespace size (M )",D. TOT_GROOTTE_MB-F. TOTAL_BYTES "used space (M )",TO_CHAR (ROUND (D. TOT_GROOTTE_MB-F. TOTAL_BYTES)/D. TOT_GROOTTE_MB * 100,2 ),990.99) "usage ratio ",F.

How Does Oracle replace SQL Server auto-increment fields?

  Name Create sequence-CREATE a new serial number generator Syntax Create sequence seqname [INCREMENT increment] [MINVALUE minvalue] [MAXVALUE maxvalue] [START start] [CACHE cache] [CYCLE] Input Seqname Name of the serial number to be

Step-by-Step Oracle notes

Step-by-Step Oracle part of Notes 1. Do not use the user name/password directly/as sysdba is the operating system authentication method, change the security method sqlnet. SQLNET. AUTHENTICATION_SERVICES = (ETS) indicates that operating system

Oracle log mining commands

Oracle log mining command 1. Log Mining 1.1 supplement log command (log contains rowid) alter databaseadd supplemental logdata;  1.2 DML-based log mining example: SCOTT updates a record. I want to mine the operation time and SCN, as shown in

Oracle Installation Problems

Oracle Installation Question 1. note: before installing oracle, make sure that your IP address and host (Computer) name are not modified. 1. download the package and place it in the English Directory d: \ tools (do not have any Chinese characters) 2.

Convert ORACLE lowercase to uppercase

Convert ORACLE lowercase to uppercase Create Or Replace Function Money2Chinese (Money In Number) Return Varchar2 Is strYuan Varchar2 (150); strYuanFen Varchar2 (152); numLenYuan Number; numLenYuanFen Number; strRstYuan Varchar2 (600 ); strRstFen

Oracle Logminer performance test

Oracle Logminer Performance Test 1 test Introduction 1.1 The purpose of the test is to simulate the running status of LogMiner parsing online/archive log files in different environments and analyze the data obtained through the test, verify the

SQL Optimization-Role of hint

SQL Optimization-the role of hint currently, oracle uses the CBR optimizer, so in some cases, the machine will execute the SQL as needed, of course, oracle makes decisions based on some of its own information, such as statistical information.

Bind Oracle Database to ActiveReport

Binding Oracle Database to ActiveReport can interact with multiple data sources, including OLEDB, SQL, XML, and collection objects. This article describes how to bind an Oracle database to ActiveReport. This is an easy task. The following describes

View database structure in Oracle

You can use SQL statements to view the database structure in Oracle. You can view the table structure based on the following statements: 1. select. column_name field name,. data_type data type,. data_length,. data_precision integer,. data_Scale

Auto increasing id within oracle

Auto increasing id within oracle 1. Create table: Java code declare num number; begin select count(*) into num from all_tables where table_name=upper('eric_emp_tbl') and owner=upper('eric'); if num=1 then execute immediate '

Oracle Stored Procedure paging code

Oracle Stored Procedure paging code [Html]/********* Stored Procedure paging code **********/-- Baotou create or replace package pck_my is type c_my is ref cursor; procedure page_moed (v_table in varchar2, -- table name current_page in out number, --

Oracle Autonomous Transactions (Autonomous transaction)

Oracle Autonomous Transactions (Autonomous transaction) Oracle Autonomous TransactionsAutonomous transactions allow you to leave the context of the calling transaction, perform an independant transaction, and return to the calling transaction

Oracle backup plan

All scripts of the oracle backup plan are evenly stored in/dsk3/bk/scripts. ① [Oracle @ sia scripts] $ cat connect. rcv (connect to the rman script) connect target sys/oracle @ prod; ② [oracle @ sia scripts] $ cat del_obso.rcv (delete logs with

SHUTDOWN: Active processes prevent shutdown operation

SHUTDOWN: Active processes prevent shutdown operation: When shutdown immediate is used to shut down the database, hang is used to view the alert Log, and SHUTDOWN: Active processes prevent shutdown operation is encountered. That is to say, some

Oracle accidental deletion and recovery

Oracle accidental deletion and recovery Query deleted datarows: select * from table name as of timestamp to_timestamp ('delete time point', 'yyyy-mm-dd hh24: mi: ss ') // Needs Auth [flash any table] data table flashback: alter table name enable row

Error in invoking target 'mkldflags ntcontab. o nnfgt. o' of m

Error in invoking target 'mkldflags ntcontab. o nnfgt. o' of makefile solves the following error when installing the oracle11g r2 database software: solution: this problem is generally caused by gcc. The following software package is missing after

Total Pages: 2147 1 .... 1904 1905 1906 1907 1908 .... 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.