How to find the exact coloumn which fired the column value too large error

Hi all
I have a procedure which has a insert statement init.
I have encountered an column value too large error in that procedure.
I want to know exactly in which column the error has come
Any ideas,
Thanks
Hari

What is your insert statement? I get the exact column name here.
SQL> create table sample1(col1 number(1), col2 number(3), col3 varchar2(2))
  2  /
Table created.
SQL> insert into sample1
  2  select 1, 2, 'A' from dual
  3  union
  4  select 1,333, 'B' from dual
  5  union
  6  select 2, 44, 'CCC' from dual
  7  /
insert into sample1
ERROR at line 1:
ORA-12899: value too large for column "ETL_USER"."SAMPLE1"."COL3" (actual: 3,
maximum: 2)
SQL> Cheers
Sarma.

Similar Messages

  • ODI Datastore Length differs with the DB length -IKM throws value too large

    ODI datastore when reverse engineered shows different length to that of the datalength in the actual db.
    ODI Datastore column details: char(44)
    Target db column : varchar2(11 char)
    The I$ table inserts char44 into varchar2(11char) in the target. As the source column value is empty ODI throws
    "ORA-12899: value too large for column (actual: 44, maximum: 11).

    Yes. I have reverse engineered the target also.
    source datatype     varchar2(11 char)
    After Reverse Engineering
    odi datstore datatype-Source :  char(44)
    target datatype: varchar2(11 char)
    after Reverse Engineering
    odi datstore datatype-Target :  char(44)
    Since the target datastore is char(44) in ODI Datastore and the values in the source column are null/spaces, the IKM inserts them into the target Column which is of 11 Char and the above mentioned value too large error occurs.
    There are no junk values seen on the column and I tried with substr(column,1,7) and
    Trim functions too and it does not help.

  • How can we find the Idoc number which posts the material document in SAP

    Hi All,
    How can we find the Idoc number which posts the material document in SAP. We could not able to find the IDOC number from the material document which was posted by Idoc.
    Thanks
    Chandru

    Hi,
    In MIGO you can go to service of object(Just above show overview) and check 5th option workflow you will find the idoc number.
    regards
    suresh

  • How to locate the source code which populate the SO number?

    Hi,
    For example:
    In T-code: VA01
    Put your cusor on the screen field : Standard Order
    Then press F1, get the technical info of this field as below shows:
    Screen field     VBAK-VBELN
    Program name     SAPMV45A
    Screen no.       4001
    So my question is, how to locate the source code which exactly to populate the SO number into VBAK-VBELN by the system automaticallly.
    As assumed that the system is generate this kind of SO autuomatically, and its number range is defined in SPRO.
    I just want to find out the coding part which gengerate the SO number.
    Want to see the source code of that...
    How to find it???
    Thanks.

    Hi Deepak,
    Thanks for the info..
    But i think i am also know that.
    Questions is dont know how to find the KEY statements that exactlly to generate the number...
    Anyway, 2 points to you.

  • How to find out exact labour hour and expenses for each labour attached to

    Team,
    How to find out exact labour hour and expenses for each labour attached to machine
    We are planning to go with CATS.
    But in Cats how Production Planning department get the exact labour coust
    (which includes labour accomodation building , EB etc. paying by comp)
    How to do this in CATS
    REX

    hai
    generally  the schemas are named X000  which stands for common schema  nomination
    x replaced by respective country like for india it is IN00  for US  U000etc
    it is not given according to the group of emplyees but according to the country grouping for your org units
    time schemas are country independent they work for all the countries
    regards
    nalla

  • HT2905 Does anyone know how to find and remove duplicate items in the new itunes 11?

    I am having a hard time trying to figure out how to find and remove duplicate items under the New iTunes 11? Its not as user friendly as in previous versions. Does anyone know how to figure this out?

    As Jim said View > Show Duplicates
    or
    Option + View > Show Exact Duplicates

  • How to find out web-inf path from the physical drive?

    How to find out web-inf path from the physical drive?
    I have some user profiles in web-inf directory.SO I want to know the path from root directory like
    d:/program files/allaire/jrun/appname/web-inf/profiles/username like that.
    Presently I am able to get the path upto the application directory and from that I am concatinationg web-inf/profiles/username .
    But it is giving problems when it is deployed under unix or linux.Because web-inf there it treats as WEB_INF
    SO I want to get the path of web-inf directory with out hard coding.
    Thanku

    String path = application.getRealPath("/WEB-INF/profiles/username");
    Note sure why you need this, but you don't need the real path to read the file - you can get an InputStream using the relative path. See ServletContext getResource() and getResourceAsStream().

  • How to find out if your Mac has the new Virus ?

    How to find out if your Mac has the new Virus, and how to fix it ???

    Helpful Links Regarding Flashback Trojan
    A link to a great User Tip about the trojan: Flashback Trojan User Tip
    A related link in the tip to a checker: Malware Checker Dowload Link
    A Google search can reveal a variety of alternatives on how the remove the trojan should your computer get infected. This can get you started.
    For now I recommend the User Tip from etressoft to detect and remove:
    Checking for and removing the "Flashback" trojan
    Kaspersky Flashback Trojan Site:Flashback Trojan Detection and Removal
    Also see Apple's article About Flashback malware.

  • I have bought an ipad, and when i go to reset it, it needs the restrictions password which i dont know. When i plug it into itunes, it asks to turn find my iphone off, which needs the password of the old owners itunes.What should i do?

    I have bought an ipad, and when i go to reset it, it needs the restrictions password which i dont know. When i plug it into itunes, it asks to turn find my iphone off, which needs the password of the old owners itunes.What should i do?

    If you're able to contact the person who set the lock, send them this link and tell them to follow its instructions.
    If not, you can't use the device but may be able to get it refunded. Apple won't remove the lock for anyone other than the original owner(assuming they're alive.)
    (119278)

  • I have to create a presentation about waste water management. The students needs to see how the water flows in the system. Which is the best Adobe program for this task?

    I need to show dirty water, the treatment, and the clean water after treatment. It is necessary to see how the water flows in the tubes.
    Which is the best Adobe program fr this job? 

    After Effects, but be ready for a steep learning curve. Third party plug-ins may be required if you want realistic flow. Schematic diagrams are fairly easy to create with After Effects. I do it all the time.

  • How to find list of languages installed in the SAP system?

    Hi All,
    Please tell me, how to find list of languages installed in the SAP system?
    Thanks and Regards,
    Kumar.

    Hi Virgo Rhyme
    Hope the following info will be helpful
    3rd - SAP is the 3rd largest software company in the world
    30,000 - Total number of people employed by SAP
    5,400 - Number of programmers employed by SAP
    $7.024 billion - FY03 Revenue
    $1.077 million - FY03 Net Income
    12,000 - Number of companies using SAP
    79,800 - Number of SAP installations
    12,000,000 - Number of people using SAP
    120,000,000 - Total number of people in the 12,000 companies who are using SAP
    28 - Number of languages supported by SAP
    46 - Number of country-specific versions of SAP
    22 - Number of industry-specific versions of SAP
    1,000 - Number of pre-defined best practices contained in the SAP system
    10,000 - Number of tables requiring configuration in a full SAP implementation
    55,000 - Number of SAP experienced consultants worldwide
    28 - Number of years ago SAP was started
    Reward if helpful
    Regards
    Lakshman

  • How to find last accessed/updated tables and the query text?

    I am using :
    Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.4.0 - Production
    How to find last accessed/updated tables and the query text?
    Regards
    LEE1212

    Check DBA_TBALES view there you find one date column that indicate last update
    One option is as follows:
    (1) Turn the auditing on: AUDIT_TRAIL = true in init.ora
    (2) Restart the instance if its running.
    (3) Audit the table:
         AUDIT INSERT,SELECT,DELETE,UPDATE on TableName
         by ACCESS WHENEVER SUCCESSFUL
    (4) Get the desired information using :
         SELECT OBJ_NAME,ACTION_NAME ,to_char(timestamp,'dd/mm/yyyy , HH:MM:SS')
         from sys.dba_audit_object.
    Cheer,
    Virag Sharma
    http://virag.sharma.googlepages.com/
    http://viragsharma.blogspot.com/
    Message was edited by:
    virag_sh

  • How do i redeem exactly 33 cents in the US itunes store?

    how do i redeem exactly 33 cents in the US itunes store?

    You don't.
    Contact itunes support and ask them to remove it

  • HT4993 how to find my year of birth on the iphone4

    how to find my year of birth on the iphone4

    It sounds as if it wants the answer to your security question "what is the year of your birth".
    Apple has been using these security questions for a few months now. Presumably it is to avoid theft from people guessing other people's Apple IDs and passwords. No one knows why or when anyone is asked for the answers, and like any good security system it is designed to be unpredictable.
    Whatever you answered for that question, only you can know, that's the idea behind the security questions. You could have answered 1492, it really doesn't matter, as long as your answer matches what you originally supplied.
    If you are being locked out because your answer is not what it is expecting, your only recourse is to contact iTunes Support and ask them to reset your password. You will have to answer some questions to confirm you are who you say you are, and then they will send you an email with instructions to reset your password and create new answers to more security questions.
    Contact iTunes Support here: http://www.apple.com/emea/support/itunes/contact.html

  • HT1349 how to find information on my ipad with the serial number

    how to find information on my ipad with the serial number

    You can learn how to determine the model here:
    http://support.apple.com/kb/HT5452
    If your iPad is in a case or has a skin so that you can't see the model number, enter the serial number here:
    https://selfsolve.apple.com/agreementWarrantyDynamic.do
    Regards.

Maybe you are looking for

  • How can I capture AVHDC video files from Panasonic HD video camera??

    I just received a Panasonic HS300 video camera and can't copy the video files on my computer. I see several files in the CAM_HDD camera folder on the desktop. But the only relevant files for me to copy are the JPG photos. I don't see any video files.

  • APD-Issue with Decimals

    hi, I am using APD to get the report results as CSV file. I have restircted not to show the decimal places for the values in the report  but the file that is genarated always comes with two decimals. The business  does not wants the value with decima

  • DV Pal 4.3 play back problem.

    Hi Every One. Hopefully you can help and put my mind at rest. I have a music video to be submited to TV. Out of Final Cut Pro X the video is crisp. When converted in i Movie to You Tube, the video is crisp. 1 of the channel's the video is being submi

  • Problem installing iBooks on the original iPad

    Hi! I have three apple products in the house: an old original iPad, an iPhone 4 and an iPhone 5s. The original iPad is on iOS 5.1.1 - there is no support of a newer version of iOS for this product. I was particularly using this device for  reading, w

  • Register card from a different country apple id

    you can register a credit card from a different country to the apple id? I have no card of the United States but of another country and always fails. When trying to register with paypal also gives me errors.