Common bugs when using oracle

*、[Err] ORA-01722: invalid number

When this error occurs, it means that when your query result or table is associated, the data returned in a field or the type of the two associated fields should be number, but there are non-number types and non-number types in the data. , non-number type.

 

*、the numeric value does not match the length of the format item

The problem is that the parameter value and format of a function that is called do not match.

 

*, ORA-01810 format code appears twice

yyyy-MM-dd hh24:mi:mi in ss must replace mm in 12-hour clock

 

*, encountered a prompt when importing: N errors

If the prompt information is:
    1. Existing, at this time the error count is increased by 1
    2. It has been created, but the compilation fails. At this time, you can check whether the stored procedure, function or other function does exist in the database, but there is a problem with the syntax to confirm that it is not a problem of the import operation
    3. To be determined

 

*, ORA-01536: tablespace *** exceeds quota

1. If this article takes effect, you can skip the next article directly
   grant unlimited tablespace to username;
2. If the previous day did not take effect, try the following operations
   alter tablespace *** add datafile 'url' size 200m;
   For details, see: http://www.shangxueba.com/jingyan/107496.html
3. If the above does not work, haha, then you must be operating the wrong database, Sao Nian, it is very likely!
   funny behavior~

 

*, Oracle database is initializing or closing ora-01033

For archived and non-archived databases
Execute: alter database open if there is an online log* exception
select group,sequence,status  from v$log;
Abnormal archives can be viewed
执行:alter database clear logfile group *;
or alter database clear unarchived logfile group *;
Then execute the alter database open test to start normally.
If it still doesn't work, please @ me, haha~

 

 *、ORA-00907: missing right parenthesis

Missing closing parenthesis or an additional symbol before and after the closing parenthesis

 

*, ORA-28002: password expired

Since the password has expired, you can reset the password.
So someone asked, can you no longer set it and change it to indefinite?
The answer is yes, as follows:
See: http://lbovinl.iteye.com/blog/2373728
(*^__^*) Hee hee...

 

**, ORA-01157: unable to identify/lock datafile 8 - see DBWR trace file

shutdown immediate and then startup log error message
then look down

 

*, uninitialized service handle 

conn / as sysdba (must guarantee successful login)
startup

 

*, delete the dbf file oracle cannot start

startup records wrong file path
alter database datafile '*.DBF' offline drop

 

*, ORA-01795: maximum number of expressions in list is 1000

Translation: It means that the length of the array in in must be less than 1000, and the difference is divided into multiple ones, namely in(...) or in(...), people have to learn to work around

 

*, ORA-39143: The dump file may be the original export dump file - CSDN Blog

Indicates that the dmp file is a file type exported by the old way of exp

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326612052&siteId=291194637