1. Modify the listener. ora and tnsnames. ora files: Address = (Protocol = TCP)
(Host = XXXX) (Port = New Port ))3. Modify the emoms. properties file under $ ORACLE_HOME/hostname_sid/sysman/config.
Pieces: Oracle. sysman. eml. mntr. emdrepport =
This is the case.
We have a project in a certain place, which is exactly the research phase of the demand. Our work is still going smoothly. At the same time, the customer provides us with an Oracle Data Server (TEST) to import system data, the
For
Program For members, they only need to pay attention to the three most important engines in the Oracle database engine,
SQL Script Engine, PL/SQL script engine, and JVM
(According to my current understanding, the engine is a concept
The following error is solved when the Oracle database is installed. PL/SQL is successfully connected to the Oracle server on the local XP. I hope it will help you. Please leave your footprints here. Thank you!
Then the local connection
Modify data encoding to UTF-8
How to view and modify the Oracle encoding format -- view the Oracle database character set:
Select userenv ('language') from dual;
Query results:
Simplified chinese_china.al32utf8
-- Modify the character set
Yesterday, a colleague asked why a strange production environment exists.
Program Log on. A strange program was found from V $ session:
Pdshll11e.exe Use the following method to find the logon IP Address:
[Oracle8 @ db24h log] $ pwd
T-SQL is the language engine of SQL Server, while Oracle's language engine is PLSQL. Both query languages have extended the ANSI SQL-92 standard to provide additional support. The application you createdProgramAlmost all of these complementary
oefa is a Oracle export
the tool export file Analyzer displays the table structure, number of records, and details of the exported file.
CurrentV1.0The version is just a preliminary preview version, and many functions are
When writing a stored procedure, a split string is used. The first input parameter is a string with a delimiter and the second parameter is the number of delimiters. The following is a single-Proposed string splitting method,
Create or replace
/*** New Book type* @ Param booktype: book type object* @ Return ID of the book type* @ Throws sqlexception*/Public int addbooktype (booktype) throws sqlexception {Connection con = mydbutil. getconnection ();String SQL = "insert into booktype (title,
Step 1: Delete expired users
DropUser Colin cascade;
Step 2: query whether there are objects in the tablespace related to the expired user
Select owner, segment_name, segment_type, tablespace_name
From dba_segments
Where tablespace_nameIn
Problem:
In Windows 7, an error occurred while saving the Oracle Net Manager configuration.
Problem:
1. error message: Error writing entry to local tnsnames. ora File
2. Click "details ".
Problem Analysis:
This is because Windows 7 has high
Oracle is a multi-process DBMS. Every connected instance triggers a process, which consumes resources of the database server. SQL Server is a multi-threaded DBMS, and multiple threads share a process space, therefore, the system resources consumed
1. Start and close.
A. Shutdown immediate; shut down the database
B. startup nomount;
C. Alter database Mount;
D. Alter database open;
It can also be started at one time, but is not recommended.
In the Mount status, you can set the database to
Development subroutine
Development Process
Creation processCreate [or replace] Procedure procedure_name (argument1 [mode1] datatype1 ,...)Is [as]PL/SQL block;Is or as is used to start a PL/SQL block mode which can be in, out, in out. The default is
First, add # IMP to the stdafx. h header file.Ort "C: \ Program Files \ common files \ System \ ADO \ msado15.dll "\
No_namespace Rename ("EOF", "adoeof ")
In the header file of the app class
Public:_ Connectionptr m_pconnection; // connection
Assume that Na is headquartered in Beijing and a branch is located in Xinjiang. Now, the local computer is in the branch, the database Sid is sidxj, account: userxj/xj123, IP: 192.168.1.100
The headquarters has a database with Sid sidbj, account:
Due to abnormal requirements, you need to use C # to connect to the Oracle database to complete system operations. Refer to the msdn document to connect the database, you can also use SQL statements to perform basic operations.
The operation sample
I. Basic KnowledgeFor ease of display, you can directly add the label (alias) sum (decode () after the field to count order by DESC/ASC sort distinct, without displaying duplicate. Group: Group by field, which matches the field before Select.
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