Inserting numbers with ','

Hello people
I'm trying to update using execute immediate. but when I do the update, I got ORA-01747 and I know why:
My values are with ',' like 13,2345 then I get the string to update (DBMS OUTPUT):
UPDATE TF_MEDIA_PPM SET DW_LAST_UPD = SYSDATE , MEDIA_PPM_ATRIBUTO = ,2001004, TRES_SIGMA_ATRIBUTO = ,4087381, SEIS_SIGMA_ATRIBUTO = ,6173758 WHERE MEDIA_PPM_SEQ = 7145432
And the ',' is causing the error...
How can I solve this ? someone have a clue ?
Thnks

Hi,
MrTiberio wrote:
How can I solve this ? someone have a clue ?You could use the builtin conversion function to_number specifying your nls_numeric_characters :Scott@my11g SQL>create table t (id integer, n number);
Table created.
Scott@my11g SQL>insert into t values (1,null);
1 row created.
Scott@my11g SQL>update t set n=to_number(',0123456','fm9999999999D999999999','nls_numeric_characters='', ''') where id=1;
1 row updated.
Scott@my11g SQL>select * from t where id=1;
        ID          N
         1   .0123456

Similar Messages

  • Have a problem in Numbers with entering data directly into a cell when a table reaches a certain size and special characters are used?

    I am creating a list of words with special characters in some of them. I get to a point where I cannot enter data directly into the cell. I have to use the data entry bar at the top in the toolbar. Any solutions available?
    This is the table I am creating...
    From row 25 on, I am only able to enter data into the cell through the toolbar at the top and not directly into the cell itself. I believe that this problem originates from the special characters I have inserted in the previous records because if I do not use special characters, then the spreadsheet acts flawlessly. Have there been issues in Numbers with data entry, the size of a table, and using special characters?

    I would try removing the rows with "special" characters one at a time to see which one is causing the problem

  • I have an iphone4 and my husband merge his numbers with mine and i think it was deleted can you tell me how can he get his number back on his phone

    have an iphone4 and my husband merge his numbers with mine and i think it was deleted can you tell me how can he get his number back on his phone

    Do you possibly mean the contacts have been merged?
    If so, where are each of you syncing contacts?  A supported application on the computer? iCloud or another cloud service? An Exchange server?
    WIthout details, it's difficult to offer specific resolutions.

  • Inserting data with the help of nested table...!!!

    The following block is giving error
    ORA-06502: PL/SQL: numeric or value error
    the signature and signature_bkp have the same structure
    So, can anybody help me out to solve this issue :
    for copying records from one table to another table
    Thanking You advancely
    DECLARE
    CURSOR c1
    IS
    SELECT *
    FROM signature
    WHERE creation_time > TRUNC ( SYSDATE ) - 100
    AND ROWNUM < 102;
    TYPE sig_typ IS TABLE OF signature%ROWTYPE;
    sig_t sig_typ;
    BEGIN
    OPEN c1;
    FETCH c1
    BULK COLLECT INTO sig_t;
    CLOSE c1;
    FORALL i IN sig_t.FIRST .. sig_t.LAST
    INSERT INTO signature_bkp
    VALUES sig_t ( i );
    COMMIT;
    END;
    --DKar                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Or whether a INSERT statement with SELECT clause will do that for youby using this technique, it took 47:08:45 to copy 7252 rows
    and by using a cursor for loop took 49:03:23 to copy 13567 rows
    So there was appox. 40% increase in performance by using pl/sql. I thought it could be even faster using the bulk-bind ing features and nested tables.
    OR i just want to know ....how to correct the block of code that was given in my 1st msg without changing its logic.
    Thanks
    --DKar                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • When I insert numbers in master it has a "1." next to to A

    When I insert numbers in master it has a "1." next to "A" and it shows in all my pages, how can I hide it?

    Sounds like the paragraph contianing the marker may be styled as a numbered list...

  • How to replace numbers with text in tax return pdf using Adobe Acrobat X Pro

    How do I replace numbers with text in tax return pdf using Adobe Acrobat X Pro? The tax return was created using CCH software. Thanks for your review.

    Thanks Bill for your quick reply. CCH software is one of the major
    suppliers of tax return software. I found an internal source that helped me
    make the changes from numbers to text i.e. "$123,456" to "See Schedule O".
    I am not sure if I am working in form or final text. Thanks again! Kelly

  • Restriction of document numbers with a formula

    Hi,
    Can anybody please help me in this reporting requirment..
    I need to restrict the document numbers with a characteristic value(zterm) also with a condition i.e where difference between due date & report date is more than 3 days..
    i need to display only the document numbers with the above..
    regards,
    Rajendra

    Create a calculated KF which formula is
    (due date - report date) > 3
    This formula will have the value 1 if it's true, and 0 if false. Then, remove zeroes in your query.
    If due date and report date are chars, just create 2 formulas variables.

  • Query in Insert statement with JDBC Rx adapter

    Hi,
    This is a FILE to JDBC scenario.
    My target datatype is like this with sample payload values
    statement_s
    statement_s
       action='INSERT"
      access
        A=1234
        B=1002
    key
       A=1234
       B ="10%"
         compareOperation= LIKE
    A(1..1) is primary key in DB and B(0..1) colunm is an optional one.
    I want to know if such kind of Insert query with(LIKE operator) is possible.
    Please reply me ASAP.
    Edited by: ram pranav on Feb 18, 2009 10:28 PM

    Hi Ram,
    IN case of "UPDATE_INSERT", you can use the KEY tag in your structure. Also you can provide LIKE as an attribute to the KEY element as follows :
    <key1>
         <col4 compareOperation=u201DLIKEu201D>val%</col4>
    </key1>
    But when you are trying to insert the data_, the <key> tags will be ignored and only <access> will be considered._
    action=UPDATE_INSERT
    The statement has the same format as for the UPDATE action. Initially, the same action is executed as for UPDATE. If no update to the database table can be made for this action (the condition does not apply to any table entry), values of the table described in the <access> element are inserted in accordance with the description of the action INSERT. <key> elements are ignored in this case.
    The response document has the following format; one of the two values is always 0 because either an UPDATE or an INSERT action is always executed:
    Go through the link I have provided earlier.
    Thanks,
    Pooja Pandey

  • INSERT statement with JSP

              Does anyone know how to create an INSERT statement with JSP using
              variables??
              I can do the insert if I code the values of the variables in the statement,
              but when I try to use variables to do the insert it tries to insert the
              variable name and not the value of the variable into the table.
              Thanks,
              Doug
              

    "Doug Schaible" <[email protected]> wrote in message news:<bicO7.1279268$[email protected]>...
              > I can do the insert if I code the values of the variables in the statement,
              > but when I try to use variables to do the insert it tries to insert the
              > variable name and not the value of the variable into the table.
              Doug,
              I think you missed the <%= blahblah %> syntax.
              Regards
              drit
              

  • Mutiple skype numbers with voicemail

    Is it possible to have mutiple skype numbers with a voicemail box for each number?

    Hi, GAGolfer, and welcome to the Community,
    Yes; provided each Skype Number is affiliated with its own separate Skype account!  Otherwise,
    No; remember, subscriptions are tied to a particular Skype account.  If you purchase the maximum permitted ten (10) Skype Numbers on one account, that account's voice mailbox will respond for all ten Skype Numbers.
    Make sense?
    Kind regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • Iphone does not sync more than 3 mobile numbers with outlook

    as title says: iphone does not sync more than 3 mobile numbers with outlook.
    when i have a contact in iphone and i add more mobile numbers than just one, they do not pass through to outlook 2007. i realize this is because there is no room in outlook for more than 2 (if i remember correct) mobile numbers,but is there a workaround?

    I've got the same problem but with a "4 number" limit. Many of my outlook contacts have more than 4 numbers associated with them but the iPhone contacts app only shows/syncs 4 numbers. Any way to increase this limit on the iphone?

  • PRAA - Personnel numbers with already existing Vendor master record

    Hi gurus,
    We are using tcode PRAA to create vendor master, we notice some employees did not get converted to FK02 with the message "Personnel numbers with already existing Vendor master record". I checked FK02/FK03, but i didn't see any employee/vendor code there, I also checked vendor table, it is not there. why the system prompts me personnel numbers exist?
    Thanks in advance.

    Hi,
    Just go to the table LFB1 and put in the field PERNR that you are trying to create.
    If is created just put the transaction on modify instead of create.(if you want to change).
    And is better to see the vendor in tansaction XK03.

  • Insert statement with Date, time into Oracle

    Hi,
    I've got the following statement that I'm trying to insert into Oracle. Actually had to change up the format to dd-mm-yy to get it to insert the date correctly, not sure why, but I've got it "supposedly" formatted to also insert the hours, min., seconds into the db record, but it's not catching it.
    My code:
    INSERT INTO VOTETBL
    (CHANGE_CTRL_ID,BUSVP,BRANCH,VOTE,VOTE_TIMESTAMP)
    VALUES (?, ?,?,?,to_date(sysdate, 'dd-mm-yy hh24:mi:ss'));Shouldn't the sysdate capture all those elements sufficiently? The day, month, year get inserted correctly with this, but not so for the time portion.
    Any suggestions is welcomed.
    Thx.

    ok, thanks.
    I tried making a result set with the following:
    Statement stmt = connection.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY);
    ResultSet rst = stmt.executeQuery("select to_char(sysdate) from dual");
    Date dualtimestamp = (rst.getDate("sysdate"));But it makes the servlet blow up! Not sure why either, because if I enter that exact statement in Oracle, it pulls back the date and time just like I aim to. But not embedded in the result set statement within the servlet.
    It breaks up somehow and doesn't get that result!

  • Transient VO insert error-Attempting to insert row with no matching EO base

    Hi ,
    I have a transient Vo (created using option - rows populated programmatically, not based on Query) and I need to uptade/insert rows in vo on click of a button.
    when i nsert row, i get following error
    oracle.jbo.InvalidOperException: JBO-26020: Attempting to insert row with no matching EO base
    This is what I am doing in my code
    ViewObject vo2 = am.findViewObject("TransientVO1");
    vo2.executeQuery();
    if (vo2 == null) {System.out.println("vo2 is null");}
    if (vo2 != null)
    System.out.println("in vo2 != null");
    Row row2 = vo2.createRow();
    row2.setAttribute("PlatformName", "ss");
    row2.setAttribute("UserName", "ss");
    vo.insertRow(row2);
    System.out.println(" vo2.getRowCount()"+ vo2.getRowCount());
    Why is it saying no EO base... is it mandatory to have EO for transient VO? Please help.
    Thanks

    The EO handles all DML, hence you need it if you have to set attributes in a VO. An EO handles the storage of a the single row (or part if your VO consists of multiple tables).
    You can try and overwrite the setter method of the attributes in ViewRowImpl class and store the changes somewhere else.
    Timo

  • Update/Insert Problem with Oracle Warehouse Builder

    Hello,
    i have update/insert problem with owb.
    Situation: I have a source-table called s_account and a target table called w_account_d. In the target table are already data which was filled trough the source table inserts. Now anyone make changes on data on the target table. This changes should now give further on the source table with an update operation. But exactly here is the problem i can´t map back the data to source because that will create a loop.
    My idea was to set a trigger but i can´t find this component in owb or is anywhere hidden?
    Also i have already seen properties as CDC or conditonal loading in the property inspector of the table, but i have no idea how it works.
    Give it other possibilities to modeling this case? or can anyone me explain how i can implement this eventually with CDC?
    I look forward for your replies :)

    Hi
    thanks for your answer. I follow your suggestion and have set the constraints of both tables into the database directly.Nevertheless it doesn´t work to begin. In the next step i found by right click on a table the listpoint "configure" - I goes to "unique key" --> creation method and set here follow options: Constraint State = ENABLE, Constraint Validation = Validate. That error message that appears before by the deployment disappears yet. Now i start the job to test if the insert/update process works right. Finally it seems to work - but not really.
    My Testscenario
    1. Load the data from source table about the staging area to data warehouse table: Check - it works!
    2. Change one data record in source table
    3. Load the source table with changed data record once again to staging area: Check - it works!
    4. Load new staging area table with the changed data record to data warehouse table: Check it works! BUT, BUT i can not recognize if it is insert or update operation, then under the design window by jobs execution windows is reported "rows selected 98", Rows inserted" is empty and "rows updated" is empty. So i think works not correct, then my opinion if it works correct it should show be "rows updated" 1.
    What can yet now still be wrong or forgotten? Any ideas?
    *By the way think not 98 rows there is not important if you make an update or insert which performance. It is an example table the right tables have million of records.*
    I look forward for your answers :)

Maybe you are looking for

  • QM Certification Course Material

    Hai QM Gurus, I am plan to do QM Certification exam, so any one kindly send the course material for the same. Thanks in Advance. My Id: [email protected] Babusingh.S

  • To Change the Picking qty...?

    Dear All, While I am using the FM 'BAPI_OUTB_DELIVERY_CHANGE' it change the delivered quantity, but the picking quantity does not get change as per del. qty. And due to this my changed delivery dosen't get save. so how to overcome by this problem. Re

  • 11.0.4 podcast artwork in mini player not showing chapter artwork

    This has still not been fixed. Is there any plan to fix this for those of us using iTunes on Mac and PC for podcasts?

  • The file contains file info data which cannot be read and has been ignored

    We have been sending images out to contractors, and sometimes when they come back the files are having this error: the file contains file info data which cannot be read and has been ignored When I then try to Photoshop Script the file info it throws

  • Title Case Indesign Script?

    I have paragraph/character styles set. But I need a script to change these to title case (currently all lower case). I know there is a script, but the only ones I have come across seem to be for CS5 or below. I'm currently on CC 2014. Any sources for