Use PL/SQL to connect to Oracle without installing the Oracle client
1. Download a software named Instant Client package from the Oracle website. This software does not need to be installed and can be used as long as it is decompressed. :
Oracle undo management tipsOracle tips by Burleson ConsultingMay 4, 2010
Question:What are some tips for managing Oracle undo?
Answer:Here are my notes onGeneral undo Management
AndUndo Management in RAC
,
Here are other undo
Udisk database migration1. Create the tablespace used by udisk users-- Create user tablespaceCreate tablespace udisk datafile 'e: \ oracle92 \ oradata \ udisk. dbf'size 100 mUniform size 10 m;
2. Create a udisk user and set the initialization
How to Use PLSQL developer to import and export data from an Oracle database
There are three ways to export table data using PL/SQL developer: Oracle export, SQL insert, PL/SQL developer
The table structure and index structure remain unchanged
After the Oracle database is installed, Scott and other users are locked by default and cannot log on to the database using Scott. To unlock a user, you need to enter sqlplus and execute the following command:
1: SQL> ALTER USER username ACCOUNT
Research on spatial GIS data uploading methods in Oracle Spatial)
Source: http://blog.sina.com.cn/s/reader_45f260910100999x.html
Abstract: Oracle Spatial is used to store and manage spatial data, it is easy to solve problems in data sharing,
Oracle oo4o
Recently, this project is VB.net and Oracle. Because of the customer's requirements, Oracle provides oo4o instead of traditional ODBC. The full name is Oracle Objects for OLE (oo4o ). According to Japanese data, this is the most
Exp parameter descriptionKeyword description (default) keyword description (default)--------------------------------------------------------------------------Userid username/password full export the entire file (N)Buffer data buffer size owner User
Constraints:It is used to ensure that database data meets specific business rules.Restrictions in Oracle include:Not NULL:Unique:Primary Key: PKForeign key: FKCheck:A. Not NULL: non-null constraint:If not null is defined in a column, data must be
Three default accounts:Sys change_on_install Network Administrator [as sysdba] system manage local administrator Scott tiger superuser
Create users, authorize and revoke permissionsLog on to Oracle: sqlplus/As sysdba to start listening: LSNRCTL
-- Do not mix up the sequence...
-- 1. Create a tablespace --Create tablespace sfwebloggingdatafile 'C: \ oracle \ product \ 10.2.0 \ oradata \ orcl \ sfweb. DBF 'size 32 m autoextend on next 32 m maxsize 2048 mextent management local; -- 2. create
Cursor XX (a, B, c...) is SQL statementBegin
Open xx;LoopFetch XX into A, B, C...Spell stringExit when XX % notfound;End loop;Close xx;
Bytes --------------------------------------------------------------------------------------------------------
Install Ubuntu 10.10on Windows 7. download and run wubi.exe to install the software on any disk.
Install oracle in Ubuntu... Hard work! But it's okay! I found a lot of information and made a lot of detours. The summary is as follows:
First,
Log Files, also known as redo log files, record user changes to the database and can be used for database recovery. In practical applications, log file images are generally used. If one of the log files is damaged, log files of other images can also
A control file is a binary file that is automatically created when a database is created. It is used to record the database name, creation time, tablespace name, data file, and log file location. The control file is very important to the database.
I. control file backup
When the database structure changes, immediately back up the control file. Once the control file fails, you can use backup to restore it.
There are two backup control file methods:
1. Copy directly
Example:
SQL> alter Database
Alter any cluster: modify the permissions of any clusterAlter any indexAlter any role Modify permissions of any roleAlter any sequenceAlter any SnapshotAlter any tableAlter any trigger
Alter cluster Modify permissions on clustersAlter Database:
Create user test identified by "test" -- create a test user
Default tablespace users
Temporary tablespace temp
Profile default;
Grant connect, create view, resource to test;
Grant unlimited tablespace to test;
-- Administrator
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