Need to convert the Varchar2 to decimal

Hi,
I need to convert source sybase varchar2 record in to decimal record in Target DB2 table by using the function in Oracle data integrator.
In my source table, column is defined as varchar2 (4) and in target table same column has defined as Decimal (2). So, is there any function to convert the varchar2 data to decimal record.
thanks,
keshav.

Hi SH,
Thanx so much for your answer!
Well actually I have managed to do the filters, and right now dealing with the convertion of formats.
Right now I am working with Oracle DB 11g, and Excel; and what i would like to do is now that is passing from my uploaded excel the info to my Oracle DB would like to control the ways it pases the info.
Let's say for example, that I have gotten a Field A in my source table (Excel uploaded to ODI), and that on my Orazle Table on Field A i would like to change the data type of the field, or just make sure that the data inserted will always be of certain type? Can I do this with ODI? Could you please give me some advice in how to it? I assume that it should be done on my interface, in the Diagram tab > Target Database > Mapping Area > Implementation Tab > Expression Editor and modify it there, is it?
As this is mapping from excel, can I just use the excel function? it does not make any sense for me as it is all in Oracle. I am sorry but I am kinda confused now.
Once again I do really appreciate your help.

Similar Messages

  • Need to convert the binary data in blob field to readable format

    Hi,
    We need to convert the Binary data in the BLOB field to readable format and need to display it in Oracle Apps Environment,does anybody come across the similar requirement.
    please advise, thanks in advance.
    Regards,
    Babu.

    You could use standard Attachments functionality here ... if the blob is not in FND_LOBS, insert into FND_LOBS, fnd_attached_documents etc to enable viewing via "Attachments" to the entity the blob is related to.
    Gareth

  • Is it needed to convert the values frm text field to numeric for sql server

    hi all,
    i'm using tomvat4.0,back end sql server 200.
    when i insert the values in to the table it is giving an exception sayin "Error in converting varchar to numeric"
    is it necessary to convert those strings from text fields into int before passing them to the sql query..
    i think it is not necessary for oracle..but not sure with sql server..
    pls help me
    cheers
    chandu

    yap, every thing is fine...
    n i got the solution...when the text field is left blank....the requst.getParameter returns [coe]""(null)
    wen the database is lookin for a numeric it is giving null...which is not acceptable...
    so inserted this code...
    if(request.getParameter("...").equals("")) {
      //assign zero to a variable then insert that variable....
    }thanx for the responses
    cheers
    May the solutions to one's problem pop up in one's mind itself
    chandu

  • Need to convert varchar2 into decimal

    Hi,
    I need to convert source sybase varchar2 record in to decimal record in Target DB2 table by using the function in Oracle data integrator.
    In my source table, column is defined as varchar2 (4) and in target table same column has defined as Decimal (2). So, is there any function to convert the varchar2 data to decimal record.
    thanks,
    keshav.

    865709 wrote:
    Hi,
    I need to convert source sybase varchar2 record in to decimal record in Target DB2 table by using the function in Oracle data integrator.You may have more luck in the proper forum
    Data Integrator

  • Convert a String to Decimal Format in European format

    Hi Experts,
    I am having a string as a context type for a input field, where the user can enter the Price, I need to convert the same into European format "###.###,00", I am using this below code to convert the string to decimal format
    User will enter the input as 10 as it needs to be converted into 10,00. Also, 1000 which has to be converted as 1.000,00
    String Str1 = wdContext.currentvn_temptable.getVa_TempUnitPrice();
    Locale mylocale  = Locale.GERMAN;
    String pattern="###.###,00";                    
    NumberFormat nf = NumberFormat.getNumberInstance(mylocale);
    DecimalFormat df = (DecimalFormat)nf;
    df.applyPattern(pattern);
    String output = df.format(Str1);
    wdComponentAPI.getMessageManager().reportSuccess("Unit Price" + " " + pattern + " " + output);
    When I execute the above code, i am getting an error called "Malformed Pattern ###.###,00"
    Please let me know, how to convert a String to Quantity in European format
    Thanks & Regards,
    Palani

    Hello!
    Try to change your pattern to this one 
    Locale mylocale  = Locale.GERMAN;
    String pattern = "#,#00.00";                    
    NumberFormat nf = NumberFormat.getNumberInstance(mylocale);
    DecimalFormat df = (DecimalFormat)nf;
    df.applyPattern(pattern);
    String output = df.format(1111111.222);
    Pattern has an influence on number of digits between separators, but you have to use ',' for grouping and '.' for decimal. Character values for separators correspond to your Locale object.
    Thanks, Mikhail

  • How to convert the varray to ref cursor

    Hi,
    Is there any way to convert varray to ref cursor....
    i dont want to use any table or record as an ref cursor..
    i just want to create a procedure which returns a ref cursor..
    below is the sample procedure for it..
    create or replace procedure FETCH_DATA1
    tab_name in varchar2,
    p_recordset1 OUT fetch_data_pak.ref_cursor
    AS
    type v_array1 is varray(1000) of t_transaction%rowtype;
    v_array2 v_array1;
    cursor s1 is select * from t_transaction where lastupdate_date > '08-Aug-09';
    begin
    open s1;
    fetch s1 bulk collect into v_array2 limit 100;
    close s1;
    select * from table(cast (v_array2 as p_recordset1));
    end FETCH_DATA1;
    I need to convert the varray to ref cursor.....

    Why put it into a varray at all?
    You can just open the ref cursor for that select you are desiring.
    And if you need to limit it to returning just the first 100 (as your code seems to imply), wrap it and filter on rownum.
    Something similar to this:
    create or replace procedure FETCH_DATA1
      tab_name in varchar2,
      p_recordset1 OUT fetch_data_pak.ref_cursor
    AS
    begin
      open p_recordset1 for
      select /*+ first_rows(100) */ * from (
        select * from t_transaction
        where lastupdate_date > to_date('08-08-2009','DD-MM-YYYY')
        --order by something
      where rownum <= 100;
    end FETCH_DATA1;And note, that you really should have an order by when you wish to limit yourself to "first 100 rows" - otherwise it will be "random 100 rows".
    That goes for your cursor solution as well...
    Edited by: Kim Berg Hansen on Nov 28, 2011 10:25 AM
    Added explicit date conversion - it is bad practice not to explicitly convert dates ;-)

  • Need to convert language from English to Thailand

    Hi Gurus,
    Can any one let me know the procedure of language conversion,
    like i need to convert the available statement in report from English to Thailand.
    Is their any function module to convert, please let me know.
    thanks
    balu.

    Hi,
    Do you want text in Thailand , when your logon language is English that to dynamic text ? is it so.
    If not  I think  you can do this using Translation  .
    Mintain text-elements and then GOTO -> Translation.
    When you logon in that particular language then it will be displayed in that language only.
    Regards,
    Rajitha.

  • Need to convert original language to EN in SAPscript

    Hi all
    I have copied a standard form and need to convert the language to EN but when I go to Utilities the option of convert original language is disable.
    How can I go for it.
    Regrds
    Mona

    Hi,
    Goto SE71 of your script and identify the original language in header details.
    Now goto SE71, form name with original language and click change, usually if you check the radio button trnslate to all languages it is available in all languages... now if you want the form to be avialable in only few languages, click radio button to individual languages and click arror language selelction and select ES... and EN now form will be available in EN and Spanish...save and activate.
    Or
    Go to se71->changeform->form menu->copy from.
    u will find the option to change langauage.
    Regards,
    Satish
    Edited by: Satish Panakala on Apr 17, 2008 12:51 PM

  • Need to convert to labview 11 from labview 12

    hello
    I need to convert the following Labview 12 VIs to Labview 11.
    thank you in advance
    Attachments:
    QAM Demodulation.vi ‏30 KB
    QAM Modulation.vi ‏30 KB
    rx QAM.vi ‏57 KB

    The conversion was done here: http://forums.ni.com/t5/Version-Conversion/need-to-convert-from-Labview-12-VI-to-Labview-11/m-p/3021...
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Need to convert a 2D array into two 1D arrays to be fed into Build XY Graph

    Hi Need to convert the 2D Output of a sub vI for display on XY Graph. Help!!! I cant find an array function that takes a 2D input and un-builds to 2 * 1D arrays

    Hi Dave,
    if it is working than that's it.
    I'm using the german version of LabView and it is sometimes difficult to translate the names ;-)
    Stephan

  • Need to convert App Store from Swiss to uk?

    I need to convert the App Store from Swiss to uk?

    Change iTunes Store Country on an iDevice
    1. Tap Settings;
    2. Tap iTunes & App Stores;
    3. Tap View Apple ID;
    4. Enter your user name and password;
    5. Tap Country/Region;
    6. Tap Change Country/Region;
    7. Select the region where you will be located;
    8. Tap Done.
    Also, see How to Change Your iTunes Store Account Location | eHow.com.

  • Convert the spool to xls format and email through attachment to the user

    Hi all,
    When I execute a report in background, I get spool. I need to convert the spool to xls format and email through attachment to the user.The xls file should not be saved on local system.
    If I use the Spool Recepient tab in SM37 it mails the spool list as .txt file to the mail receipient. But I need to send it as an .xls file.
    Can any one help me on this

    Did you get the solution? i have the same problem.

  • I am a beginner at Final Cut Pro. Need help converting MPEG-2 to use.

    I am a beginner at Final Cut Pro. I have mpeg-2 video footage that I am trying to import the footage into Final cut, but can't. I understand I need to convert the file format. I am unfamiliar with how to go about the converding file formats and the codec what is the best way to go about converting the file format so I can edit it on Final cut pro?

    Where did the files originate? (How were they created?)
    Some formats can be brought in with the help of plug-ins.
    MPEG Streamclip can usually convert them to Quick Time.
    Russ

  • FM for converting the Numbers into Ukraine Language

    Hi All,
    Thank You very much in advance..
    I have a requirement where I need to convert the Numbers to Ukraine Words...
    I have used the FM SPELL_AMOUNT for which I have passed the Language Parameter as 'U' (U refers Ukraine) but I am getting the Error saying that no entry FI in T015Z table....
    Do I need to maintaine the entries in table T015Z FOR UKRAINE language as well.. or is there any other process for this requirement.
    Can you please help me on this.
    Thanks and Regards,
    K.Krishna Chaitanya.

    answered

  • Convert binary data to decimal in CAN XNET

    I am using NI-XNET Read function to read CAN frames from port CAN1 , the data out put comes in cluster in binary format is there any function that I can use to convert the binary to decimal ? I prefer not to write another sub-vi to do conversion but using the existing functions that can use my .dbc file and parse all frames in decimal format.
    Thanks.

    Yes Doug You are correct. We have a PCB and we have connected two inductive  sensors over the PCB which are measuring the distance and transpose it to voltage. The PCB has a software which transpose this voltage through an ADC and through the Can Bus we are reading the sensors .To communicate with the PCB  we are using a USB to Can device from IXXAT to communicate, we have build the Labview drivers and our problem as you mention is that we want to transpose this data to voltage. How we can do this? I try several times to upload photos or even the program we have create but for some reason the site is not letting me to do that. If you have an email i can send you the program we have create to tell us your opinion in this problem we have, we can also send you the Labview drivers and the datasheet of the sensor we are using.
    Attachments:
    Read from Can.vi ‏37 KB

