Gurus, what exactly is the purpose of this NLS_LENGTH_SEMANTICS para?

Gurus, it would be greatly appreciated if you could also explain what the exact purpose of this NLS_LENGTH_SEMANTICS parameter and what "LENGTH SEMATICS" mean?
I read some posts in this Forum and got some idea but still don't get the REAL PURPOSE of this variable.
I mean, I have never changed these parameters in my 5 years as an Oracle developer when creating tables or doing anything else for that matter..
I have done all my programming and everything in ENGLISH. I have never used multi-ling apps.
Our DBs are 10.2.0.4.0s.
Our DB character set is WE8ISO8859P1.
NLS_NCHAR_CHARACTERSET is AL16UTF16.
NLS_LENGTH_SEMANTICS is BYTE
(1.) Why would anybody want to change this NLS_LENGTH_SEMANTICS to CHAR??
(2.) Is it only used when you want to store NON-ENGLISH characters like Chinese, Persian etc.?
(3.) If so why?
(4.) Is there a storage advantage when CHAR is used instead of BYTES? Can you put BOTH as the parameter value?
(5.) Is there issues when searching when non-English characters are stored in the DB??
(6.) Is AL16UTF16 a multi-byte character set?
(7.) Is WE8ISO8859P1 multi-byte or single-byte character set?? How to find these things???
(8.) What is the real advantage of this NLS_LENGTH_SEMANTICS column and when should we use it and not use it??
In easy to understand language please.
thanks in advance.
Edited by: user12240205 on Oct 28, 2011 12:36 AM

