Today, the ORA-01756: quoted string not properly terminated error occurred while importing data using volume El. Now I 've sorted out some solutions that are commonly used in oracle.
Error 1: ORA-01756: quoted string not properly terminated
Chinese
When a deadlock occurs in an Oracle database, the following processing steps can be used to resolve it:
The first step: try to delete the SQL command in the Sqlplus , if you can delete the success, then everything! However, in general, when a
A similar situation had been encountered on 11g before, because the ALTER SYSTEM KILL session caused the resource to be fully occupied and the database was hang for a period of time. This time we have a similar problem.A brief description of the
When a record is updated or deleted, it cannot be manipulated, or is locked, and sometimes, when we do update or delete on Oracle, there is no time to get the result of the operation,
has been in the process of being processed, it is time to
In the daily study of the database, we found that the default temporary table space of the company production database is up to 30G, the utilization rate is 100%, and the usage rate is 100% after being adjusted to 32G, which causes the disk space
Preface
Update the data for one table, on hundreds of, and then especially slowly, all the time, and then force it to return, again or again, taking into account the possibility of locking the table. Solve
① first finds which sessions are
First, the phenomenon of database deadlockFirst confirm the login interface SYS/DBAIs that the program does not return, like the software card dead second, the principle of deadlockIs that an operation completes the uncommitted completion commit,
Error 1:ora-01756:quoted string not properly terminated
Chinese content cannot be inserted due to inconsistent character set encodingQuery the character encoding settings for the current database:Sql> SELECT * from V$nls_parameters T WHERE
The following SQL statements can be used in Pl/sql to query which tables in the current database are locked and which users lock them:
SELECTA.owner,--object owned userA.object_name,--object name (table name)B.XIDUSN,B.xidslot,B.XIDSQN,B.SESSION_ID,
The following SQL statements can be used in Pl/sql to query which tables in the current database are locked and which users lock them:
SELECTA.owner,--object owned userA.object_name,--object name (table name)B.XIDUSN,B.xidslot,B.XIDSQN,B.SESSION_ID,-
View lock table Process SQL statement set pagesize 999set line180col oracle_username for A18col os_user_name for A18col object_name for A24select s Ess.sid, sess.serial#, Lo.oracle_username, Lo.os_user_name, Ao.object_name, Lo.locked_mode from
Reason:because there is no commit,oracle to lock the record when Plsql developer executes the update. can be resolved by querying the lock record first SQL code select S.sid, s.serial# from V$locked_object Lo, dba_objects ao, v$session s WHERE
Symptom: 02055 02049 02063 06512 error reported in Target library during stored procedureTroubleshooting process:1. Querying the 110 rows of the stored procedure is just a simple delete action2, through the following SQL statement to find the
Basic statementLog in to create a user and set permissions#sqlplus/nolog sql> conn/as sysdba; Sql>create user username identified by password sql> Grant DBA to username; Sql> Conn Username/password sql> select * from user_sys_privs;//view Current
//query tablespace Select Tablespace_name,file_id,file_name,round (bytes/(1024*1024), 0) Total_space from Dba_data_files ORDER by Tablespace_name //Set table space size alter database DataFile ' D:\ORACLE\ORADATA\ORCL\USERS01. DBF ' resize 200
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.First look at the current process of the target user, note is serial# instead of serial, the introduction of the Internet Missing #:Select sid,
----Handle Deadlock processes--View locked tablesSelect B.owner,b.object_name,a.session_id,a.locked_modeFrom V$locked_object a,dba_objects bwhere b.object_id = a.object_id;--View the user who locked the tableSelect
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.