Maybe you are looking for

  • EVERY-TIME I close photoshop I get this message "Photoshop quit unexpectedly"

    This just started today after running cs5 for months with no problems, I am not sure what I changed to cause this. Every-time I close the software I get this message "Photoshop quit unexpectedly". I have tried repairing permissions as well as trashin

  • Can't see folders/files but connected to VPN

    I'm trying to connect to my office VPN. Unfortunately, I'm the only person in the office who uses a Mac and our remotely-based IT guy doesn't have a lot of Max experience, so I haven't been able to get much assistance recently. After a lot of trying,

  • Exist DataTable Type in Java?

    Hi, I'm new in Java Programming. In VB.Net I like to manipulate SQL Queries in a DataTable and later post it in a DataGridView. In VB exist a type called DataTable; Dim dt as DataTable I saw the JTable, but, that is like the DataGridView. I'm guessin

  • OIM connector for OpenLdap?

    Hello, Connectors for OID and Sun Java System Directory are included with the 9.0.4.1 collection -- will either of these operate with OpenLdap (even if it's a subset of functionality)? Better approach? Thank you! Scott

  • Problems submitting a podcast

    Hi all, I have been trying to submit my podcast to the iTunes store now for two months. I am able to submit it using my rss feed: http://dalydose.podomatic.com/rss2.xml But when I try to validate my feed I get this error: This feed does not validate.