Hello Am trying to insert a special characcter "ƒ" but its not taking

Hello all ,
Help is greatly appreciated.
Am trying to insert a special character for currency symbol -"ƒ". Below is my insert statement.
INSERT INTO PROD.region
(COUNTRY_ID, CURRENCY_SYMBOL , NAME)
VALUES
(530,'"ƒ"', 'Netherland Antilles' );
I tried from TOAD as well as Sql Plus , but its inserting as "?" for currency symbol column .
So please kindly anyone provide me suggestion how to have the exact value- "ƒ" to be inserted.'

Hello,
this is anything but trivial.
My characterset is
SELECT value
FROM   v$nls_parameters
WHERE  parameter = 'NLS_CHARACTERSET';
WE8ISO8859P15One might assume that inserting the charcter is simply a matter of the correct ascii code
SELECT ASCII('ƒ') x FROM dual;
         X
       191So we set up a test table
DROP TABLE t_nvarchar;
CREATE TABLE t_nvarchar(
     v NVARCHAR2(1)
    ,who VARCHAR2(20)
    );Now we insert some lines using SQL Developer
INSERT INTO t_nvarchar (v,who) VALUES ('ƒ','SQL Developer 1');
INSERT INTO t_nvarchar (v,who) VALUES (N'ƒ','SQL Developer 2');
INSERT INTO t_nvarchar (v,who) VALUES (NCHR(191),'SQL Developer 3');
INSERT INTO t_nvarchar (v,who) VALUES (UNISTR('\0192'),'SQL Developer 4');   
COMMIT;And the same lines using SQL*PLUS
INSERT INTO t_nvarchar (v,who) VALUES ('ƒ','SQL*PLUS 1');
INSERT INTO t_nvarchar (v,who) VALUES (N'ƒ','SQL*PLUS 2');
INSERT INTO t_nvarchar (v,who) VALUES (NCHR(191),'SQL*PLUS 3');
INSERT INTO t_nvarchar (v,who) VALUES (UNISTR('\0192'),'SQL*PLUS 4');   
COMMIT;And what do we get (Executed in SQL Developer, since SQL*PLUS cannot show the "foreign" characters
SELECT v,who,DUMP(v) FROM t_nvarchar;
V WHO                  DUMP(V)          
¿ SQL Developer 1      Typ=1 Len=2: 0,191
¿ SQL Developer 2      Typ=1 Len=2: 0,191
¿ SQL Developer 3      Typ=1 Len=2: 0,191
ƒ SQL Developer 4      Typ=1 Len=2: 1,146
Ÿ SQL*PLUS 1           Typ=1 Len=2: 0,159
Ÿ SQL*PLUS 2           Typ=1 Len=2: 0,159
¿ SQL*PLUS 3           Typ=1 Len=2: 0,191
ƒ SQL*PLUS 4           Typ=1 Len=2: 1,146How could it be that SQL*PLUS inserted the character 159 for ƒ?
Because SQL*PLUS uses another characterset by default on my machine
SELECT ASCII('ƒ') x FROM dual;
         X
       159So the only reliable way to insert UNICODE characters is the UNISTR function. And of course this only works when the column can accept these values.
When you repeat the example with a VARCHAR column
DROP TABLE t_nvarchar;
CREATE TABLE t_varchar(
     v VARCHAR2(1)
    ,who VARCHAR2(20)
    );Now we insert some lines using SQL Developer
INSERT INTO t_varchar (v,who) VALUES ('ƒ','SQL Developer 1');
INSERT INTO t_varchar (v,who) VALUES (N'ƒ','SQL Developer 2');
INSERT INTO t_varchar (v,who) VALUES (NCHR(191),'SQL Developer 3');
INSERT INTO t_varchar (v,who) VALUES (UNISTR('\0192'),'SQL Developer 4');   
COMMIT;You don't get what you might expect
SELECT v,who,DUMP(v) FROM t_varchar;
V WHO                  DUMP(V)          
¿ SQL Developer 1      Typ=1 Len=2: 0,191
¿ SQL Developer 2      Typ=1 Len=2: 0,191
¿ SQL Developer 3      Typ=1 Len=2: 0,191
¿ SQL Developer 4      Typ=1 Len=2: 0,191Regards
Marcus
Edited by: Marwim on 25.03.2013 16:06
Added explanation for value 159 in SQL*PLUS

Similar Messages

  • HT4865 Have tried to verify my icloud account, but its not working the Verifying screen is just scrolling round, but not doing anything

    Have tried to verify my icloud account, but its not working, the Verifying screen has been scrolling for ages now, it seems stuck, but it wont let me do anything, please help

    " I ordered the Snow Leopard software and tried installing it, but it stopped and said to clean the disk."
    First off, your installation disc is in all likelihood faulty.
    This has been a known issue in the past:
    Faulty Snow Leopard install discs - Apple has no timeline on ...
    http://store.apple.com/us/help/returns_refund#policy:
    *You can return software, provided that it has not been installed on any computer. Software that contains a printed software license may not be returned if the seal or sticker on the software media packaging is broken.

  • Ive tried to reset my iclouds password but its not working

    i need to activate iphone 4s, ive tried on my laptop to re-set it but its not working, ive been trying for the pass 3hours?
    i just want to use my phone again?
    i cant remember setting a password?
    I aslo cant remember if i created two different passwords for iclouds and appleID.
    NEED HELP?

    Contact Apple for assistance by going to https://expresslane.apple.com, then click More Products and Services>Apple ID>Other Apple ID Topics>Lost or forgotten Apple ID password.

  • HT1751 I am trying to retrieve songs from ICloud but its not letting me I've tried logging in  and it says my email is not valid even after i make an account

    I have 5th gen Ipod Nano and I have recently bought a new computer and have been syncing all of my music onto itunes.But when I try to login I get locked out. I have tried using ICloud but I still get locked out. So I created a new Apple ID, I have been forced by ICloud to do this many times in the past and eventually the ICLOUD icon will appear and I can sync all my music I have purchased on itunes in the past. I as a customer not only find this process very aggravating but also feel its a waste of my time and money that I have spent purchasing the songs because in a matter of weeks ICloud will log me out.When trying to log back in it will reject my email and password saying its not a valid account when I have already verified the account.  I have also experienced problems with the ipod itself, sometimes the Itunes won’t show that the Ipod is connected when it is or not syncing my music and also not allowing anymore songs to be put on it when it says it has not all the storage has been used up. I have tried uninstalling Itunes and then reinstalling it. The problem seems fixed for a while and then it starts again. I have had to deal with this problem for months now. I find this very frustrating. I don’t see the point in having an Apple ID or password when nobody but me accesses it on itunes. It would make more sense to have an option that will keep account logged in. I also find that your website does not offer any help when encountering this problem.The only options I have online are to login with my apple ID and change my name,email address or password. This also adds to my frustration with Apple. I have tried to turn ICloud on by following your instructions at help.apple.com but still find that the problem isn’t solved. I have looked on your site to see if I have an up to date Itunes downloaded and that ICloud installed correctly and I did. But still cant access my account or retrieve any of the music. I find there are many faults in your system which make it hard for me to enjoy using any of your products. If this continues I may just have to buy a different mp3 player and use that. I do not wish to stop using my Ipod.

    Hi DesCoop,
    You must initiallly activate iCloud from an IOS device or a Mac. You cannot inititally activated from a PC.
    Sorry.
    GB

  • TS4006 my iphone has gone into the lost mode and i have tried to reactivate it with itunes but its not working. itunes says i should insert the simcard pin code but there is no option for me to do that on the phone or itunes. please help........

    please help my iphone 4s has gone into the lost mode and i cant re-activate it i dont know what to do. Itunes needs me to put the Simcard pin but i dont have any option for that.

    Hello Buzzy78,
    Try to put your iPhone in Recovery mode and then Restore it to Factory settings and see if you are able to get into your iPhone.
    Recovery Mode : http://support.apple.com/kb/HT1808

  • I just got a new phone and I'm trying to use iMessage but its not taking my apple id password

    i have my new phone and it has all my pictures an contacts and I've been putting in my password but the only apps that arnt taking it is my FaceTime and imessage

    Especially check Settings > General > Date & Time and make sure your time zone is set correctly.
    If you get an error when trying to activate iMessage or FaceTime - Apple Support

  • As Soon As Any Effect Is Applied On The Video Or Sequence The Video Playing Speed Gets Faster Than Normal And Red Screen Also Starts Appearing In Between The Video. Tried Changing The Speed And Duration But Its Not Working.Help Required ASAP.

    The Issue Is Majorly Caused When Any Effect Is Applied On The Video And Rendered The Issue Occurs. And By Closing The Application And Restarting The Application Its Works Fine Again But As Soon As The Effects Are Applied Same Problem Occurs Recursively.

    What is the format of the material you are editing, is it variable frame rate?

  • Im trying to pay from my gifting but its not giving me an option to use my apple id balance

    I'm on the billing info of my gifting purchase, but it doesn't give me an option to pay with my current Apple ID balance. The only options are using credit cards or redeeming another iTunes card. I wanna use my current balance but they're not giving me the option. Please help, I'm giving an album as a gift.

    This is correct.  You cannot give a gift with a gift card balance.  You will have to use credit card.

  • TS3694 Hello. I have an iphone 3gs 8gb factory unlocked. Currently its running on ios 5.0.1 and I am trying to update it ios 5.1.1 but its not updating. The itunes downloads the ios 5.1.1and gives back unknown error(3194). Please help.

    Hello. I have an iphone 3gs 8gb factory unlocked. Currently its running on ios 5.0.1 and I am trying to update it ios 5.1.1 but its not updating. The itunes downloads the ios 5.1.1and gives back unknown error(3194). Please help.

    Unable to contact the iOS software update server gs.apple.com
    Error 1004, 1013, 1638, 3194: These errors may be the result of the connection to gs.apple.com being redirected or blocked. Follow these steps to resolve these errors:
    Install the latest version of iTunes.
    Check security software. Ensure that communication to gs.apple.com is allowed. Follow this article for assistance with security software. iTunes for Windows: Troubleshooting security software issues.
    Check the hosts file. The restore will fail if there is an active entry to redirect gs.apple.com. FollowiTunes: Advanced iTunes Store troubleshooting to edit the hosts file or revert to a default hosts file. See section "Blocked by configuration: (Mac OS X/Windows) > Rebuild network information".
    Try to restore from another known-good computer and network.
    If the errors persist on another computer, the device may need service.

  • I'm trying to insert a new row, but not a whole row  on  a spreadsheet, but all i can seem to do is insert a full complete row? iPad Air Wi-Fi

    I'm trying to insert a new row, but not a whole row  on  a  pages app spreadsheet, but all i can seem to do is insert a full complete row?

    What exactly are you trying to do? As I stated in your other thread, there is no such thing as a partial row.

  • TS3361 Hello.. I have a MACBook that is 3 years old..recently the WiFi status is stuck in the off position..how can I get it to turn on.I tried turning it on but its not budging.

    Hello.. I have a MACBook that is 3 years old..recently the WiFi status is stuck in the off position..how can I get it to turn on.I tried turning it on but its not working.

    There are some instructions here.
    wireless issues with Mavericks in particular.
    This might fix some issues with the Airport Extreme or TC if people upgrade installed.
    https://discussions.apple.com/thread/5219345?tstart=30

  • I am trying to sync to Outlook 2010.  I get a weird error message when I am trying to setup on my pc.  Its not english.  It says "der automatische refresh konnte nicht gestartet werden"  Help!

    I am trying to sync to Outlook 2010.  I get a weird error message when I am trying to setup on my pc.  Its not english.  It says "der automatische refresh konnte nicht gestartet werden"  Help!

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • My iPod touch 5th g. is stuck on recovery mode, before this i was trying to update it to ios8. I'm trying to connect it to iTunes but its under unspecified and doesn't connect to itunes(asus eee pc) What do i do?

    my iPod touch 5th g. is stuck on recovery mode, before this i was trying to update it to iOS8. I'm trying to connect it to iTunes but its under unspecified and doesn't connect to iTunes(Asus Eee pc) What do i do? please help me.

    Try:                                               
    - iOS: Not responding or does not turn on           
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable       
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar                                     
    And as necessary:
    See
    iOS: Device not recognized in iTunes for Windows
    - I would start with
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or                     
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    However, after your remove the Apple software components also remove the iCloud Control Panel via Windows Programs and Features app in the Window Control Panel. Then reinstall all the Apple software components
    - Then do the other actions of:
    iOS: Device not recognized in iTunes for Windows
    paying special attention to item #5
    - New cable and different USB port
    - Run this and see if the results help with determine the cause
    iTunes for Windows: Device Sync Tests
    Also see:
    iPod not recognised by windows iTunes
    Troubleshooting issues with iTunes for Windows updates
    - Try on another computer to help determine if computer or iPod problem

  • Hi, i bought an iphone 5 through ebay, when i am trying to activate, its asking for a icloud user name and password, but i am unable to contact the owner, but its not black listed. is there any solution? please help me.

    hi, i bought an iphone 5 through ebay, when i am trying to activate, its asking for a icloud user name and password, but i am unable to contact the owner, but its not black listed. is there any solution? please help me.

    Hello there, Ark.
    It sounds like the iPhone has Activation Lock still activated. The following Knowledge Base article provides the methods available for removing the previous owner's account:
    Find My iPhone Activation Lock: Removing a device from a previous owner’s account
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • HT201272 I am trying to buy 2 songs and I click on purchase i already have 50$ redeemed in my account but its not using that money its suggesting my debit card. How can i get my gift card to be used then?

    I am trying to buy 2 songs and I click on purchase i already have 50$ redeemed in my account but its not using that money its suggesting my debit card. How can i get my gift card to be used then?

    Hello there, AniChirglyan.
    The following Knowledge Base article talks a little about the purchasing order of items through the iTunes Store.
    iTunes Store: How iTunes Store purchases are billed
    http://support.apple.com/kb/HT5582
    iTunes may still ask you for information from your card on file if that information has lapsed or needs updating. The card information on file has to be correct, no matter what purchasing option you will be exercising for this purchase.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro D.

Maybe you are looking for

  • How to find the tables in OM

    Hi All, How to find the tables in Oracle order mangement and what are the links of the tables in oracle OM Thanks & Regards srikkanth.M

  • Data doesn't display on Advanced List Pane in Embedded Component

    Hi Experts, I created an Advanced List Pane and attached a List Modification Form to create new entries for the list. If I click on the New Button, the List Modification Form opens where I can add data. However after I click on OK button, the new ent

  • CS4 Memory Loss?

    Ever since I installed InD CS4, and after doing several edits on different pubs, I'm no longer able to open the panels by clicking on them. They just sit there and stare at me. I have to close InD and restart it for them to start working again. Is th

  • Stuck at error with How To Example for Data Binding in Multi-Form App

    I have succesfully completed the section "Serial Forms Use Case" by Ralph Gordon's in "Managing ADF JClient Data Binding in a Multi-Fom Application" How To Document. Everything worked as explained. Then I tried doing the second section "Concurrent Fo

  • Looking for different audit events in Oracle Linux

    Hi, I am looking for different audit events in Oracle Linux. I did lot of googling but could not find anything relevant. Can you please share some doc/info if you have. Thanks, Ravi