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
In addition to add_months, you can also use interval:
Connected to Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 connected as xxpo SQL> SQL> select to_char (sysdate, 'yyyy/MM/DD hh24: MI: ss') now from dual; now -----------------
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
Oracle9i introduces the merge command. You can execute the inserts and updates operations on a table in an SQL statement at the same time. the merge command selects rows from one or more data sources to update or inserting to one or more tables.
In
Check the data guard master database and find the following information in the log:
Wed Oct 17:05:11 2010
RFS: Possible network disconnect with primary database
RFS: Destination database Mount ID mismatch [0x4b1b0155: 0x4b1b40c1]
RFS: client
Definition:
Stored Procedure is a set of SQL statements for specific functions. It is compiled and stored in the database. You can run a stored procedure by specifying its name and providing parameters (if the stored procedure has parameters.
According to Oracle's sales policy, taking oracle11g as an example, the quotation for the 11g in 800 is: USD per CPU; USD per user.
If you purchase a server with 2 CPUs at $ 22% for deployment, the price is the purchase price. Then, you need to
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
10.1.0.x.0 to 10.2.0.4.01. Install 10.2.0.1.0 SoftwareThe software can be downloaded from the following link:Http://www.oracle.com/technology/software/products/database/index.htmlHttps://metalink2.oracle.com/metalink/plsql/showdoc? DB = Not & id = 16
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
1. OS AuthenticationAfter oracle is installed, OS authentication is enabled by default. The OS authentication mentioned here refers to the server-side OS authentication. OS authentication means that the user and password for database login are
Address: http://soft.ccw.com.cn/programing/database/htm2008/20080701_456158.shtml
In Oracle databases, tables are the most basic content. It can be said that the design of tables is directly related to the database performance. Therefore, when
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
Oracle Management Server ConfigurationTo configure the Oracle Management Server, follow these steps:
1. Use Enterprise Manager Configuration assistant to create an archive database
You can choose to create a database instance or create a database (
-- 1.-- System parameter configuration: connect sys/password @ db_link as sysdbaSelect * From dba_profiles where resource_name like 'failed _ login_attempts % ';-- 1 default failed_login_attempts password 10-- The user is locked for 10 consecutive
/*************************************** ***************************/
-- Query table space parameters
Select tablespace_name, min_extents, max_extents, pct_increase, status from dba_tablespaces; -- query data file information
-- Autoextensible:
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