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 10g toad view tablespace error ORA-00600 internal error code arguments [ktfbhget-4], [6], [5]

  Toad 10.6 queries the Oracle 10g tablespace. The following message is displayed on the toad return page: Selectprivileges on following are required: dba_data_files, dba_free_space, V $ temp_space_header, V $ temp_extent_pool,

Oracle PL/SQL: Set transaction read only (transaction isolation)

SET transaction read only is actually a means of implementing isolation (isolation) in four major acid databases, which is used to set the read consistency of data at a certain time point, that is, no matter how the data of other transactions is

Oracle DBA manually creates a database through command line

When creating an Oracle database, we use dbca in most cases, which is simple, convenient, and more automatic. today we will try to create a database manually using the command line method, it has a special flavor. Oracle software version: 10gr2

Oracle PL/SQL group by Rollup

Rollup literally means to roll to, used in group by can play a cumulative sum role:   If no rollup exists, the following query sums the groups by department_id and job_id: Select department_id, job_id, sum (salary) from employees where

Oracle date calculation-interval

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

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

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

SQL Server and Oracle triggers the same table.

Create or replace trigger update_sys_ins_tasksBefore update on sys_inst_tasksFor each rowDeclare-- Local variables hereFinished number;Nowproc varchar2 (4000 );BeginFinished: =: New. finished;Nowproc: =: New. nowproc;If finished = 1 and nowproc <>

Oracle queries the information of database and table columns

-- View all tables of the current user in the Oracle database Select table_name from user_tables; -- View All tables under all users in the Oracle databaseSelect User, table_name from all_tables; -- View all user columns in the Oracle

Oracle query 070430

The problem is: change the name of the employee in the employee information table to another one. For example, change Zhang to Wang and only change the name without changing the name: Update table name set field name = 'King' | substr (field name, 2

Oracle regular run data

Select to_char (add_months (last_day (sysdate) + 1,-1), 'yyyymmdd'), to_char (last_day (sysdate) + 1, 'yyyymmdd') from dual; 00 22 ***['Echo \ 'cal \ '| awk & apos; {print $ NF} & apos; '-EQ 'date + \ % d'] & do-something (do two at the end of each

Oracle query operation considerations

Oracle query operation considerations 1. Fuzzy searchTo use the wildcard % and _ as character values, you must use the Escape Character After escape. For example:-- Query records starting with 'pt _ 'in the g3e_username FieldSelect * From

Oracle-View performance-related views

Timed_statistics parameter: used to determine whether to collect related time parameters. True indicates collection. If this parameter is set to false, data cannot be collected in the event-related view.SQL> show parameter timed_statistics;Name type

Create users, tablespace, import and export in Oracle

// Create temporary tablespace test_temp Tempfile 'e: \ oracle \ product \ 10.2.0 \ oradata \ testserver \ test_temp01.dbf' Size 32 m Autoextend on Next 32 m Maxsize 2048 m Extent management local; // Create a data table space Create tablespace test_

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:

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.

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 queries uncommitted transactions

Select a. Sid, A. blocking_session, A. last_call_et, A. event,Object_name,Dbms_rowid.rowid_create (1, data_object_id, rfile #, row_wait_block #, row_wait_row #) "rowid ",C. SQL _text, C. SQL _fulltextFrom v $ session A, V $ sqlarea C, dba_objects, V

Total Pages: 2147 1 .... 1929 1930 1931 1932 1933 .... 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.