Numeric value right justified

Dear friends,
i have output value in the report as below
0.013
10.000
i want the value like the below
  0.013
10.000
so that , what shall i do. please provide the solution.

Dear Rajendran,
if this value you get is to be used in a form then where ever you are putting the output there you may be having a variable for the output.
For Example - PRICE.
If you are in smartforms or sap scripts go to the Change Editor mode and then you can see that the variable is in Simple manner written as &PRICE&.
Change this variable from &PRICE& to <b>&PRICE(R)&</b> and it should solve you problem.
So if you get values like 1000000.018 and  124.745 then the outputs will look like as given below.
1000000.018
       124.745
Hope this helps you. reward accordingly.
Thanks
venugopal

Similar Messages

  • Cursor Doesn't display in numeric right justified fields

    We have an aplication that we deployed at a client. Normally the cursor blinks in the field that has focus. However, at this particular client the cursor doesn't show on numeric fields that are right justified. The user can type in the values though. Please help.
    Alok

    Hello,
    Maybe you can increase the width of field.
    Regards,
    George
    We have an aplication that we deployed at a client. Normally the cursor blinks in the field that has focus. However, at this particular client the cursor doesn't show on numeric fields that are right justified. The user can type in the values though. Please help.
    Alok

  • Right justify character

    hi All,
    I am having a requirement. client wants to download a record into a .txt file. now the record is AAAASPACEBBBBBDDDD.
    now the problem is DDDD is decimal value and i m converting it to character. however though now the client wants the record such as the field DDDD should be right justfied. now i can right justify if decimal value but since i have converted it to character so that i can use concatenate and write to a file on Pc, i am not able to right justify it.
    can someone give me some suggestions,
    thanks,
    gaurav

    Hi,
    Try with this code.
    Data: v_string type string.
    Data: v_len type i.
    Data: v_int(10) type n.
    Data: v_char(10) type c.
    CONSTANTS c_six(6) type c value '      '.
    v_string = 'Amandeep Sharma1981'.
    v_len = strlen( v_string ).
    v_len = v_len - 4.
    v_int = v_string+v_len(4).
    v_char = v_int.
    v_char+0(6) = c_six.
    Concatenate v_string+0(v_len) v_char into v_string.
    I have taken your numerical value as 4 characters. you can modify as and how you want.
    Regards,
    Aman

  • Creating a sound from an array of numeric values and playing it on speakers

    How do I create take a sound I have stored as an array (or could be an arraylist if needed) of numeric values (at the moment as doubles) whiten my program and output it to speakers? I am using blueJ.
    for example (0, 0.1, 0.4, 0.8, 0.9, 1, 0.8, 0.6, 0.3, 0.1, etc...) would be a very high frequency sin wave.
    Edited by: alan2here on Feb 6, 2008 11:28 AM

    I stumbled upon this thread with a question somewhat related:
    I've recorded a wave file from microphone. But what I would like is an array of numbers in the same way alan said. I'm also working on my own project involving signal processing (i'm trying to do speech recognition).
    I can't really find a nice way of getting that array of numbers. I've tried to find out how wave file stores it's data, and directly read from the File object, but i figured there should be an easier way...
    I used this code to read the sound:
    *     SimpleAudioRecorder.java
    *     This file is part of jsresources.org
    * Copyright (c) 1999 - 2003 by Matthias Pfisterer
    * All rights reserved.
    * Redistribution and use in source and binary forms, with or without
    * modification, are permitted provided that the following conditions
    * are met:
    * - Redistributions of source code must retain the above copyright notice,
    *   this list of conditions and the following disclaimer.
    * - Redistributions in binary form must reproduce the above copyright
    *   notice, this list of conditions and the following disclaimer in the
    *   documentation and/or other materials provided with the distribution.
    |<---            this code is formatted to fit into 80 columns             --->|
    import java.io.IOException;
    import java.io.File;
    import javax.sound.sampled.DataLine;
    import javax.sound.sampled.TargetDataLine;
    import javax.sound.sampled.AudioFormat;
    import javax.sound.sampled.AudioSystem;
    import javax.sound.sampled.AudioInputStream;
    import javax.sound.sampled.LineUnavailableException;
    import javax.sound.sampled.AudioFileFormat;
    public class SimpleAudioRecorder
    extends Thread
         private TargetDataLine          m_line;
         private AudioFileFormat.Type     m_targetType;
         private AudioInputStream     m_audioInputStream;
         private File               m_outputFile;
         public SimpleAudioRecorder(TargetDataLine line,
                             AudioFileFormat.Type targetType,
                             File file)
              m_line = line;
              m_audioInputStream = new AudioInputStream(line);
              m_targetType = targetType;
              m_outputFile = file;
         /** Starts the recording.
             To accomplish this, (i) the line is started and (ii) the
             thread is started.
         public void start()
              /* Starting the TargetDataLine. It tells the line that
                 we now want to read data from it. If this method
                 isn't called, we won't
                 be able to read data from the line at all.
              m_line.start();
              /* Starting the thread. This call results in the
                 method 'run()' (see below) being called. There, the
                 data is actually read from the line.
              super.start();
         /** Stops the recording.
             Note that stopping the thread explicitely is not necessary. Once
             no more data can be read from the TargetDataLine, no more data
             be read from our AudioInputStream. And if there is no more
             data from the AudioInputStream, the method 'AudioSystem.write()'
             (called in 'run()' returns. Returning from 'AudioSystem.write()'
             is followed by returning from 'run()', and thus, the thread
             is terminated automatically.
             It's not a good idea to call this method just 'stop()'
             because stop() is a (deprecated) method of the class 'Thread'.
             And we don't want to override this method.
         public void stopRecording()
              m_line.stop();
              m_line.close();
         /** Main working method.
             You may be surprised that here, just 'AudioSystem.write()' is
             called. But internally, it works like this: AudioSystem.write()
             contains a loop that is trying to read from the passed
             AudioInputStream. Since we have a special AudioInputStream
             that gets its data from a TargetDataLine, reading from the
             AudioInputStream leads to reading from the TargetDataLine. The
             data read this way is then written to the passed File. Before
             writing of audio data starts, a header is written according
             to the desired audio file type. Reading continues untill no
             more data can be read from the AudioInputStream. In our case,
             this happens if no more data can be read from the TargetDataLine.
             This, in turn, happens if the TargetDataLine is stopped or closed
             (which implies stopping). (Also see the comment above.) Then,
             the file is closed and 'AudioSystem.write()' returns.
         public void run()
                   try
                        AudioSystem.write(
                             m_audioInputStream,
                             m_targetType,
                             m_outputFile);
                   catch (IOException e)
                        e.printStackTrace();
         public static void main(String[] args)
              if (args.length != 1 || args[0].equals("-h"))
                   printUsageAndExit();
              /* We have made shure that there is only one command line
                 argument. This is taken as the filename of the soundfile
                 to store to.
              String     strFilename = args[0];
              File     outputFile = new File(strFilename);
              /* For simplicity, the audio data format used for recording
                 is hardcoded here. We use PCM 44.1 kHz, 16 bit signed,
                 stereo.
              AudioFormat     audioFormat = new AudioFormat(
                   AudioFormat.Encoding.PCM_SIGNED,
                   44100.0F, 16, 2, 4, 44100.0F, false);
              /* Now, we are trying to get a TargetDataLine. The
                 TargetDataLine is used later to read audio data from it.
                 If requesting the line was successful, we are opening
                 it (important!).
              DataLine.Info     info = new DataLine.Info(TargetDataLine.class, audioFormat);
              TargetDataLine     targetDataLine = null;
              try
                   targetDataLine = (TargetDataLine) AudioSystem.getLine(info);
                   targetDataLine.open(audioFormat);
              catch (LineUnavailableException e)
                   out("unable to get a recording line");
                   e.printStackTrace();
                   System.exit(1);
              /* Again for simplicity, we've hardcoded the audio file
                 type, too.
              AudioFileFormat.Type     targetType = AudioFileFormat.Type.WAVE;
              /* Now, we are creating an SimpleAudioRecorder object. It
                 contains the logic of starting and stopping the
                 recording, reading audio data from the TargetDataLine
                 and writing the data to a file.
              SimpleAudioRecorder     recorder = new SimpleAudioRecorder(
                   targetDataLine,
                   targetType,
                   outputFile);
              /* We are waiting for the user to press ENTER to
                 start the recording. (You might find it
                 inconvenient if recording starts immediately.)
              out("Press ENTER to start the recording.");
              try
                   System.in.read();
              catch (IOException e)
                   e.printStackTrace();
              /* Here, the recording is actually started.
              recorder.start();
              out("Recording...");
              /* And now, we are waiting again for the user to press ENTER,
                 this time to signal that the recording should be stopped.
              out("Press ENTER to stop the recording.");
              try
                   System.in.read();
              catch (IOException e)
                   e.printStackTrace();
              /* Here, the recording is actually stopped.
              recorder.stopRecording();
              out("Recording stopped.");
         private static void printUsageAndExit()
              out("SimpleAudioRecorder: usage:");
              out("\tjava SimpleAudioRecorder -h");
              out("\tjava SimpleAudioRecorder <audiofile>");
              System.exit(0);
         private static void out(String strMessage)
              System.out.println(strMessage);
    }Daniel

  • Error message - BSEG-WRBTR enter a numeric value

    Hi,
    I am having a problem with loading data using a abap program that calls RFBIBL00 program and the fb01 Transaction. The process is that the user enters the data in a excel sheet, saves as a tab deliminted txt file. The abap program reads the txt file, does some processing and submits the RFBIBL00 program with the FB01 code. When I check in SM35, it shows on the "incorrect " tab. When you display the log for the process, It is displaying "Formatting error in the field BSEG-WRBTR; see next message" and "Enter a numeric value".  I am not sure where to start looking to try to correct this problem. I am tracing the abap program that submits the RFBIBL00 process and I am not finding where this is occuring. I am new to the ABAP world and I am having a hard time figuring this out. Can someone please let me know if I am proceeding in the right direction or if there is another way of solving this. I am not sure what program is generating the above error messages. If there is more information that is needed, please let me know and I will try to get it for you.
    thanks in advance for the help on this

    Hi,
    There may be two possiblities for this issue.
    1. Incorrect data passed to the field BSEG-WRBTR
    2. Check the Decemial Notation(Menu Path->System->status->Own profile and Defaults Tab). If it is diffrent with the entered amount format, then it will trigger error.
    YOu can run the Bach in the fouground by  choosing fouground radio button option in the Pop up.
    Thanks,
    Ramakrishna

  • Can one assign a numerical value to a variable?

    Hi All,
    Good afternoon,
    I am currently working on a form that has strings as values in 2 different listboxes, and depending on what is selected a message pops up. Here is the script I wrote, but it does not seem to work right
    var a=aKlaclistbox.raWvalue=="SSK";
    var b=bZlaslistbox.raWvalue=="SGT";
    a.value=1;
    b.value=2;
    if(a > b){
        xfa.host.messagebox("You cannot select a lower officer as the rating officer");
    It does not work, and I am just wondering if there is any way I can get around it so that I can compare the values. I need help from anyone on this forum.
    Thanks
    v/r
    Tammy

    There's probably a better way of doing this, as, depending on how many ranks you have, it could get cumbersome. Like using an array or something like that but not sure how to accomplish that.
    If there are a lot of ranks to compare I think I'd suggest reworking things so that you can use the numeric value of the list box, it will be much easier in the long run.
    As I mentioned above, I don't think the following is valid code:
    var a=aKlaclistbox.raWvalue=="SSK";
    Nor is (unless dealing with global variables):
    a.value=1;
    I think you need to do something like the following (hopefully someone else around here might have a better idea!):
    var a;
    var b;
    if (aKlaclistbox.rawValue == "SSK") {
         a = 1;
    if (bZlaslistbox.rawValue == "SGT") {
         b = 2;
    //You would need a series of else/if with the above to map the different rank values.
    if (a > b) {
       xfa.host.messagebox("You cannot select a lower officer as the rating officer");

  • How do I allocate a numerical value to a 5 part likert scale question

    I have a survey questionaire and the 15 questions are all arranged on a 5 part 'Liket scale' of strongly agree to strongly disagree.
    How do I allocate numerical values to each question response? 
    I don't want the respondents to see the scoring.
    The reason I need to do this is some response lines are reverse scored. That is to say some lines would be scored 1 to 5 and other lines 5 to 1.
    I think this feature is available on survey monkey.
    Is it available in Acrobat X Pro or Formscentral?
    I'd appreciate your suggestions
    Kind regards
    spreid1

    Hi,
    You can assign numerical responses to the likert answers as follows:
    1. Go into the response table and select the "Table" toolbar button:
    2. Select the header for your Likert questions in the response table.
    3. Click the "Choices" button on the toolbar and select "Edit choice list..."
    4. Select the checkbox for "Assign data values to choices".
    5. Enter the choice data values in the right-hand column.

  • Numeric value to letter grade equivalent?

    What formula would I enter if I wanted to convert a numeric value (summation or average) into a letter grade? For example, I would like to create a formula that would look at a numeric value, determine its range, and then assign a simple letter grade. Thus, if Cell C3 (with a numeric value) is between 70-79 then input "C", if Cell C3 (again with the numeric value) is between 80-89, "B." Any advice would be much appreciated.

    you should use a lookup table to achieve this.
    Create a small table (called "Grades", the table on the right) where the first row a is a header row and the grades are entered as show:
    To use this table enter some grades (like I did in the column "Average", column B), then enter the formula:
    C2=VLOOKUP(B2, Grades::A:B, 2, 1)
    this is shorthand for select cell C2, then type (or copy and paste from here) the formula:
    =VLOOKUP(B2, Grades::A:B, 2, 1)
    now select cell C2 copy
    select cells C2 thru the end of the column, paste

  • Searching for numeric values in a text field / SQL Server

    Hi all,
    here's a problem that I've been trying to solve for several days: I try to select rows from an MS SQL Server via JDBC that contain a certain numeric value at a certain position in a long varchar field.
    I'm using queries like
    select * from table where substring(field_1, 37, 7) like '1011234';Those queries always return an empty ResultSet. If I use the same queries in WinSQL, I get correct results (several rows).
    The application code is working in principle; if I search for a text instead of a numeric value, for example select * from table where substring(field_1, 4, 5) like 'Paper'; , I get a complete ResultSet.
    I've tried many variations (= instead of like, search in the entire field (without substring but with like '%1011234%'), with or without ', and more), but that didn't change anything.
    It's also most probably not caused by the JDBC driver; I have tried JTDS first, and then the MS driver (newest versions) - no difference.
    One idea was that the sort order is not correct, tried some COLLATE settings, but that didn't help so far. In this context I'd like to know how to determine the collation sequence of a certain column.
    Another thing I tried was using CAST, for example SELECT * FROM table WHERE CAST(SUBSTRING(field_1, 37, 7) as bigint) = CAST('1011234' as bigint); or SELECT * FROM table WHERE CAST(SUBSTRING(field_1, 37, 7) as bigint) = CAST(1011234 as bigint);, but that didn't help either.
    Some facts:
    Server: Microsoft SQL Server, version 09.00.2047
    Driver in WinSQL: SQLSRV32.DLL, version 03.85.1117
    JDBC-Driver:
    - JTDS, version 1.2
    - Microsoft SQL Server 2005 JDBC Driver, Version 1.2
    JVM: jre1.5.0_11
    I didn't find anything on Google, or in this forum, or other forums. I really hope someone here can help me. Thanks in advance!
    Best regards,
    Uica

    Your note suggests to me that this is a coding problem, not a JDBC or SQL problem unless you are hitting a bug in the SQL Server JDBC driver. Others may have ideas from what you have written, but I think it would be helpful to see the actual code that you are executing that does not bring back the results that you are expecting (don't forgot to use code tags to format your code correctly).
    It might also be helpful to execute a query (from within your Java code) to ensure that you are connecting to the right database, accessing the correct table and that your substring is using the correct offset. The query would look something like this (and then of course display the list of results):
    SELECT substring(field_1, 37, 7) from table

  • Tab delimited and Right justified fields

    Hi
    My requirement is to produce an output file where the line items consists of 5 fields of variable lengths and all of them are tab delimited and right justified at the same time
    for eg.
    ABC       123456ghtje  4567.45678   67.45678  pqr
    where all the values in the first field 'ABC' and 2nd field '123456ghtje' are right justified and are tab delimited and asme is the case for '4567.45678' , '67.45678' and 'pqr'
    they are all separated from each other by a tab but are not fixed lengths
    How can i achieve that ? i am using File Receiver Adapter ??
    Can it be done without Adapter Module ?
    Thanks
    Dev
    Edited by: sd on Feb 22, 2010 2:25 PM
    Edited by: sd on Feb 22, 2010 2:26 PM

    > they are all separated from each other by a tab but are not fixed lengths
    When thay are not fixed length fields, why do you have to worry about left or right justification? In delimetted files, you would only have the delimitter between the fields. You do not need to fill spaces for justifying them.
    VJ

  • Regarding space removal for a numeric value

    Hello ALL,
    I have declared a vairable in my program as
    LV_amount type wrbtr.
    in that filed i m passing a value as 250
    hence it is taking as 250.00
    but the problem is it is having some space in the front,
    like '        250.00'.
    I want to remove that space, how can i do that ..
    Thanks,
    Suresh

    When you write the Amount field it will be written as the Right Justified and put the space in front of it. You can move it to some character field and remove the space.
    Check this code:
    data: l_amt  type wrbtr,
          l_char type char20,
          l_cha1 type char20.
    l_amt = '123.00'.
    write: / l_amt.
    write: l_amt to l_char.
    write: / l_char.
    l_cha1 = l_amt.
    condense l_cha1.
    write: / l_cha1.
    Regards,
    Naimesh Patel

  • Numeric values longer than 32bit?

    Greetings,
    I'm an EE student currently working as a LV instrument driver developer
    for a well-known T&M equipment manufacturer here in Munich.
    My problem is the following: Is it possible to handle numeric values
    longer than 32bit in LV? Specifically, one of my instrument driver VIs
    needs to supply an initialization value to the Wideband CDMA "long code"
    configuration menu of a versatile vector signal generator. This value
    can range from 0x0 to 0x1FF,FFFF,FFFF (which accounts for 41 bits, if
    I'm not mistaken). The instrument expects this value in hexadecimal
    form.
    A quick and dirty solution could be either to split up the control range
    in 32+9 bits, i.e. place two controls on the front panel, or to use a
    string control an
    d have the user specify the hex value as a string. Both
    solutions are not very desirable though, especially since instrument
    driver VIs are meant to be used as sub-VIs in customer-specific programs
    and for that reason aren't usually accessed from their front panels.
    So, are there any other, more elegant solutions than the ones mentioned
    above?
    Thanks a lot in advance!
    (c) Tobias Hermann

    In <[email protected]> Tobias Hermann writes:
    >My problem is the following: Is it possible to handle numeric values
    >longer than 32bit in LV? Specifically, one of my instrument driver VIs
    >needs to supply an initialization value to the Wideband CDMA "long code"
    >configuration menu of a versatile vector signal generator. This value
    >can range from 0x0 to 0x1FF,FFFF,FFFF (which accounts for 41 bits, if
    >I'm not mistaken). The instrument expects this value in hexadecimal
    >form.
    FORMING THE 41-bit STORAGE
    You can create any arbitray numerical data length by using a binary
    array. This is the best and most direct solution to your needs.
    Just remember, LabView allocates binary arrays in multiples of bytes,
    so a 41-bit array will be rounded up to a length of 6 bytes or
    48-bits; however, LabView knows to return only the first 41-bits to
    you upon request.
    GENERATING AN ARRAY OF 41-bit VALUES
    The next issue is that you need an array of 41-bit numbers. You simply
    define this as a 2-dimensional array of binary values. When
    initializing this array, be certain you order the dimension indices
    such that the fastest moving index has a size value of 41. The slowest
    moving index will then be for the actual numerical size of your array.
    If you transpose the index definition, nothing will work right! Be
    careful!
    When your array (above) is defined, it should be shown in LabView as a
    brown wire, which deplicts it as a binary 2-dimensional array. If it
    is instead shown in a magenta color, then you instead defined and array
    (cluster) of 41-bit binary numbers. That will work okay too (and will
    even be easier the used), but it will take more storage and will take
    LabView longer to handle. However, if you're more confortable will the
    latter choice, I can understand that. It does have the feature of being
    able to address each 41-bits number directly. With the 2-dim approach
    I initially outlined, you'll need to slice out each 41-bit number from
    the 2-dim array each time you access (read/write) it.
    FORMATTING BINARY INTO HEX
    Formatting your storged numbers is an entirely _separate_ issue and
    your 41-bits numbers only need to worry about formatting when you
    send them to an output device. For a LabView control panel, simply
    open a binary array control, then select the appropriate options so
    they are displayed in base-2, octal, or hex. LabView supports all
    three display formats with any binary indicator.
    If you need to format your numbers to a hex string (for an output
    device), try the "To Hexadecimal" or "Format & Append" function.
    Again, if you're using the 2-dim binary array apprach, you'll need to
    slice out each 41-bit number indivdually. If you're using the cluster
    (array) if 1-dim 41-bit array approach, you can skip that step.
    Frankly, I'm not sure how well LabView's formatting functions work with
    1-dim binary arrays, but in principal they should. If they don't work
    directly, no big deal. Just cast the 41-bit arrays into U8 numbers
    (bytes) and have the formatting function format those numbers into hex
    strings; simply one more step.
    One question: Why on earth do you want to format the data going
    into your instrument in the first place? Almost all instruments will
    take binary input _directly_ without formatting it into ASCII (octal,
    hex, etc) first. This is much faster because the ASCII of all this
    hex stuff requires many more bytes to transfer to your instrument.
    Moreover, the instrument then needs to convert the ASCII (hex) back
    into binary before it can use any of it. You should investigate
    skipping the formatting step altogether. The exception might be
    if you're using an RS-232 connection to your instrument where raw
    binary isn't allowed. Newer interfaces like GPIB, 1394, etc will
    allow binary transfer directly.
    COMMENTS ON STRINGS
    Don't use strings in LabView. By default, each string get a minimal
    memory allocation of 2K. If you define a 100 element (array) string,
    that's 200K of memory just to hold those strings. Not a big deal, but
    when the memory manager starts doing garbage collection (which is
    required with string manipulations), things will really slow down.
    String are important, but data should always be stored in a binary
    form within any computer, not in ASCII formatted form (hex included).
    /\ Mark M Mehl, alias Superticker (Supertickler to some)
    <><> Internet: [email protected]
    \/ Preferred UUCP: uunet!iastate.edu!mehl
    Disclaimer: You got to be kidding; who would want to claim anything I said?

  • Form error Invalid numeric value 06-Jun-13 for column FECHA_CAPTURA

    hi,
    i have an APEX form that updates a table. The form items were created autmatically from the table fields. The 3rd field is a date field and therefore the corresponding date field on the form has a calender icon on its right side. i choose a date from this calender and when i hit the update button i receive this message:
    Invalid numeric value 06-Jun-13 for column FECHA_CAPTURA
    any ideas?

    Hi,
    Could we get you to change 1010319 to a meaningful handle -- I'm Howard.
    In order to give helpful answers, we usually need more information including as much relevant information as possible upfront. This should include:
    Full APEX version
    Full DB/version/edition/host OS
    Web server architecture (EPG, OHS or APEX listener/host OS)
    Browser(s) and version(s) used
    Theme used
    Template(s) used / modified -- (Revelant/important for some problems.)
    Region/item type(s)
    and more detail about what you want to do.
    Are you using ARP (Automatic Row Processing)?
    Do you do any validations?
    Could you make a trival 1-page application on apex.oracle.com duplicating the problem there?
    Howard

  • Right-justify number columns in BC4J

    I have several JSP pages that I am using BC4J tags in. I want to right justify all dollar columns. In addition, I want some columns to have a default width regardless of the data in them. For instance, even if a column has 'Test' in it, I want it to have a display width of 50.
    How can I accomplish these two things?
    Thanks,
    Brett

    Sounds like you might want to add properties to the attributes in your VO. If you set up some properties to hold values for alignment and width for each column, you can just interogate these values when you render the JSP and writre them into the HTML.
    Matt

  • Lpad .. correct use to right justify a char field?

    Hi all,
    I have a column that's a char type, and I'm trying to manipulate justification within it.
    SQL> create table test (test char(14));
    Table created.
    SQL> insert into test values (' 001234567890');
    1 row created.
    SQL> select * from test;
    TEST
    001234567890
    ..I have no probs making it left justified using ltrim
    SQL> update test set test=ltrim(test);
    1 row updated.
    SQL> select * from test;
    TEST
    001234567890
    ...but when I try to right justify using lpad I can't get it to work:
    SQL> update test set test=lpad(test,14,' ');
    1 row updated.
    SQL> select * from test;
    TEST
    001234567890
    ..this should pad the column with blanks to make the string 14 in length right?
    What am I doing wrong?
    Thanks !
    Adam

    Hi, Adam,
    A CHAR (14) column is always 14 characters long. If you insert a shorter string, it is automatically RPADded.
    If LENGTH (test) = 14, then
    lpad(test,14,' ')
    simply returns test. So your UPDATE statement is equivalent to
    update test set test= test;
    Every row will get UPDATEd, but nothing will get changed.
    To have the strings left-padded, use LPAD before INSERTing, or use UPDATE wtih LPAD and TRIM, like this:
    UPDATE  test
    SET     test = LPAD ( RTRIM (test)
                        , 14
                        );

Maybe you are looking for

  • Windows 7 Home Premium (System Builders Version) Will it Work?

    I would like to know if Windows 7 64bit (Home Premium), can be installed by using the bootcamp assistant in my MacBook Pro (system specs below). I'm reluctant to install a system builders version of Windows 7 since Microsoft recently changed the lice

  • Superdrive crashes dvd player

    Got Superdrive for Macbook air. Everytime I try to play a movie, DVD Player crashes I can play games and everything else works fine. Any ideas why this is happening?

  • WORKLOAD REPOSITORY

    Hi Experts taken the Report For WORKLOAD REPOSITORY Cud anybody please mention the Importan Events in the Report which is Mandatarily Considered. How to take the Benefit of this Report? How to Study out the Report please Suggest Many thanks

  • App Store list resets

    Dear Apple developers! I have one thing to recommend you about iOS App Store, which disturbs, i suppose, not only me, but a lot of users. When i tap "buy", the app store closes and show me the page where the bought app is situated. I suppose users do

  • 複数ページのpdfを正しい設定でプリントしても.90度回転して紙からはみ出てしまう(mac os10.6.8)

    複数ページのpdfをプリントしても.90度回転した状態で紙から印字がはみ出てしまいます. エプソンのレーザープリンタLP-M6000F使用時についてで. インクジェットの場合は.正しく出力されます. プリント設定での方向などは正しく行っています. osはMAC OS10.6.8です. 複数ページのpdfである際のみに起こります. 同じファイルをwindowsで出力すると.設定通り.プリントされます. エプソンに聞いたところ.アクロバットの問題だといわれました. 何か改善策はないでしょうか.