Simple PL/SQL linked remote Oracle database method

First locate the Tnsnames.ora file in D:\oracle\product\10.2.0\client_1\NETWORK\ADMIN under the Oracle installation directory Open tnsnames.ora  Add database you want to link Example 226 =  ( DESCRIPTION =    (address_list =     

Oracle Development Environment Building

I. Software PreparationAddress: Oracle websiteinstallation package: Because of personal learning, it is possible to install the server side. No client required.A total of two compressed files, extracted together into a directory. I use:

Install Oracle 11g R2 process sharing under CentOS 7

I am not familiar with many Linux and so on, if there is wrong place also ask you to correct me. Thank you.Planning to learn the Oracle,rman backup and restore function, so the virtual machine is installed, using the CENTOS7 x86_64-1611 version,

Oracle Simple Query Instance

--query for positions that are not duplicatedSelect distinctJob fromEMP;--Search for annual salary, alias, alias not enclosed in single quotation marks.SelectSal* A asNianxin fromEMP Sal;--the specific data is displayed in this form: The employee

oracle-31-View DML Operations

I. DML operations on a view1. Create a View V_personCreate or replace noforceview V_personAs Select * from the personwhere ID between 1003 and 1007;2. Insert operation into view V_personInsert into V_person (id,name) values(1010, ' J ')"Note" The

Errors and how to restore Oracle Database mirroring

Error occurredORA-01034 ORACLE Not availableORA-27101 Shared Memory Realm does not exist    WorkaroundStart monitoring:#lsnrctl startStart Oracle Services$sqlplus/nologSql> Conn/as SYSDBASql> StartupStart Oracle ServicesError

JDBC Connection Oracle Summary

1. You can use the VI command to view files under Linux in a similar notepad.2.Redhat shut down the firewall, command systemctl Stop FIREWALLD view the Firewall status command systemctl status FIREWALLD3. Log in to the database Sqlplus/nolog

Oracle Users and Permissions

dba

First, database security: System security, data securitySystem permissions: Permissions for the databaseObject permissions: Permissions to manipulate database objectsScenario: A set of database objects, such as tables, views, sequencesIi. Database

Kettle Link Oracle

My ETL version is 6.0Oracle version is 11.2.0The error is as follows:Driver class ' Oracle.jdbc.driver.OracleDriver ' could not being found, make sure the ' Oracle ' Driver (JAR file) isinstalled.Oracle.jdbc.driver.OracleDriverThe reason is that the

Views, sequences, indexes in Oracle

Relevant concepts understand:Table: A basic collection of data stores, consisting of columns and rowsViews: Extracting logically related data collections from a tableSequence: Provides a regular number of valuesIndex: Make index query more

Oracle Common Operations Commands

1. Oracle instance starts, stopsSql>shutdown immediate; Oracle Stopsql>startup; Oracle Startup2, ORACLE monitoring start and stopLsnrctl Start monitoring BootLSNRCT Stop Monitoring stopsLSNRCTL Status Monitor state3. View Orcle instance and database

Javaweb Connecting the Oracle Database

Javaweb projects are slightly different from plain Java projects when connecting to an Oracle database.Normal Java project will ojdbc.jar build path directly;The Javaweb project may not work and needs to be set up again:Right-click on the project

NVL () function in Oracle

NVL () function in OracleHow Oracle's NVL function is usedThe total value of a field is obtained by querying, assuming that the value bit null will give a preset default valueSelect NVL (SUM (T.DWXHL), 1) from Tb_jhde t where zydm=-1Here the Nvl

Oracle implements the Generate_series functionality of PostgreSQL

PostgreSQL has a function of generating sequences, which makes it easy to build data. Here I use Oracle to implement the function of the generate_series function of Pgsql.POSTGRESQL.t_girl=# SELECT * from Generate_series (1,10);

Querying and specifying multiple instances of an Oracle database

In the recent inspection of a unit system, found that the database has a number of instances, directly to one of the instances of the query, the display is missingDefeat. After discovering that it needs to be specified, modify the environment

Oracle takes the most recent weekday of the current date

Description: Existing a demand, date table is stored in the date and whether the holiday (0-weekday, 1-holiday), now need to take the date table in the nearest working day.       For example, 2017/07/23 (Sunday) The most recent working day should be

So, auntie, shut down Oracle 10g DB cluster

Sometimes we need to go to the customer site to do security, occasionally need to stop the database cluster, and then stop. Usually we take a more secure approach than a brute force approach. Savage Way. #/u01/app/oracle/product/10.2.0/

Oracle new data insert into finishing

A common method: INSERT into table name (Id,name,age,status, field N) VALUES (' id ', ' name ', ' age ', ' status ', ' field n '); --Suggest using thisInsert into table name values (column values);Example: INSERT into User (Id,name,age,status,role)

Oracle user, role, and permissions-related actions

1. Create userCreate user KD identified by 123456;2. Grant permission to connect to the databaseGrant connect to KD;3, the Scott User's EMP table is authorized to KD can be queriedGrant SELECT on Scott.emp to KD;Grant CREATE table to KD;4. Reclaim

Oracle Non-empty table solution

1. First table analysis (be sure to perform this step, otherwise the query empty table may not be accurate)Select ' Analyze table ' | | table_name| | ' compute statistics; ' from User_tables;2. Re-query which tables are empty (this step can be

Total Pages: 2147 1 .... 1531 1532 1533 1534 1535 .... 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.