Basic concept of oracle: Database vs Instance is the most confusing term for oracle users, especially those with ms SQL server experience. The two concepts www.2cto.com are actually quite simple to understand. Let's take the notepad notebook as an
ORACLE array definition Fixed Array www.2cto.com declare type type_array is varray (10) of varchar2 (20); -- one-dimensional array, string type var_array type_array: = type_array ('ggs ', 'jforward', 'wsb ', 'csl', 'dd', 'bb'); begin for I in 1 ..
Automatic Generation of document numbers based on format strings (ORACLE version) This code automatically generates document numbers for strings with specific keywords. Www.2cto.com @ SJ --- the format string (which is the keyword meaning below) "%
Oracle entry to master Part 3-query 1 Table query (1) introduction to basic oracle Table query www.2cto.com in our tutorial, we use several tables (emp, dept) Existing by scott) it demonstrates how to use the select statement. The select statement
Periodically execute Oracle job tasks to create a data table and create a process so that the process runs once a minute. 1) create a table. SQL> create table test (mydate date); Table created. (2) create a custom process. Www.2cto.com SQL> create
Oracle knowledge-tracking SQL statements 1. First, find the session information SID of a machine you want to track, SERIAL # select SID, SERIAL # from v $ session where lower (terminal) like '% yf07 %'; www.2cto.com 2. Enable tracking: exec
Processing of Oracle string segmentation 1. create or replace type t_ret_table is table of varchar2 (20); 2. use a custom function to implement 1. Use the function to return an array. using create or replace function f_split_string (var_str in
Oracle 11.2.0.3 RAC environment ORA-29280 error solution the customer's 11.2.0.3 RAC environment automatically runs the JOB reports an error ORA-29280. Detailed error message for www.2cto.com: Sat Sep 15 05:59:59 2012 VKRM started with pid = 54, OS
Redo01.log, redo02.log, and redo03.log are online files, which are first stored in logs. After full storage, they are stored in redo02.log and then in redo03.log. After the storage is complete, they are stored in redo01.log cyclically (covering: the
For some very useful Oracle SQL prerequisites, open the windows command line window. 1. Open SQLPLUSC> sqlplus/nolog2. Connect to www.2cto.com SQL> connect user/password @ SID or SQL> connect user/password @ localhost (IP Address): 1521/SID3. Query
Transaction locks in Oracle (locked tables and locked sessions) Today I learned another trick to view the transaction locks caused by abnormal session exits in Oracle Database: 1. view the locked table SELECT B. owner, B. object_name,. session_id,.
Solution: Oracle exception ORA-01861: literal does not match format string (string format mismatch) today, when writing a stored procedure, it always reports an error. For future reference. Error: Oracle exception ORA-01861: literal does not match
The Oracle keyword rownum uses Rownum, which is a pseudo column provided by oracle. We use a lot of data during paging. If rownum is improperly used, it will often be crazy. Assume that the table structure is as follows: www.2cto.com tid tname ttype5
Oracle obtains the table storage location and creates the tablespace C: \ Users \ Administrator> sqlplus SQL * Plus: Release 11.2.0.1.0 Production on Friday March 1 17:16:09 2013 Copyright (c) 1982,201 0, Oracle. all rights reserved. enter the User
Explain the following example of an Oracle execution plan: www.2cto.com [html] SQL> explain plan for 2 select. name, B. name 3 from t1 a, t2 B 4 where. id = B. id 5 and. id = '1'; Explained. SQL> set lines 200 SQL> set pagesize 0 SQL> select * from
How Does Oracle query the complete definition statement Syntax of an object: www.2cto.com DBMS_METADATA.GET_DDL (object_type IN VARCHAR2, name IN VARCHAR2, schema IN VARCHAR2 default null, version IN VARCHAR2 DEFAULT 'compute ', model IN VARCHAR2
[Oracle learning] The UTL_FILE package analysis package of ORACLE UTL_FIle is used to read and write files in the operating system, provided that the Directory object and authorization are created first. Then you can use the types, procedures, and
For the stored procedure of displaying the execution plan in the Oracle index access mode, see http://www.bkjia.com/database/201303/192688.html (1) unique index scan of index unique scan. A single match is performed for a unique index. In a unique
Several result set operation commands that are well known for the operation information of oracle result set are tested in detail today. Some problems are found and the test preparation is recorded. Www.2cto.com suppose we have a table Student,
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