Plsql remotely connect to Oracle on a virtual machine

Download Oracle Instantclient_11_2 and PlsqlExtract Oracle Instantclient_11_2 to any directoryCreate a new network in this directory, create a new admin in the network directory, and in the installation directory from OracleCopy the Sqlnet.ora and

Oracle database Basic Operations five--stored procedures and triggers

4 . Stored procedures and triggers:Example 7-1: (stored procedure) creates a stored procedure that shows the total number of students.SetServeroutput onCreate or Replace procedureStudent_count asP1 Number(3);beginSelect Count(*) intoP1

Struts2 Using Oracle Paging (10)

ToolsutilThe number of records displayed per pagepublic static final int num_per_page=5;/** Java.util.Date Turn Java.sql.Date*/public static Date Utildatetosqldate (Java.util.Date d) {Date date = new Date (D.gettime ());return date;}public static

Oracle time-of-day load

ALTER session SET nls_date_format= ' Yyyy-mm-dd hh24:mi:ss ';SELECT *From (SELECT A.instance_number,A.SNAP_ID,B.begin_interval_time + 0 Begin_time,B.end_interval_time + 0 End_time,ROUND (Value-lag (VALUE, 1, ' 0 ')Over (ORDER by A.instance_number, a.

Oracle View Log switching volume per hour script

----Show The number of Redo Log switches Per Hour--SET PAUSE onSET PAUSE ' Press Return to Continue 'SET PAGESIZE 60SET linesize 300SELECT to_char (first_time, ' yyyy-mm-dd ') Aday,To_char (first_time, ' hh24 ') hour,COUNT (*) TotalFrom

Oracle Notes (10) constraints

Oracle Notes (10) constraintsAlthough the table is completed, but the data in the table can not be checked, and if you want to do some filtering for the data in the table, it can be done by the constraints, the main function of the constraint is to

Oracle Database Migration EXPDP/IMPDP (share four)

This project is an Oracle small data volume migration process share of the CDC, and the results are not displayed. Migrating data is divided into the following steps: Divided into the following five parts: Source Database Library

Oracle Pseudo-Column

ROWNUMROWNUM: Represents a row number, which is actually a column, but this column is a pseudo-column that can appear in each table.Example: On the Query Employee table, add ROWNUMSELECT from EMP;From the running, the ROWNUM itself is in the form

Oracle Common Commands

dba

--In the native example:--Global database name: Muna--sid:haha--User: Znn (permission Connect, RESOURCE,DBA)--Table space: Haha_data and temporal tablespace haha_temp--Oracle has two built-in users: System and SYS--Querying all users in the

Oracle Knowledge Summary

First, special functions1:NVL functionNVL (STR1,STR2), if the first parameter of Oracle is empty then the value of the second parameter is displayed, and if the value of the first parameter is not NULL, the first parameter value is

Removal of Oracle Database (2)

Completely remove the original Oracle in Windows and then reinstall the Oracle database. The steps are as follows:1. Start-> Setup-> Control Panel-> Management Tool-> Service to stop all Oracle services.2. Start-> Program->oracle-orahome81->oracle

Modifying a Data Oracle field type from number to varchar

--Modify the Data Oracle field type from number to varchar--Example: Modifying the Rescue_phone field type in the Ta_sp_org_invoice table, converting from number to varchar--STEP1: Add an original type buffer fieldALTER TABLE Ta_sp_org_invoice add

Oracle determines which object permissions are granted

There are several views related to object permissions, tab represents table permissions, and col represents column

Recursive invocation of functions in Oracle Database

If you have the following table structure AAAA, use a field prev_id to indicate the order of the records, to sort them, need to use the recursive function Id prev_id CONT 99 A

Oracle sort field self-growth

InsertId="Insertgoodsdescription" Parameterclass="Goodsdescription"> Selectkey ResultClass="int"Keyproperty="Servicedescriptionid"> SELECTGoods_description_seq.nextval asservice_description_id fromDualSelectkey> Insert

Oracle Database Password Modification

Log on to the operating system where the Oracle database server is installed.Windows: Use cmd directly to enter the command line. Linux, log in to the database server using SSH first.View Environment Variables Settings for

In the Oracle database, a field exists with Chinese characters and numbers, and the number part

method One: Regexp_replaceSelect T.achive_name,regexp_replace (T.achive_name, ' [^0-9] ') from T_archive_content t where t.plan_id= ' 402881ef5f702d62015f7128f2760089 ';Tags: regexp_replace The parameter description of the regular function:A total

REGEXP_SUBSTR Functions in Oracle

REGEXP_SUBSTR Functions in OracleInstructions for using the REGEXP_SUBSTR function in Oracle:The topics are as follows:In Oracle, a statement is used to implement the ' 17,20,23 ' split into a collection of ' 17 ', ' 20 ', ' 23 '.The REGEXP_SUBSTR

Oracle Performance Analysis 2

Oracle Performance AnalysisSoftware Environment: Oracle 11g, dual-machine RAC.Problem:Large table (Tens) query, slow operation, often timeout terminal (ORA-01013: User request to cancel the current operation)Analysis:1) partition Table2) Historical

11G R2 RAC add listen, 11gr2rac listen

11G R2 RAC add listen, 11gr2rac listen The procedure is as follows: Check the network number of the default network, in the red font of 1. It will be used to add a listener later:   [grid@rac121 admin]$ srvctl config networkNetwork exists: 1/10.1.252

Total Pages: 2147 1 .... 1555 1556 1557 1558 1559 .... 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.