dbTalk Databases Forums  

What´s wrong with sqlplus? Sign convert problem.

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss What´s wrong with sqlplus? Sign convert problem. in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
jochen
 
Posts: n/a

Default What´s wrong with sqlplus? Sign convert problem. - 11-30-2007 , 06:04 AM






We use 9.2.0.6.

We have a 'problem' to execute an update command like

update <tablename>
set expression=
'§STEP§STEP29' /
commit
/

If i logon in sqlplus and run the script with copy and paste, the sign
'§' is not crrect in db record. It es converted to an unknown sign
like '~'. In the command line, the sings that are visible by executing
the pasted command, the § sign looks like correct.

If i run the script with sqlplus and @script.sql the § is correct in
record.

Why? Where is the
problem?

Thank for help!

Reply With Quote
  #2  
Old   
fitzjarrell@cox.net
 
Posts: n/a

Default Re: What´s wrong with sqlplus? Sign convert problem. - 11-30-2007 , 08:37 AM






On Nov 30, 6:04 am, jochen <jochen.rittm... (AT) gmail (DOT) com> wrote:
Quote:
We use 9.2.0.6.

We have a 'problem' to execute an update command like

update <tablename
set expression=
'§STEP§STEP29' /
commit
/

If i logon in sqlplus and run the script with copy and paste, the sign
'§' is not crrect in db record. It es converted to an unknown sign
like '~'. In the command line, the sings that are visible by executing
the pasted command, the § sign looks like correct.

If i run the script with sqlplus and @script.sql the § is correct in
record.

Why? Where is the
problem?

Thank for help!
With copy and paste, as you're converting that character to whatever
the local O/S decides it should be, and that hex representation may
not match the hex value found in the script for that same character.


David Fitzjarrell


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.