Find how may bytes or characters are occupied for Special Characters

hi
i would like to know how many characers are occupied for the below Russian characters. i am using UTF8 character set.
because we need to transfer from one database to other for reporting
inthe base databse it is stored and the field max length is 200
and in reportiung database it is 80 char
but when i check the direct length with length function it is showing and it is not able to fit in to the reportign database tables. can you help he to find how many characters or bytes it occupies to store in databse for these characters
Actual Russina Characters. -------- ('óë. Ãåðîåâ-Ïàíôèëîâöåâ 22')

Hi,
<snip>
how many characters or bytes it occupies
</snip>
you can use dump function:
SQL> select dump(first_name)
2 from employees
3 where first_name = 'Peter';
DUMP(FIRST_NAME)
Typ=1 Len=5: 80,101,116,101,114
<snip>
base databse it is stored and the field max length is 200 and in reportiung database it is 80 char
</snip>
in the reporting database:
alter table your_table modify column_name VARCHAR2(200);
solved :)
Regards,
Tomek
Message was edited by:
Tomasz Tubis

Similar Messages

  • Text edit- Keystrokes for special characters

    They've changed the keystroke I use to use for making a checkmark.  It was 'Option v'.  Now it's not.  Is there a chart somewhere showing what teh keystrokes are now for special characters?  Thanks so much for any help.
    -Thom

    Okay, I found this, http://support.apple.com/kb/PH10758?viewlocale=en_US .  Which gives me the Edit/Special Characters.  But I still do not find any keystrokes to make my checkmark.

  • Fields in Flat File are separated by special characters

    hello every one,
       fIf fields in Flat File are separated by special characters
    and If Flat File is given in Excel sheet , how to handle this kind of issues.
    to Upload data into R/3 system, in BDC.
       If u have sample program ,please send it ot me and explain ?
    others give me hints...

    Hi,
    you can use the function module ALSM_EXCEL_TO_INTERNAL_TABLE .
    Check this sample code.
    hi,
    use the FM ALSM_EXCEL_TO_INTERNAL_TABLE.
    PARAMETERS:
    P_INFL like RLGRAP-FILENAME.
    DATA:
    BEGIN OF T_DATA1 OCCURS 0,
    RESOURCE(25) TYPE C,
    DATE(10) TYPE C,
    DURATION TYPE P DECIMALS 2,
    ACTIVITY(25) TYPE C,
    B_NBILL(1) TYPE C,
    END OF T_DATA1,
    T_DATA TYPE ALSMEX_TABLINE OCCURS 0 WITH HEADER LINE,
    BEGIN OF T_FINAL OCCURS 0,
    RESOURCE(25) TYPE C,
    DATE(10) TYPE C,
    DURATION(15) TYPE C,
    ACTIVITY(25) TYPE C,
    B_NBILL(10) TYPE C,
    END OF T_FINAL.
    DATA : HEADER TYPE XSTRING.
    Work Variables Declaration.
    CONSTANTS:
    W_Y TYPE C VALUE 'Y',
    W_N TYPE C VALUE 'N'.
    Work area.
    DATA:
    WA_DATA LIKE T_FINAL.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_INFL.
    PERFORM GET_FILENAME CHANGING P_INFL.
    START-OF-SELECTION.
    PERFORM UPLOAD_DATA_FROMEXCEL.
    FORM UPLOAD_DATA_FROMEXCEL.
    Downloading the data from presentation server
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
    EXPORTING
    FILENAME = p_infl
    I_BEGIN_COL = 1
    I_BEGIN_ROW = 2
    I_END_COL = 8
    I_END_ROW = 1000
    TABLES
    INTERN = T_DATA
    EXCEPTIONS
    INCONSISTENT_PARAMETERS = 1
    UPLOAD_OLE = 2
    OTHERS = 3.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM. " upload_data_fromexcel
    *& Form process_data
    text
    FORM PROCESS_DATA .
    T_FINAL-RESOURCE = 'Resource'.
    T_FINAL-DATE = 'Date'.
    T_FINAL-DURATION = 'Duration'.
    T_FINAL-ACTIVITY = 'Activity'.
    T_FINAL-B_NBILL = 'Billable'.
    APPEND T_FINAL.
    SORT T_DATA BY ROW COL.
    LOOP AT T_DATA.
    CASE T_DATA-COL.
    WHEN 3.
    T_DATA1-RESOURCE = T_DATA-VALUE.
    WHEN 4.
    T_DATA1-DATE = T_DATA-VALUE.
    WHEN 5.
    T_DATA1-DURATION = T_DATA-VALUE.
    WHEN 6.
    t_data1-activity = t_data-value.
    WHEN 7.
    T_DATA1-B_NBILL = T_DATA-VALUE.
    ENDCASE.
    AT END OF ROW.
    COLLECT T_DATA1.
    ENDAT.
    ENDLOOP.
    LOOP AT T_DATA1.
    T_FINAL-RESOURCE = T_DATA1-RESOURCE.
    T_FINAL-DATE = T_DATA1-DATE.
    T_FINAL-DURATION = T_DATA1-DURATION.
    T_FINAL-ACTIVITY = T_DATA1-ACTIVITY.
    T_FINAL-B_NBILL = T_DATA1-B_NBILL.
    APPEND T_FINAL.
    ENDLOOP.
    ENDFORM. " process_data
    *& Form get_filename
    FORM GET_FILENAME CHANGING P_FILENAME.
    CALL FUNCTION 'WS_FILENAME_GET'
    EXPORTING
    DEF_FILENAME = SPACE
    DEF_PATH = P_FILENAME
    MASK = ',. ,..'
    MODE = 'O' " O = Open, S = Save
    TITLE = BOX_TITLE
    IMPORTING
    FILENAME = P_FILENAME
    EXCEPTIONS
    INV_WINSYS = 1
    NO_BATCH = 2
    SELECTION_CANCEL = 3
    SELECTION_ERROR = 4
    OTHERS = 5.
    CASE SY-SUBRC.
    WHEN 1.
    MESSAGE I999 WITH
    'File selector not available on this windows system'(046).
    WHEN 2.
    MESSAGE E999 WITH
    'Frontend function cannot be executed in background'(047).
    WHEN 3.
    MESSAGE I999 WITH 'Selection was cancelled'(048).
    WHEN 4.
    MESSAGE E999 WITH 'Communication error'(049).
    WHEN 5.
    MESSAGE E999 WITH 'Other error'(050).
    ENDCASE.
    ENDFORM. " get_filename
    <b>Kindly Reward points if you found the reply helpful.</b>
    Cheers,
    CHAITANYA.

  • Checking for Special Characters

    I need to check if a textbox in my form containes special characters (entered by user). If there are any, I need to display an error message.
    I have written a function but it's not working.
    here's my function:
    function checkForSpecialChracters(oFiled)
    var userInput = oFiled.rawValue; // take the String entered by the user
    var iChars = "@#$%^&*+=-[]\\\';,./{}|\":<>?~_";
    for (var i = 0; i < userInput.length; i++)
    if (iChars.indexOf(userInput.charAt(i)) != -1) {
    xfa.host.messageBox("Please check for special characters. The following characters are not allowed: @#$%^&*+=-[]\\\';,./{}|\":<>?~_ ", "Error Message", 3);
    // Change the color of the field
    oFiled.fillColor = "255,100,50";
    Any help would be greatly appreciated.
    Thank you!

    Paul,
    It is working now. I don't know what I might have changed.
    Here's my final function (It works!):
    function checkForSpecialChracters(oFiled)
    var userInput = oFiled.rawValue; // take the String entered by the user
    var iChars = "@#$%^&*+=-[]\\\';,./{}|\":<>?~_";
    var hasSpecialCharacter = false;
    for (var i = 0; i < userInput.length; i++)
    //app.alert("Value is: " + userInput.charAt(i));
    if (iChars.indexOf(userInput.charAt(i)) != -1)
    hasSpecialCharacter = true;
    break;
    } // end if
    } // end For loop
    if (hasSpecialCharacter)
    // Change the color of the field
    oFiled.fillColor = "255,100,50";
    xfa.host.messageBox("Please check for special characters. \n\nThe following characters are not allowed:\n\n @#$%^&*+=-[]\\\';,./{}|\":<>?~_ ", "Error Message", 3);
    else if (!hasSpecialCharacter)
    oFiled.fillColor = "255,255,255";

  • Find out the sql query for special characters.

    Hi,
    I have the emp table with column name first_name.In that table i have lot records with first_name inlcudes the below mentioned special characters.
    ¡ , ¿, ,Ä,Å,ä,ª,À,Á,Ã,à,á,ã,å,Æ,æ,Ç,ç,È,É,Ê,Ë,è,é,ê,ë,Ì,Í,Î, Ï,ì,í,î,ï, Ñ,ñ, ô, º, Ò, Ó, Ô, Õ, Ö, Ø, ò, ó, õ, ö, ø, ß, Û, Ù, Ú, Ü,ù, ú, û, ü, ÿ,
    I am looking for the records with includes the above mentioned special characters in the first_name column.
    Can u please give the sql query to find out the records.
    Thanks&Regards
    N.Sivaraman

    I am looking for the records with includes the above mentioned special characters in the first_name column.One way would be:
    select emp.*
      from emp,
           table (
             sys.odcivarchar2list ('¡',
                                   'Ä',
                                   'Å',
                                   'ä',
                                   'ª',
                                   'À',
                                   'Á',
                                   'Ã',
                                   'à',
                                   'á',
                                   'ã',
                                   'å',
                                   'Æ',
                                   'æ',
                                   'Ç',
                                   'ç',
                                   'È',
                                   'É',
                                   'Ê',
                                   'Ë',
                                   'è',
                                   'é',
                                   'ê',
                                   'ë',
                                   'Ì',
                                   'Í',
                                   'Î',
                                   'Ï',
                                   'ì',
                                   'í',
                                   'î',
                                   'ï',
                                   'Ñ',
                                   'ñ',
                                   'ô',
                                   'º',
                                   'Ò',
                                   'Ó',
                                   'Ô',
                                   'Õ',
                                   'Ö',
                                   'Ø',
                                   'ò',
                                   'ó',
                                   'õ',
                                   'ö',
                                   'ø',
                                   'ß',
                                   'Û',
                                   'Ù',
                                   'Ú',
                                   'Ü',
                                   'ù',
                                   'ú',
                                   'û',
                                   'ü',
                                   'ÿ'
    where instr (ename, column_value) > 0

  • How to use Flash recovery area only for flashback database feature

    I would like to use flash recovery area only for flashback database feature, which means, flash recovery area will store only flashback logs.
    I dont want to use that file system for any other files, like archive log files, database backups, control file copies, multiplex redo log, etc
    is it possible? I want to use this feature only for flashback database option and hence i dont want to disturb any existing configuration in my database
    including backup jobs. Is it required to store archive redo log files also in flash recovery area to use the flashback database feature?
    I certainly can't afford to have a copy of entire database in this file system as size of my DB is more than the flash recovery area file system I have.
    Thanks
    Sarayu

    user13312943 wrote:
    Aman,
    I think i was not clear in my question. Let me try again
    My only requirement is to use flashback database feature (or be prepared to use if required). I dont want to create a large file system to use this FRA to store all these files. Out of all the files being stored here copy of data files seems to be consuming more space. I see these files are classified as transient and permanent files. I am okay with permanent files. I fear that this file system may consume more space if i store backup files on disk. I want database backups to go to tapes, not to the FRA disk. Is it possible?
    Thanks for your reply
    Okay, well in that case you can use RMAN and push the backups to the tape drives. FLB logs would be stored on the FRA.
    Aman....

  • How can I specify an area path for the work item created on build failure?

    In our department we are working with multiple build definitions for different parts of one Team project. We heavily use the Team Project feature. Teams are defined by area path nodes, so each team can only see it's area path. No one (except the admins)
    can see the root project node.
    When a build breaks, TFS generates a Bug. Unfortunately, this bug is assigned to the area path root node, so nobody can see the generated bug and act on it.
    We would prefer to specify the area path for the generated work item in the build definition (not template, but property of a build definition), as every build belongs exclusively to one team.
    I have found that you can populate fields of the generated work item by filling the "custom fields" of the "create work item" activity. But how do I set the area path as a parameter?
    Guenter

    Hi Cuenter, 
    Thanks for your post.
    You should set the value like below in that activity:
    New
    Dictionary(Of
    String,
    String)
    From {{"Area
    Path",
    "teamprojectname\areaname"}}
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • HT5622 what characters are accceptable for a apple icloud password

    what characters are acceptable in the apple id PASSWORD? other than alpha and numbers  i used  a tilde  icloud accepted my password   then later i tried to open itunes and it did not like my pass word stating it did not accept the tilde,  for now  i changed my password    is there a glitch in the o/s?

    And to answer the question in your title, stick to letters (no diacriticals) and numbers - no punctuation, spaces, or odd characters. Your password must be at least 8 characters - 12 would be better - and must include at least one numeral, one lower case character and one upper-case character.

  • How many Ship-To-Parties are allowed for a single Sold-To-Party ?

    Hello Gurus,
    1) Could anyone tell how many Ship-To-Parties are allowed to be attached to a single Sold-To-Party ?
    2) Is there any system restriction from the side of SAP on how many could be attached ?
    3) If yes, then, please let me know what is the upper limit.
    Thanks,
    SR

    Hi,
    You can attach as many as you can.There is no limit for this.
    But we can control the number of ship-to-party's to 1.Not only "SH" but also any partner function can be controlled to 1 only.
    If you want to maintain more than one an error message will be displayed.
    The path for this is:
    SPRO>Sales and Distribution>Basic functions>Partner determination>Set up Partner determination-->Set Up Partner Determination for Customer Master.
    Double click on this.
    Check the Partner dertermination procedure assigned to your acount group.Select that one and click on Partner functions.Search for SH,there is a check box called as "Unique".Check this one.
    Save.
    In this case it will allow only once.
    Coming to your question we can maintain unlimited number of SH's.
    From SAP there is a restriction for one only but not more than that.
    The upper limit is unlimited.
    Regards,
    Krishna.

  • How can I change the area code for DVD's?

    I brought some DVD's from Germany and watched them on my Mac Pro. After the DVD was involved in the drive I have to change the area code for the drive. I don't know why but I did it. I could watch the film. Today I like to watch a DVD from US but after the DVD was involved I got a message "the area code does'nt match the DVD code" and I can not change the area code.
    What can I do to watch both arts of DVD's. Isn't that normal to have DVD's all over the world?

    Here is the bit that Bengt forgot to answer!
    DVD Player: About DVD-Video Regions
    Region encoding is the mechanism that enables motion picture studios to control the worldwide release of their movies. It is required by the DVD Forum (http://www.dvdforum.org/forum.shtml) in all commercial hardware DVD players. Every DVD-Video disc contains one byte of data representing a region code, which limits where the disc can be played.
    http://support.apple.com/kb/HT2397
    Once you have changed the region settingon your Mac five times it is set in stone for ever.
    Try using VLC for playback instead:
    http://www.videolan.org/vlc/

  • Australian.  How do locate apps which are suitable for Australian use,

    How do I locate applications which are relevant for Australian use, for example a shopping application; a travel application;
    Do I have to do a search in itunes for the category I want, and then go and read about that application (if a website is offered).
    Are the only forums for specific applications, attached to each individual application? That is, there is no one forum which deals with queries/features of applications in itunes?

    Apps aren't an iTunes issue, per se, since iTunes only downloads and transfers them. Try:
    Installing and using iPhone applications
    Installing and Using iPod touch Applications

  • Dynamic insert for Special Characters

    Hello,
    I'm running into a problem inserting data with Special Characters. I have a report (designed oracle reports), that takes data and inserts the data into table. I use the SRW.do_sql built in package in a before report trigger to process the data. However the problem that I'm running into is how to dynamically account for the special characters in a description field that I have. There is no way for me to predict where or how many can appear in a field. For example, I may have a field that contains data like:
    O'REILLY AND ASSOCIATES INC.
    OR
    FULLER & D'ALBERT, INC.
    OR
    JOANNE'S BED & BACK SHOP
    The only special characters that seem to be used and are causing me problems are the " ' " and " & ".
    Does anyone know how I can dynamically account for these special characters in my insert statement?
    Thanks,
    Martin

    Hello,
    I'm using SRW.DO_SQL procedure in oracle reports because that is one you can run text via reports. The report actually exports the results to a text file and insert the results into a table. Anyway, the SRW.DO_SQL isn't my problem but rather the special characters. I have researched the problem some more and I have found a solution. You can use the "replace" feature to do an insert/update of special characters. You also need to find the character number for each special character. I believe "&" is chr(38), "%" is chr(37), "#" is chr(35), "@" is chr(64), "'" is char(39). So the code would be:
    insert into tableA (column1) values(
    replace(replace(replace(replace(replace(v_entity_name,chr(39),chr(39)),chr(38),chr(38)),chr(35),chr(35)),chr(37),chr(37)),chr(64),chr(64));
    Martin

  • Keystroke combinations needed for special characters in specific fonts?

    How do you see the required keystrokes to enter special characters? Very frustrating!!! Using Pages to help my wife create a brochure. We wanted to use one of the symbols available in the font "Type Embellishments One LET" (which I assume installed with Pages). In Font Book we could see all the possible characters BUT NOT HOW TO TYPE THEM. We ended up typing scores of keys and keystroke combinations to finally see the one we wanted, then use cut and paste. There must be a better way but we (along with some Mac Support people at my work) cannot find it.
    Is there a way to do this without buying a program like PopChar. Seems like this should be fundamental to using a Mac out of the box.
    Thank you for any suggestions.

    You can use "Keyboard Viewer" to see what characters are created with various keystrokes. Open the International Preference Pane, click on the Input Menu tab & click the box next to Keyboard Viewer. This will make this available in your menu bar by clicking the flag icon. Select "Show Keyboard Viewer" from the flag menu & you will see a layout of the keyboard. You can then hold down the shift key, the option key OR shift + option to see all the possibilities. The highlighted ones are the accents than you can apply to letters. To get "é" type option-e (nothing will appear), then type e. This accent could be place over most letters. You can change the font in the drop-down menu. Not all fonts will have all characters. Keyboard Viewer places the typing directly into the top, open document.

  • New-MailboxSearch with AQS for special characters

    I've been asked to perform a specific query for a term with a leading dollar sign ('$'): $123,123.00.  When I run the query for a leading dollar sign the keyword search term in the result appears as:
    Body:',123.00' 
    It doesn't work if I use a backslash literal with the dollar sign either.  The result in the report is:
    Body:' \,123.00 ' 
    Searching for Body:'123,123.00$' works: 
    Body:'123,123.00$'
    How do I search for leading special characters? Would '*123,123.00*" find the string I am looking for?

    Hi,
    I have some tests in my lab:
    1. When I run the following cmdlet, it works. I recommend you run the following cmdlet to achieve your search.
    New-MailboxSearch -Name "1" -TargetMailbox
    [email protected] -SearchQuery "$ 123,123.00"
    2. When the SearchQuery is "\123,123.00", it also works.
    3. When the SearchQuery is "*123,123.00*", it occurs the error below: Suffix matching isn't supported. Please remove the prefix '*' or type another query. The '*' character is not supported for search.
    Hope it helps.
    If you need further assistance, please feel free to let me know.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • JSP diplays shows junk for special characters.

    JSP Gurus,
    After upgrading the JRE version of my Tomcat from 1.3.1 to 1.4, all the JSP files have started displaying junk characters for the special characters (like ?, ?). These characters are being pulled from database. If I replace these characters with their ascii values, it works fine but there was no problem with the JRE 1.3.1. I have alot of data with these characters in the datbase. What is the easiest way to display these characters with JRE 1.4.
    Thanks,
    AG

    No One?!?

Maybe you are looking for

  • What's the best way to move apps from an old iphone to a new one?

    I just got the iPhone 4S and am having difficulties figuring out how to restore the backup from my old 3Gs.  When I first plugged it in all of my contacts, calendar and email migrated just fine.  (All except for my mobileme email for some reason it d

  • TLS Connectivity issues following upgrade from OS 7.0 to OS 7.1

    We currently use BES 5 and MobileIron for our MDM. A brand new fleet of Curve 9360 were all working on both BES and MobileIron. BAttery life was a problem so we upgraded to os 7.1 which has added 3 days to the battery standby time however......... Si

  • OAF Exception :oracle.jbo.TooManyObjectsException:Primary Key

    Hi All, I am getting the Exception oracle.jbo.TooManyObjectsException: JBO-25013: Too many objects match the primary key oracle.jbo.Key I am inserting the same row in Table. My PK is col1,col2,col3 So how to Handle this Exception and throw the User D

  • How to activate an InfoObject in background in target system

    Hello, after I made changes to an characteristic InfoObject in development system I have activated it in background, this has run the background job  IOBJ_ACTIVATE. When I transported the IO change and activation into the test system, the IO has been

  • Playlists vs Songs

    I can creat and put mp3's into a play list {not library} but they show up on my Ipod in the list I created AND in my song list..How can I put them JUST in a playlist and NOT have them show up in my songs list? Can this be done?????