Oracle Study Notes

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

Oracle-network failure

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

Oracle null is null

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

Oracle PL/SQL exception

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 = '|

Oracle user permission management

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

Oracle bug 4401119 for AIX database crashes with ORA-221, ORA-206, ORA-202, ORA-27072

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

Oracle uses dbms_metadata.get_ddl to obtain DDL statements

  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

Common Oracle hint usage

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

Sequences of Oracle

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 Date Format

Insert into ecp_chat_message (chatid, content, imgurl, senduserid, sendtime, receiveuserid, state, isread)Values(1, 'asdfdf', 'aaa', 'kehu4', to_date ('2017-12-03 12:55:45. 333333 ', 'yyyy-mm-dd hh24: MI: Ss. FF '), 'serviceid', 1, 0) The following

Summary of Oracle sqlplus script database creation

/*************************************** ***************************/ -- Query table space parameters Select tablespace_name, min_extents, max_extents, pct_increase, status from dba_tablespaces; -- query data file information -- Autoextensible:

[Reprint] Oracle SQL * Plus-delete all objects of the current user

--. 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

Uninstall the Oracle client

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

The DMP exported from Oracle 11g is imported to the 10g Database (imp-00010: the exported file is not valid and the header verification fails)

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:

(Original) learning the Oracle View

-- 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 dblink

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.

Common Oracle commands

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 =

Oracle backup and restoration operations

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 */ ///

Oracle failure-statement failure

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 failure-routine failure

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

Total Pages: 2147 1 .... 1953 1954 1955 1956 1957 .... 2147 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.