The Default Editor of Oracle sqlplus is notepad, which is inconvenient to use. Fortunately, sqlplus allows you to customize an editor.Statement: define_editor = "ApplicationProgramPath and name"However, if you execute the preceding statement every
Log on to the Oracle database through PL/SQL, and then execute the menu: File/New/command window, open a command window, and then execute the script in the Command window to create and delete tablespaces.
Create a tablespaceSQL> Create tablespace
Using exp for automatic backup on the InternetArticleThere is no such thing as how to effectively analyze the backed up files. Today, we found a tool to parse the files backed up by dump.
This is the DDL wizard.
Note: This tool only supports dump
In actual work and study, many people need to export and back up the Oracle9i database. In this article, we will introduce a method for automatic execution:Step 1:Open notepad and enter:Exp test/test @ test file = D:/backup/% Date :~ 0, 10%. dmp log
Migrating Oracle 10g Report library to Oracle 11g existing Stored Procedure compilation times ora-00979 error, it is determined that group by followed by the cursor can not be used, the metlink query later found a bug of 11 GB:
ORA-979 bugs on 11.2
Previously, I talked about some simple use of the SELECT statement. This time, I will learn more about the SELECT statement.
Including: Where condition limit query, range query, fuzzy query, and sorting of query results.Where condition-limited Query
[Solution]
1) Search for the locked database table and related Sid, serial #, spid;
Select object_name,S. Sid, S. Serial #,P. spidFrom v $ locked_object L, dba_objects o, V $ session S, V $ PROCESS p where L. object_id = O. object_id and L.
Oracle uses on Delete cascade and on Delete set null to create a foreign key
This section describes how to use the default Oracle creation method when creating foreign key constraints. When you delete referenced data, the data cannot be deleted,
Recently, Oracle encountered a special table dual. I think oracle users have a special liking for dual. As a result, I found some posts on the Internet and thought it would be better to post them here for everyone to learn.
Dual is a virtual table
I. Introduction to adding CSV files to ORACLE
Add data to tables on my ORACLE server.Before proceeding to the final operation, create the text file input. ctl in the directory where prize_vs.csv is located. The content is:Load dataInfile
When the machine name is changed, change the content of sqlnet. ora in the C: \ oracle \ ora92 \ network \ admin \ directory to SQLNET. AUTHENTICATION_SERVICES = (NONE)
When adding a Db Server, add C: \ oracle \ ora92 \ network \ admin \ tnsnames.
Use the DML insert statement in oracle to insert data into the table. First, we will introduce the syntax that only one data entry can be inserted at a time.
Insert into Table Name (column Name List) VALUES (Value List );
Note:
When values are
Below v $ lock. type is 10.1, but most of them should be applicable to versions earlier than 10.1, especially 9.2. Record it for later use.
The following table shows the 138 lock types that are reported by V $ LOCK_TYPE in Oracle 10.1:
Yesterday, I suddenly found that the Oracle server I installed does not have scott users, so I cannot import it manually.
Specific Method:
First, log on with the system user.
Import the scott. SQL script (which can be found in the oracle
When executing a stored procedure that returns a ref cursor parameter, the Microsoft Oracle provider requires that the ref cursor be bound as an OracleParameter object of type OracleDbType. Cursor.
The DataDirect provider for Oracle does not require
Common Oracle Database colleagues know that Oracle often encounters some inexplicable errors, resulting in the database cannot be started or used properly.
After solving these problems, we found the root cause of the problem, that is, when we
Data dictionaries related to the Oracle logical structure:
SELECT * FROM DBA_TABLESPACES -- records the details of each tablespace.
SELECT * FROM DBA_TABLESPACE_USAGE_METRICS -- records the usage of each tablespace.
SELECT * FROM DBA_DATA_FILES --
1. Range partitioning: A range partition maps data to each partition based on the range. This range is determined by the partition key you specified when creating the partition. This partitioning method is the most commonly used, and the partition
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