Cross-database Oracle operations and use of dblink

I helped a friend with Oracle cross-database operations a few days ago and shared the specific operation process: 1. database with different IP addresses (dblink) Local Database IP address 10.56.7.26 Remote database IP address 233.215.219.8 1

Oracle unique index constraint creation and Deletion

/* Memory space parameters allocated for creating Bitmap indexes to accelerate index creation */ Show parameter create_bit; /* Change the index storage parameter */ Alter index index_name pctfree 30 storage (initial 200 K next 200 k ); /*

Oracle cursor usage (1)

Query The SELECT statement is used to query data from the database. When the SELECT statement is used in PL/SQL, it must be used with the into clause. The return value of the query is assigned to the variable in the into clause, variable

Add a user in Oracle and specify a database

Create user cmsuser identified by "cmsuser ";   SQL> create user uumcuser identified by "password "; User Created. SQL> grant connect, DBA to uumcuser; Grant succeeded. SQL> grant exp_full_database, imp_full_database, resource, create any

Oracle index practices

Recently I want to optimize some SQL statements for full table scan. The first thing I think of is index creation. I checked the online information and said that if there is null or is not null in the WHERE clause, the index will not be used, but I

On A20, we will demonstrate the overview and learning plan 1 of Oracle's Android hardware abstraction layer (HAL ).

In a QQ group, I saw a person learning about the overview and learning plan of the hardware abstraction layer (HAL) of Android during his android journey. When I encountered a problem, I went to the workshop.ArticleToday, I will give you a

Create users and tablespaces in Oracle

// Create a temporary tablespaceCreate temporary tablespace gcag_tempTempfile '/u01/APP/Oracle/oradata/Xe/gcag_temp.dbf'Size 32 mAutoextend onNext 32 m maxsize 2048 mExtent management local; // Create a data table spaceCreate tablespace

Post a working shell (about Oracle)

#! /Bin/bash # Tnslsnr Servername = $ (uname-A | awk '{print $2 }') Filename = $ servername "_ processmonitor. SQL" Echo "Connect pmsadmin/pmsadmin" >$ {filename} While read line Do Process_path = $ (echo $ {Line} | awk '{print $2 }') PID = $ (PS-Ef

Automatically Start Oracle and WebLogic at startup

My machine is 5l, Oracle9i, weblogic6.1, httpserverThe level of the other party is limited because of the machines installed for others (I am also very good at cooking). In order to worry about it, it is better to let the system automatically run

Oracle learning suggestions

Learning Oracle is a long and arduous process. If you are not interested but forced to learn, it is difficult to learn well. To a certain extent, if you want to further improve your knowledge, you have to get in touch with a lot of things outside of

Oracle creation (basic)

I have never been familiar with Oracle. I have learned a lot from my brother's demonstration today, so I wrote this article to record it. Let's talk a little bit about the situation: Environment: Windows2003 + oracle9i is installed in vpc2007 as the

Oracle cursor usage Daquan 3

Record variable Define a record variable using the type command and % rowtype. For more information about % rowstype, see related materials. Record variables are used to extract data rows from the cursor. When multiple columns are selected for the

Oracle cursor usage 4

Use query in a cursor For Loop You can define a query in a cursor for loop. Because no explicit declaration is made, the cursor has no name, and the record name is defined through the cursor query. Decalre V_tot_salary EMP. Salary % type; Begin For

Oracle PL/SQL language basics (3)

SQL> select tablespace_name, file_id, Bytes/1024/1024, file_name from dba_data_files order by file_id;6. display the current connected user---------------------SQL> show user7. Use SQL * Plus as a calculator----------------------SQL> select 100*20

Basic commands for Oracle beginner user management

1. Switch users and log on: Conn system/password @ myoracle as sysdba; myoracle is the database name or service name. As sysdba logs on as an administrator. If the database name is not added, a protocol adapter error may be reported. If you have

Oracle basic operation command Learning

--------------------------------------------------------------------------- ---- This is andkylee's personal originality. Please repost it with respect to the author's Labor achievements; ---- The original source must be specified for

Hibernate3 Method for calling the Oracle Stored Procedure

Configuration file: --> {Call p_test (?, : Vpostno )} Stored Procedure: Create or replace package testpackage Type test_cursor is ref cursor; End testpackage;   Create or replace procedure p_test (p_cursor out testpackage. test_cursor,Vpostno in

Compile Oracle invalid functions, stored procedures, views, etc.

Oracle development often suffers from invalid stored procedures and functions from time to time, so I made up my mind to solve this problem. I found a good solution and modified it On the basis, I finally solved the problem. 1. Create a stored

View tablespace usage in Oracle

Before writing a program, you need to implement the function of querying the tablespace usage in the database. Although you do not know the significance of doing it, you have to do the project requirements. I wrote one and can only find permanent

PLSQL developer connects to Oracle (64) (instantclient)

Oracle was installed yesterday, And PLSQL developer was installed today, which cannot be connected. PLSQL developer is a 32-bit Oracle database that cannot recognize 64-bit data. Solution: Download instantclient-basic-nt-11.2.0.2.0 bit client,

Total Pages: 2147 1 .... 1750 1751 1752 1753 1754 .... 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.