Getting error 'ORA-01756: quoted string not properly terminated' [message #187448] |
Mon, 14 August 2006 01:23 |
pulkit_a
Messages: 50 Registered: December 2005
|
Member |
|
|
Hi,
I am working with Japneses Character. When i am trying to insert Japnese data into Oracle 9i Tables for some character sets it is unable to recognise the ending quote with the String and through error
"ORA-01756: quoted string not properly terminated" even though the end quotes exists.
If i add 2 spaces OR any thing of 2 character before the ending quotes then it recognize the ending quotes and execute successfully.
I think i need to make some settings..
I really need help..
Regards
Pulkit
|
|
|
|
|
|
|
|
|
|
Re: Getting error 'ORA-01756: quoted string not properly terminated' [message #187569 is a reply to message #187448] |
Mon, 14 August 2006 08:59 |
pulkit_a
Messages: 50 Registered: December 2005
|
Member |
|
|
Dear Friends,
Thanks a lot for ur comments...I am into a data Migration work and in that the Static data that i am getting from Business people i am populating directly through SQL file having multiple Inserts. Now some data gets inserted and some failes saying "Quoted String not properly terminated"
Can this be Character Set issue... Well i am using
NLS_LANG=JAPANESE.JAPAN.UTF-8
If you feel that the problem can be with character set then suggest what change can i make.
Regards
Pulkit
[Updated on: Mon, 14 August 2006 09:00] Report message to a moderator
|
|
|
Re: Getting error 'ORA-01756: quoted string not properly terminated' [message #187659 is a reply to message #187569] |
Mon, 14 August 2006 17:09 |
wagnerch
Messages: 58 Registered: July 2006
|
Member |
|
|
If you are using that NLS_LANG then it is probably not working, it is not formatted right.
Verify by running this query:
SELECT *
FROM nls_session_parameters
WHERE parameter IN ('NLS_LANGUAGE', 'NLS_TERRITORY');
PARAMETER
--------------------------------------------------------------------------------
VALUE
--------------------------------------------------------------------------------
NLS_LANGUAGE
JAPANESE
NLS_TERRITORY
JAPAN
If it doesn't return the above, then it should be:
export NLS_LANG=JAPANESE_JAPAN.UTF8
|
|
|
Re: Getting error 'ORA-01756: quoted string not properly terminated' [message #187679 is a reply to message #187448] |
Mon, 14 August 2006 21:02 |
pulkit_a
Messages: 50 Registered: December 2005
|
Member |
|
|
Well following is the output from nls_session_parameters table
SELECT *
FROM nls_session_parameters
2 3 WHERE parameter IN ('NLS_LANGUAGE', 'NLS_TERRITORY');
PARAMETER
--------------------------------------------------------------------------------
VALUE
--------------------------------------------------------------------------------
NLS_LANGUAGE
JAPANESE
NLS_TERRITORY
JAPAN
I think the database settings are OK..
Please suggest.
|
|
|