user12240205 wrote:
Gurus, it would be greatly appreciated if you could also explain what the exact purpose of this NLS_LENGTH_SEMANTICS parameter and what "LENGTH SEMATICS" mean?
This is useful only when you use multi bytes character set for you database. Multi bytes characterset means the database stores one character more than one bytes. It can use 2-4 bytes and it can be vary even within one character set. I mean e.g. AL32UTF8 can store an English character in one byte while it can store a Chinese char in 4 bytes only.
VARCHAR2(10 CHAR) means that you define the maximum length of your column in characters no matter how many bytes needed for those to store.
You can also check the docs. There is a really good book called [url http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/ch1overview.htm#sthref51]Oracle® Database Globalization Support Guide also [url http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/ch3globenv.htm#sthref385]LENGTH SEMATICS has a page in it...
I read some posts in this Forum and got some idea but still don't get the REAL PURPOSE of this variable.
I mean, I have never changed these parameters in my 5 years as an Oracle developer when creating tables or doing anything else for that matter..
I have done all my programming and everything in ENGLISH. I have never used multi-ling apps.
Our DBs are 10.2.0.4.0s.
Our DB character set is WE8ISO8859P1.
NLS_NCHAR_CHARACTERSET is AL16UTF16.
NLS_LENGTH_SEMANTICS is BYTE
(1.) Why would anybody want to change this NLS_LENGTH_SEMANTICS to CHAR??I think the above explanation gives you the answer.
>
(2.) Is it only used when you want to store NON-ENGLISH characters like Chinese, Persian etc.? mainly yes. but for any other multi-byte character set
>
(3.) If so why? see above.
>
(4.) Is there a storage advantage when CHAR is used instead of BYTES? Can you put BOTH as the parameter value?BYTE or CHAR
you can use only one, but you can change the value in your sessions. and you can mix CHAR and BYTES column length definitions in a table.
>
(5.) Is there issues when searching when non-English characters are stored in the DB??>
(6.) Is AL16UTF16 a multi-byte character set?16 means 16 bites and this character set always uses 2 bytes to store any characters if I know well.
>
(7.) Is WE8ISO8859P1 multi-byte or single-byte character set?? How to find these things???single.
See MB for multibyte in comment column in [url http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/applocaledata.htm#sthref1960]Recommended Database Character Sets
>
(8.) What is the real advantage of this NLS_LENGTH_SEMANTICS column and when should we use it and not use it??Well in a multi language column where many languages can be stored it is good to use IMHO.
So you can type/store into that column equal amount of Japanese, Chinese or English characters.
>
In easy to understand language please.
thanks in advance.
Finally if you have MOS access see
[url https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=BULLETIN&id=144808.1]Examples and limits of BYTE and CHAR semantics usage (NLS_LENGTH_SEMANTICS) ID 144808.1
Edited by: Kecskemethy on Oct 28, 2011 7:46 AM

Similar Messages

  • What exactly is the purpose of Synchronization Frequency?

    After I read "What is Synchronization Frequency " here:
    http://technet.microsoft.com/en-us/library/bb809047.aspx, and "What is a recovery point" here:
    http://technet.microsoft.com/en-us/library/bb809164.aspx, I still have some doubts in what exactly  Synchronization Frequency's purpose is, if it can't be used to recover
    data.  Let me ask my question by using the following example.
    Say in a file protection group I setup 3 recovery points in a day, at 9AM, 12PM, and 3PM.  And I setup my Synchronization Frequency as "every 1 hour".  Below is what happens at each hour, in the morning:
    8AM: synchronization
    9AM: *recovery point
    10AM: synchronization
    11AM: synchronization
    12PM: *recovery point
    So my questions are:
    Q1. What are the synchronizations taken place at 10AM and 11AM for?  Are they simply making the recovery point creation at 12PM to complete quicker, becuase DPM server only need to sync changes in an hour (between 11
    and 12), instead of in 3 hours (between 9 and 12, if no synchronization was configured between each recovery point) ?
    Q2. I read from the article that at each synchronization, changes are transferred to DPM server and then
    applied to the replica.  However, it did not create a recovery point.
    So, what would be the difference difference if I chose 15 minutes or
    Just before a recovery point, as my Synchronization Frequency interval?   I mean by doing sync's more frequently, I am still getting only 3 recovery points in a day.  Then why do I want to sync it more frequently?  
    If my server crashed at 9:50, but the synchronization took place at 9:45
    is not a recovery point and can't be used to recover data, why would I want to sync it every 15 minutes?

    Hi,
    So i'll post my answer for your 2 questions.
    A1. The point of having synchronization every hour instead of before a recovery point is to spread the transfer during the day so that the data transferred at the time of the RP is smaller and then quicker. You had that point right.
    A2. A Synchronization doesn't create a RP but just in case you can create one if needed.
    Let's say,the RP are created a 7AM, 12PM and 3PM.
    The synchronization occurs at 9.45 and the server crashes at 9.55. At first you will only have the last RP to recover (the 7AM one). But in the console you can create a recovery point without synchronizing based on the replica you have on the server (which
    is updated each time there is a sync happening).
    Then you'll have only your synchronization interval to be loss at max.

  • What exactly is the purpose of showing duplicates

    This whole feature makes no sense to me. You still have to manually delete the song (i think) I have over 6k duplicates according to delete, manually is not an option...
    And heres the part that really confuses me, you can just put the songs in alphabetical order and it will show the dupes so whats the purpose?

    There are so many different definitions of "duplicate" that any automatic duplicate deletion software would inevitably be very complex and probably still **** people off by deleting or not deleting songs when they thought it should. Songs can be covered by different artists, appear multiple times due to single/album/compilation/live/demo versions of the same song, which may or may not be identical, and may be in different file formats, DRMed or not, or encoded at different bit rates. Then you have remixes of songs, TV-size versions, karaoke versions, radio edits, and so on and so on. And all of this is before getting into songs with broken ID3 tags or messed up album artwork.
    Make it too harsh and you get people whining that they still have to manually delete loads of duplicates, make it too lax and you get people whining that it deleted songs that they wanted to keep. Writing a good automatic duplicate deletion tool is more difficult than you think.

  • What, exactly, is the purpose of the app "iEmoji"?

    While examining the App Store description of the $0.99 app "iEmoji", I found that by following the instructions that the description says to perform after downloading the app, I was able to access the emoji keyboard (smiley faces, pictograms, etc) without downloading the app.
    The instructions for activating the keyboard were to go to Settings > General > Keyboard > International Keyboards > Japanese > Emoji
    Is this apparent uselessness because the app is designed for an earlier version of the iPod touch software or designed for text messaging with the iPhone, or is this app simply a complete waste of money and/or a scam that somehow ended up on the app store?
    Message was edited by: EMH Mark I

    From what I can tell, beyond the activation "shortcut", what iEmoji gives you is list of codes for all the emoji characters that iPhone (and iPod Touch) supports. Whether or not that's worth 99 cents to you only you can decide. Here's the company web site if you want to contact them directly and discuss the matter:
    http://www.spiceloop.com/ie/

  • What exactly is the subject of this forum?

    Is it about Oracle Financial Services Application? Or just Oracle Financials, in general?
    Also, the guy that started the forum invited people to ask questions, and as near as I can tell, he has never responded to a single one of them.
    What's going on, here?

    Hi,
    I am looking for training courses of OFSA, exact what
    you mentioned below. Could someone advise me where i
    can find out that kind of materials and what course
    are available for OFSA?
    Lien
    Thanks.
    I work in the Finance Dept. of a medium-sized bank.I am the DBA for three instances of Oracle Financial
    Services Application (OFSA) and two Oracle Express
    databases running Oracle Application Server, Oracle
    Financial Analyzer, and OFSA Budgeting and Planning.
    Maybe we can start to have some discussions.
    Tim
    The only Oracle certifed OFSA training is only run by CamArch in Sydney. They run classes in the US, UK, Asia and Middle-East as well as Australia. Info for courses is a www.camarch.com.au/education/ofsa.htm
    Paul

  • What exactly is the purpose of iCloud?

    A bit of an odd question I apologize, but I'm a bit confused. I have had my iPad for over a year, and in the time have had to restore it twice. The latter time being after the addition of iCloud. I utilize the service as much as one can I suppose, but I've become a bit frustrated with it to be honest. I had expected it to save all of my data, as it says it has been doing every night since I set it up. When I restored my iPad earlier in the week for the second time, half of my data had disappeared. Pictures, settings, messages, you name it. Not to mention my documents in Pages will no longer come up. Even photo stream photos have disappeared, and those are supposed to be stored on a server, no?
    When I restored the iPad via my MacBook, it had asked me to make a backup beforehand. I did, of course. But apparantly iTunes did not like that backup, and offered one I made in November as the "latest" backup. I didn't want to start from scratch, so I just went along for the ride. Of course the backup I did earlier in the week did show up under the devices portion of the settings when I checked later, but who's counting? So here's my question, what the **** is the point of any backup done by any of Apple's software? None of it seems to come back fully. When it does, it's half gone, if even there. Makes me wonder if any of my four years worth of backups using Time Machine are even worth going back to.

    Hi,
    So i'll post my answer for your 2 questions.
    A1. The point of having synchronization every hour instead of before a recovery point is to spread the transfer during the day so that the data transferred at the time of the RP is smaller and then quicker. You had that point right.
    A2. A Synchronization doesn't create a RP but just in case you can create one if needed.
    Let's say,the RP are created a 7AM, 12PM and 3PM.
    The synchronization occurs at 9.45 and the server crashes at 9.55. At first you will only have the last RP to recover (the 7AM one). But in the console you can create a recovery point without synchronizing based on the replica you have on the server (which
    is updated each time there is a sync happening).
    Then you'll have only your synchronization interval to be loss at max.

  • PCI Frequency settings .. What exactly is the purpose?

    Im assuming that raising the pci frequency will OC my graphics card.    Is this true?     

    depend of the vga used
    for your think no
    there is no idea to play with it

  • What is the purpose of this (?=) ?

    hi friends...
    I am practising the WDA programs...
    in that they hav used this code
    data wd_table type ref to cl_wd_table.
    wd_table ?= view->get_element( 'TABLE' ).
    wd_this->table_control ?= wd_table->_method_handler.
    wd_this->table_control->set_key_attribute_name( 'MATNR' ).
    i don't know why they used this code...
    here  ( ?= ) what is the purpose of this ?= ?
    what is the purpose of this class cl_wd_table ?
    i am not clear with all statement, can you guide me..
    i am waiting for ur reply
    regards
    Deva

    ?= this is called downcast or narrow casting operator in abap.
    The purpose of this is assignment between reference variables in which the static type of the target varible more specific than the static type of the source varible.
    Check this link, hope it helps !
    [https://help.sap.com/saphelp_nw70ehp1/helpdata/en/c3/225b5f54f411d194a60000e8353423/frameset.htm]
    Radhika.

  • What's the purpose of this audit setting?

    Setting up 11g to automatically purge audit records and don't understand the purpose for this when it seems setting a timestamp and scheduled job would accomplish the same?
    BEGIN
    DBMS_AUDIT_MGMT.INIT_CLEANUP(
    AUDIT_TRAIL_TYPE => DBMS_AUDIT_MGMT.AUDIT_TRAIL_AUD_STD,
    DEFAULT_CLEANUP_INTERVAL => 240 /*hours*/
    END;

    Refer:
         Parameter DEFAULT_CLEANUP_INTERVAL of DBMS_AUDIT_MGMT.INIT_CLEANUP procedure [ID 1243324.1]
    Looks like feature is currently disabled.

  • What exactly is the Verizon CD for

    We received a CD when we signed up for DSL. I am just wondering exactly what the purpose of this disk is?

    I got a CD when I first signed up for DSL. 
    It's software that walks you through the process of setting up your DSL link. 
    First, it walks you through putting supplied filters in line with all your regular telephone equipment.  This section uses video to make the whole process crystal clear even to a complete neophyte.  Verizon seems to have put in quite a bit of effort to try to get most new customers through this stage without having to call tech support.
    The second stage involves plugging the DSL router into the rhe PC via an ethernet cable,  into the phone line via a phone patchcord, and into AC power.  These cables are supplied.  This stage also uses video.
    The next stage is a line test.  The video is very limited during this stage.  The test extends to the modem that's built into the DSL router, the phone line itself, the modem at Verizon's end,  and the internet gateway also at Verizon's end.  It logs into the gateway using some kind of all purpose account, with a username like "newDSLUser"  (I forget the exact username).
    The final stage involves setting up the user parameters like the accountname and password assigned to this user for internet access, and access to a home page supplied by one of Verizon's partners.  My CD often flamed out in the middle of this stage, but no matter.  It got far enough so I could use the service. 
    The video is OK in this stage, but it's a little less simplified that than the first stage.  Perhaps setting up an account is just more abstract than plugging in a filter.  Or perhaps they have ot keep changing it over time to stay in sync with their service.
    Overall, it's a good intro to DSL, and most users should be able to get up and running with it without calling a tech.
    You may have a different version of the CD.  Your mileage may vary.

  • What exactly are the updates good for on an ipod

    I ask because mine is windows format, and im having trouble transferring all the metadata off my ipod with senuti to a back up so that i can reformat the ipod to mac and then sync in my senuti backed up library. I was wondering if anyone knows what exactly are the updates that you get. my ipod is 1.2 5thgen.
    If i were to have the latest update would i be able to see album cover art view when the ipod is plugged into itunes? I noticed that i can see that view in library mode but not in ipod mode. (my pod isnt synced)...
    so what are these updates good for?

    hey thanks for your reply.
    I do have it set to manual and i can see the art on the ipod by itself, but even with manual transfer itunes wont let me view the artwork modes unless i am playing off my computers library (which doesn't have the songs on my ipod on it). I called apple earlier today and some tech support guy claimed that itunes does not support this feature. Is this correct? can anyone out there see artwork modes on an unsynced ipod through itunes?

  • What may be the cause of this error java.sql.SQLException: invalid sql type passed to callable statement in iplanet ussing JNDI

     

    Hi,
    The possibilities can be of various reasons, with the sql statements,
    xml descriptors, data sources, improper drivers anything. To crack down
    the solution, kindly let me know the error messages and what exactly are
    you trying to accomplish.
    Thanks & Regards
    Raj
    manimaran t wrote:
    what may be the cause of this error java.sql.SQLException: invalid sql
    type passed to callable statement in iplanet ussing JNDI
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • What exactly does the global switch command line do ?

    Hello All
    Just foraging in the dark world of APP-V. I have a question which I cannot find answer for through google.
    There are powershell commands to publish an APP-V application globally. What exactly does the global switch do ?
    I understand it makes the application available to everyone on the machine for anyone who logs onto that machine.
    However in the absence of this global switch the application is still available to all users who logon to that particular machine. So what exactly is the reason for using the global switch ?
    Thanks

    Correct, the global switch makes the application accessable for all users logging on to that system.
    This feature is required for some packages, like Office. But it is ofter used for applications used by everyone, like Adobe Reader.
    However in the absence of this global switch the application is still available to all users who logon to that particular machine. So what exactly is the reason for using the global switch ?
    A package can be added to the system but until it is published a user cannot start it. They won't see any shortcuts in their startmenu/desktop/etc.
    So after you added the package to the system, it must be published to a user or globally (every user) to start it.

  • What exactly are the cron scripts doing?

    Hi,
    Hope the subject says it all: I have searched but not found a detailed explanation as what the cron scripts (daily, weekly, monthly) actually do, and if the utilities (Onyx, Cocktail, Xupport, etc) are doing exactly the same.
    Can someone point to a site or explain?
    TIA
    Dan

    Hi Dan,
    (in addition to Barry's reply)
    Yes,
    1) running the Daily, the Weekly and the Monthly tasks manually with an utility, or
    2) running them yourself with the
    sudo periodic daily
    sudo periodic weekly
    sudo periodic monthly
    Terminal commands
    (or this one: sudo periodic daily weekly monthly), or
    3) leaving your computer running 24/7/365 so that they run automatically,
    all three ways do exactly the same thing.
    --> To see what they do exactly, the best way is to open Console, and in the /var/log section, look for "daily.out", "weekly.out" and "monthly.out".
    What exactly are the "cron scripts" doing?
    (Periodic tasks)
    In Console, you'll find a lot of different files that grow with more and more information every minute, even every second for some of them.
    The three Periodic tasks regularly rearrange them and compresses them so that they don't take too much disk space.
    They also rebuild some system database so that the data never gets unusable by the system.
    HTH
    Axl
    201

  • What exactly does the Work Offline option do in a shared review hosted on an internal server?

    Hi,
    What exactly does the Work Offline option do in a shared review hosted on an internal server?
    I *think* it simply disconnects you from the review server. I'm not sure why one would want to do this.
    I'm trying to recommend an offline workflow for reviewers who may not be able to access a shared review hosted on our internal server (for example, while traveling). These reviewers would like to be able to comment on an offline version of the review PDF and then publish their comments when they can again connect to the Internet/internal server.
    It doesn't seem like "Work Offline"  is the right fit for this scenario. Instead, should reviewers save a local copy to their hard drive, comment on it, and then, when reconnected to the Internet, open the local copy, click Reconnect to Server, and then click Publish Comments?

    Thanks, Dave. So for my hypothetical traveling reviewer, it would be reasonable to suggest the following steps for an offline workflow?
    1. Connect to the shared review.
    2. Choose Work Offline from the Server Status menu.
    3. Close and save the review PDF locally.
    4. Comment while traveling.
    5. When back in the office, open the local copy of the review PDF.
    6. Click Reconnect to Server.
    7. Click Publish Comments.

Maybe you are looking for

  • Explicit tags do not work on IPad with Restrictions on

    I have noticed (though I cannot say if it is the same for songs purchased through the Itunes store as I do not own any explicit ones) that songs I have manually marked as explicit with the program MP3TAG that on my Ipad and in itunes if I enable rest

  • Mini display incompatible with older ADC-displays?

    I have no problem connecting my 23" aluminum bezel display in my office to my new 13" MBP, but when I wanted to hook up my older model 20" Cinema Display (plastic grey bezel) at home, the display was not recognized. Does anybody know if this is indee

  • Does Foreign Currency Revaluation Post to an Account which is Open Item Man

    Hi, When running the FC revaluation, it is not posting to an account which is Open Item managed. I have read somewhere that FC Reval. does not post to accounts which are OI managed or the Recon accounts. Is this correct? If yes, what are the option f

  • Simple Site Search

    Anyone figured out how to add a simple site search to your web site using Google, Yahoo, or Bing.  The options out there using html coding do not seem to format correctly when added to an inserted object.

  • Products from SRM to CCM

    HI, ALL while I do the case about the products in SRM transfer to CCM. (they are not one client) ,   I configured the XI according to the cook-book.  then  I run the repport BBP_CCM_TRANSFER_CATALOG  in SRM by SE38.  after running , the log show ever