1 Running Sqlplus Tools
Sqlplus
2 The default identity of the OS Connection
/As Sysdba
3 displaying the current user name
Show user
4 go directly to the Sqlplus command prompt
Sqlplus/nolog
5 connecting at the command prompt with OS
Need to learn SDE configuration related knowledge, in which Oracle database installation encountered errors INS-30131, although not finally resolved, but found a preliminary thinking, recorded to provide you with reference. There may be errors or
For example, now there is a person table (table name: peosons)If you want to have the name, ID number, address of these three fields exactly the same records query
Copy Code code as follows:
Select p1.*
From persons p1,persons P2
CMD Start Oracle DatabaseCreate a new bat file, copy the contents in, double-click to start.
@echo off
net start Oraclexetnslistener 2>nul
net start oracleservicexe 2>nul
@oradim-startup-sid XE -starttype Inst > Nul 2>&1
Oracle
Select T.username,count (*) from v$session T GROUP by T.username
//Find the sql_id value that a user is executing based on the user group session Select
* From V$session t where T.username = ' BUDGET ' and t.sql_id are NOT NULL
//lookup
Oracle Database error Ora-00257:archiver error. Connect internal only, until freed, how to solve it? This issue is located in the archive log full, the following is a summary of the specific solutions to share.
Solution:
Sql> select * from V$flash_
Oracle 11g is the latest database software launched, Oracle 11g has more than 400 functions, after 15 million hours of testing, development work volume reached 36,000 people/month, equivalent to 1000 employees for continuous research and development
The Oracle tutorial you are looking at is: Oracle SQL Performance Tuning Series learning three. 8. Use the Decode function to reduce processing time
Use the Decode function to avoid repeatedly scanning the same record or repeating the same
The Oracle tutorial you are looking at is: common problems and exclusions for Oracle database application development. Hardware platform: SUN Ultra Enterprise 3000
Operating system: Solaris 2.5 (Simplified Chinese)
Disk: 4.2GB
Memory:
One, the 4 basic characteristics of the business
Atomic (atomic):The operations contained in a transaction are considered as a logical unit, and the operations in this logical unit areAll succeed, or all fail.
Consistency (consistency):Only
1. Account and Password settings
To select User sys, SYSTEM, DBSNMP, and Sysman to use the same password, select "All accounts use the same password".
Bi user, password Ch51*****,scott user. All of the above are the same password ch5*******
Here,
Since 9i, Oracle Dataguard generally do not need to manually process the lost log, FAL will automatically help us deal with, the following case by hand to handle the Lost log method:
1. What logs are missing from the standby query and not applied
Note:The prerequisite for ① recovery is that the backup is done② Full Recovery database is the database encountered a failure, at the time of recovery did not lose any of the submitted things data recoveryIncomplete recovery database is a database
When you run the program today, enter the SQL statement in Oracle:
SELECT * from USERS as U, program complainsInput SELECT * from USERS u can query the results normally. But there's nothing wrong with typing ' select * from USERS as U ' in SQL
Plsql Connect Oracle Database ora 12154 error
Today encountered a problem, using Sqlplus can connect to the remote database, but the use of plsql but not connected, error "ORA-12154:TNS: Unable to resolve the specified connection identifier"
The
The operations of the unused column and drop column are essentially different, and the unused makes the SQL inaccessible to column by changing the data dictionary's information, and the drop is changed directly at the physical data layer. The
A dynamic cursor can traverse a dynamic table,Format: is CURSOR; -- Defining a dynamic cursorcursor name cursor type;If the data of the queried table is different, dynamically changing, this time can be used with dynamic cursors.It is important to
Oracle dul 11 has finally been released. You can't wait to download it for testing. The current version is dul 11.2.0.0.1. Currently, only for linux is released, and other versions are expected to be released.Oracle dul 11 releasedDul-11.2Oracle-dul-
A friend's company's database encountered an exception and there was no backup. After the database is opened, crash will be quickly cleared. The following alert log information:Tue Jul 08 22:53:03 2014SMON: enabling cache recovery[2, 13803]
Install the Oracle 11.2.0.4 database software and execute root. sh. This is nothing special.Then, we need to modify the ORACLE binary file permissions of oracle RDBMS so that the oracle database process can obtain the ASM disk group.[Root @ lunar5 ~]
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