1 STARTUP Nomount1. Read the parameter file under the DBS directory under Environment variables (spfile/pfile)To find the order of the parameter files as listed above, read the priority level:Spfilechongshi.ora > Spfile.ora>initchongshi.oraIf none
When our computer and Oracle code is inconsistent, there may be a Chinese garbled problem, when we just change the CMD encoding to be consistent with Oracle(The SQL Plus interface displays garbled characters)(Change the CMD code to UTF8 after the
To create a table and add data:--Create Table_aCreate Tabletable_a (Avarchar2(Ten), Bvarchar2(Ten) );--add data to Table_aInsert intoTable_aValues('A1','B1'); Insert intoTable_aValues('A2','B2'); Insert intoTable_aValues('A3','B3'); --Create
In order to further the left outer connection, we do some testing, the wording of the outer join has several forms, we can trace through 10053 to finally the form of SQL conversion.--Initialize dataCREATE TABLE A(ID number,Age Number);CREATE TABLE B(
There are several ways to insert data, here's a brief introduction to three types1. General Insert DataSelect * from EMP; -- -Scott.emp table as an example -- --Insert data according to values(1122, ' Steve ', ' Workers ', 2233,to_date (' 2017-01-03
1. How to log into Oracle databaseLog in using the Sqlplus command under Linux. For example, the Sqlplus/as sysdba sqlplus command is only available to Oracle installation users, and if you use Sqlplus with another user, an error command cannot be
1. Confirm versionOwn operating system version (32-bit or 64-bit), Oracle Instant Client (Oracle clients version) and PLSQL versionMy own version is: Oracle Client version 64-bit, Plsql 64-bit.2. Install the Oracle client version:
1. Upload the patch pack to Oracle Server, unzip, install[Email protected] tmp]$ Unzip Linuxx64_12201_database.zip2. Check the current versionSql> select * from V$version;BANNER-------------------------------------------------------------------------
Step into: Stepping in, encountering the child function to enter and continue stepping (in short, into the sub-function);Step over: When stepping into a function, the child function is not entered into the sub-function within a single step, but the
Original address: Oracle creates table spaces, creates users, and authorizes ChinacoolswordAfter Oracle is installed, there is a default database in which we can create our own database, in addition to the default database.For beginners, to avoid
Look at a topic: Query the EMP table information, display the first 5 rows of data, this time we need to use the concept of Pseudo-column (rownum).RowNum in the data table is not a real column, in fact, each row should have a line number, this
I. Oracle ArchitectureOracle 's architecture is the composition of the database, the work process, and the organization and management of data in the database, to understand The architecture of the Oracle database, you must understand the Oracle
1. Start Oracle under LinuxSu-oracleSqlplus/nologConn/as SYSDBAStartupExitLsnrctl startExit2. Shut down Oracle under LinuxSu-oracleSqlplus/nologConn/as SYSDBAShutdown immediateExitLsnrctl stopExit3. Start the Listener[Email protected]:~> lsnrctl
First build the table, org is the Department table, where OrgID indicates that the current department's Id,porgid is the ID of the parent department, the field type is an array type.This table with a parent-child relationship uses the Oracle connect
Echo Set data service Name set Dcibkdatasource=orclecho set the database user name to export set Dcibkuser=**misecho set the database user password to be exported set Dcibkpwd=**misset DCIBKPATH=%~SDP0 Backup Data Set
When you create a database, you can specify the character set (CHARACTER set) and the national character set (Nation CHARACTER set, additional character set).1. Character Set:(1) used to store char, VARCHAR2, CLOB, long and other types of data(2) to
Oracle recursive queries (single table with multilevel hierarchy)Http://www.cnblogs.com/walk-the-Line/p/4882866.html-- Find all child nodes under all first layers (including) select m.*,level from with='1' by = m.parent;Oracle Connect by usageHttp:
Preparation: Upload the Oracle installation software to the Linux system/mnt directory via the FTP tool and unzip the software via the unzip command.-----------------------------------------------------------------------------------------------------
This article transferred from: http://www.cnblogs.com/QDuck/archive/2010/08/11/1797225.html1. View All Users: SELECT * from Dba_users; SELECT * from All_users; SELECT * from User_users;2. View user or role system permissions (System permissions
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