Each row (tuple) of a table in an Oracle database has a ROWID, which is the detailed address of the data, and the location of a row's specific data can be quickly located by Rowid,oracle.rowID can be divided into two kinds of physical rowid and
Querying larger than 2G files using the Find command$CD $ORACLE _base$find. -size +2097160192c./product/9.2.0.4/admin/sid/bdump/alert_sid.log./oraData/sid/sid_data01. Dbforacle log file for database $ORACLE _base/admin/
the previous blog introduced the use of sequences and triggers to implement the self-increment primary key, mainly to avoid the occurrence of the same primary key and error. now let's introduce another clock to prevent the same method as the primary
the use of the--oracle trunc () function/************** Date TRUNC () function has no accurate ********************/of seconds Select Sysdate from dual--dateSelect Trunc (sysdate) from dualSelect Trunc (sysdate, ' DD ') from dual--today's dateSelect
First, you need to create a synonym permission for the user:Sql> Grant create synonym to Jhchen;Grant succeeded.To create a synonym syntax:Create synonym name for owner. Object nameNeed to login with Jhchensql> create synonym eos_kpi_usersalary for
The previous blog introduced the use of sequences and triggers to implement the self-increment primary key, mainly to avoid the occurrence of the same primary key and error.Now let's introduce another clock to prevent the same method as the primary
Create/delete Table spaces
Created: Create tablespace USERS datafile '/oracle/oradata/mytest/tsuser.dbf ' size 500M autoextend on next 10M maxsize unlimite d extent management local; Delete: Drop tablespace USERS including CONTENTS and datafiles;2.
Transferred from: http://www.cnblogs.com/tippoint/archive/2013/04/07/3003810.htmlIn some cases, we need to modify the host name of the Oracle database that is already installed. Here are the steps1. Modify/etc/hostsSu-Vi/etc/hosts2. Modify NetworkVi/
ORA-12541: TNS: no listenersAfter I reinstall Oracle yesterday, ORA-12541: TNS: no listening program error occurs when I connect oracle with PL/SQL Developer, for example:
With the help of Brother Wang Peng, I found that the oracle listener was not
ORACLE11g creates the second instance on linux
The linux server host is not enough, and the tester needs a new oracle environment for testing. Therefore, the tester is prepared to create a second instance on the existing oracle linux host. This
Oracle BASICS (II): user and permission management
1. Create a user(1) simple creation 1. Permissions: only DBA users have permissions or create user system permissions 2. Syntax:Create user Username identified by password;
The oracle password
Use of Oracletrunc () function
-- Oracle trunc () function usage
/************** Date TRUNC () the function does not have second precision *******************/select sysdate from dual -- select trunc (sysdate) from dualselect trunc (sysdate, 'dd')
Use the Oracledbms_random function to quickly generate multiple test data entries
Database development or management personnel often need to create a large amount of test data, and tens of thousands of data records are required. If one data entry is
Non-equal sign in Oracle
In Oracle, non-equal signs can be used in the following ways:<> ,! =, ^ =
Test SQL
create table test( id int, name varchar2(10), age int)insert into test(id,name,age) values(1,'zhangsan',23);insert into test(id,name,age)
Application of Oracle Timer
Oracle timer. Once set, the restart of the server will not affect the execution of the Oracle timer (scheduled to be executed every day ),
Begin sys. dbms_job.submit (job =>: job, what => 'check _ err; ', next_date =>
Oracle Study Notes (3) ----------- command Overview
1. ORACLE startup and Shutdown 1In a single-host environment To start or shut down the ORACLE system, you must first switch to the ORACLE user, as shown below:Su-oracleA. Start the ORACLE
Sysdba cannot log on remotely. What should we do (reprinted) and sysdba log on remotely?Sysdba cannot log on remotely, which is also a common problem.
How can we solve this problem?
When we use sysdba to log on, it is necessary to manage our
ArcSDE command, arcsde
1. sdemon (case sensitive)(1) sdemon is mainly used to manage sde services, including 7 commands. You can enter sdemon-h in the command line to view all sdemon commands.
Status: obtains the status of a specified instance.Start
ORACLE-012: The varchar2 and number types of pure numbers in oracle are automatically converted.
When an association query is used, the fields in the two tables define different types. One field is of the varchar2 type, and the other is of the
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.