Local Network Service name Configuration:
In the oracle \ oracle90 \ Network \ admin \ installation directory of the client, there is a named file named tnsnames. ora, where the local configuration is stored. when the client is appliedProgramWhen a
After a LAN, telephone line, or broadband connection is used to establish a connection between the client and the database server, or a distributed connection is established between multiple database servers, if the network fails, the normal
NullNoGreater than/less than/equal to/not equal to any value (including null itself), and only:Null is null
SQL> set serveroutput on SQL> begin 2 if (2> null) 3 then 4 dbms_output.put_line ('>'); 5 elsif (2 6 then 7 dbms_output.put_line (' 8
Test code:
Declare begin -- most normal way to handle exception. declare except_test0 exception; begin raise effect_test0; exception when effect_test0 then dbms_output.put_line ('test0 effect_test0: sqlcode = '| sqlcode || ', sqlerrm = '|
Three default users syschange_on_install [as sysdba] systemmanager scotttiger create user create user t0nsha identified by t0nsha; system permission grant create session to t0nsha; grant create table to t0nsha; grant unlimited tablespace
Bug 4401119 AIX: crash possible on AIX (ORA-206)
This bug is marked as an important issue.
Affects:
Product (Component)
Oracle Server (RDBMS)
Range of versions believed to be affected
Versions
Versions confirmed as
After 9i, Oracle can use the dbms_metadata.get_ddl package to obtain the DDL script of the database object. As follows (executed in sqlplus ):
1. Obtain the syntax for creating a single table, view, and indexSet pagesize 0Sets long 90000Set
We often use hint in the SQL statement optimization process. Here we summarize the common Oracle hint usage in the SQL optimization process:1./* + all_rows */It indicates that the overhead-based optimization method is selected for the statement
It turns out that Oracle is only used, because there is no auto-incrementing column (like MSSQL), so a method called "Automatic Acquisition" is adopted.Today, I finally learned this sequence. It is similar to the "auto-collect" method. It is like a
/*************************************** ***************************/
-- Query table space parameters
Select tablespace_name, min_extents, max_extents, pct_increase, status from dba_tablespaces; -- query data file information
-- Autoextensible:
--. SQL script-- The only note is that F: \ dropobj. SQL is the operated. SQL;-- Your computer does not have a drive F. Replace it with drive D or E.-- Used to delete all objects of the current user-- Use for drop all objects in current user;Set
This content is searched from Baidu and modified:
Uninstall Oracle
1. The process is as follows:
You can use the Oracle installer to delete the required products from the Windows NT box, but this may be a bit difficult.If you do not want to
Because I like new things, my computer development tools are basically the latest. Oracle also has 11g R2, but my colleagues are either 11g R1 or 10g, the DMP files exported from me are exported to them, all of which are shown as follows:
Imp-00010:
-- View
-- A view is a logical table. It is used to view tables and define multiple connections between rows and columns from one or more tables. You can view the data in the table through the view.
-- Create a view
Create view mytest. v_info
Two effective methods for creating Oracle dblinkTwo different database servers read data from one user on one database server from another database server. In this case, you can use dblink.
In fact, dblink is similar to the view in the database.
How to back up one or more users separately:
D: \> exp Scott/tiger file = Export File
D: \> exp system/manager owner = (user 1, user 2 ,..., User N) file = Export File
2. How to back up one or more tables separately:
D: \> exp user/password tables =
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--># Region/* Backup and restoration operations */
///
A statement failure occurs when the SQL statement is processed. When a statement fails, Oracle server automatically rolls back the failed SQL statement and returns the error code and message to the user.
1. application logic error
Application logic
Oracle Server = routine + DB
Routine = background process + SGA
A routine failure occurs when the background process or memory structure related to the routine fails.
The failure of a routine mainly involves the following situations:
Oracle
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