What is an exception?Errors in Oracle are usually divided into compile-time errors and run-time errors ), an exception is a warning or error that occurs during PL/SQL Execution. • How is an exception triggered? -When an Oracle error occurs-use the
Oracle server-enterprise edition-version:11.1.0.6 to 11.2.0.1-release:11.1 to 11.2
Oracle server-enterprise edition-version:11.1.0.6 to 11.2.0.1 [release:11.1 to 11.2]
Information in this document applies to any platform.
Checked for relevance on 18-
Troubleshooting in Oracle Data Migration:1, after the data migration, there is garbled problemResolution processA, use SELECT * from nls_database_parameters; command to view the character set in the source library, what the content might be. (This
I. SummaryIn the development process of Plsql program, it is very important to monitor and deal with the program exception, including how to trigger the exception, when to deal with it, how to handle it, whether to centralize all the exceptions in
The built-in Oracle functions sqlcode and sqlerrm are especially used in the others processor to return the Oracle error code and error messages respectively.
The others processor should be the final exception processor in the exception
After successfully connecting to the database, check the listener status: lsnrctl status
Status READY status, which must be switched from non-archive to archive. The operation is as follows:
1. Shut down the database shutdown immediate and shut
Connect to Oracle today error: ORA-18008: unable to find the OUTLN solution, the day before yesterday also used well, now no matter query any SQL statement or click list view will pop up this error
Connect to Oracle today error: ORA-18008: unable to
The error RMAN-06571: datafile 78 does not have recoverable copy is reported in the migration script log. It is found that file 78 was dropped by offline. So re-build the control file, in the control file to remove the 78 File, re-control, the
The situation is as follows:
Oracle and PHP are not on the same machine and Oracle is accessible on the machine where Oracle resides.
However, the remote connection via PHP, Error oci_connect (): Ora-12541:tns:no listener.
The listener
Ora-12638: Identity Authentication retrieval failed. with SQL: Select * from t @ zjdtdblink. solution: view the dtdblink Data Link in dbastudio, which is not active. check whether the Domain Server is disconnected. after restarting the Domain Server,
Some problems occurred when using ORACLE in the actual project. The problem is avoided through the work und. I wrote this article to make it easy to use!
1. ORA-01403: no data found-NO DATA FOUND
A. Add an exception to handle the exception.
Code
Check an online article to display the list of events from 10000 to 10999,
I want to see if there is another one, so I will slightly modify it, from 0 to 20000, and export it to the oracle.txt file.
Set linesize 120Set feedback offSet serveroutput
Document directory
Create an account, found how prompt "ORA-00988: Password missing or invalid", for a long time did not engage in technology, only found that the password can not start with a number, as if 9i did not have such a requirement.
Run
Sqlldr username/password control = 'tbl _ EMP. CTL'
An error occurred while importing data.
SQL * loader-522: lfiopn failed for file (sqlldr. Log)
The cause of this error is that the command is not executed in the directory where the
Ora-02292: Username that violates the complete constraints. constraint name)-The subrecord has been found.
Another reason is that A field in Table B references A field in Table A as A constraint ).
If the referenced field is field and B. field is
Environment: Oracle 11g R2 + SQLPlus
Problem: create user, a ORA-01950 error occurred while creating the table space "system" has no permission
Solution: The permission issue is obvious. The permission granted after the user is created is
OracleOraDb10g_home1TNSListener:This Service corresponds to % Oracle_Hoem \ bin \ TNSLSNR. EXEIf the service is not started, Oracle errors will occur-Ora-12514: TNS: no listeners.
OracleServiceORACLE:If the service is not started, it will cause
ORA-00844: Parameter not taking memory_target into account, see Alert Log for more information.
Solution: Create a pfile and modify the value of memory_target to solve the problem.
Example:1. Create pfileSQL> Create pfile = '/home/Oracle/initora1
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.