bcpin

  • Hi,

    Please help me in bcp in the below data structure to the data base ...

    feb2009 SMART/SMART SMART/SMART 89810000005 USD 13224.18 feb 2009 GCN & Telex MIS ChargeOut OUCGB2833 OUCZ14040

    feb2009 SMART/SMART SMART/SMART 89810000003 USD 18.75 feb 2009 GCN & Telex MIS ChargeOut OUCGB2833 OUCZ14040

    feb2009 SMART/SMART SMART/SMART 89810000004 USD 71.51 feb 2009 GCN & Telex MIS ChargeOut OUCGB2833 OUCZP1073

    feb2009 SMART/SMART SMART/SMART 89810000005 USD 1358.61 feb 2009 GCN & Telex MIS ChargeOut OUCGB2833 OUCZP1073

    feb2009 USDDAUSD/0010990765 US00001/0000000007 89810000001 USD 1.80 feb 2009 GCN & Telex Cash ChargeOut GB00002/0000GB2833

    feb2009 USDDAUSD/0010990765 US00001/0000000364 89810000001 USD 25.67 feb 2009 GCN & Telex Cash ChargeOut GB00002/0000GB2833

    feb2009 USDDAUSD/0010990765 US00001/0000000507 89810000001 USD 10.00 feb 2009 GCN & Telex Cash ChargeOut GB00002/0000GB2833

    feb2009 USDDAUSD/0010990765 US00001/0000000676 89810000001 USD 0.57 feb 2009 GCN & Telex Cash ChargeOut GB00002/0000GB2833

    feb2009 USDDAUSD/0010990765 US00001/0000000679 89810000001 USD 13782.07 feb 2009 GCN & Telex Cash ChargeOut GB00002/0000GB2833

    feb2009 USDDAUSD/0010990765 US00001/0000000679 89810000002 USD 51.38 feb 2009 GCN & Telex Cash ChargeOut GB00002/0000GB2833

    The column names of the table should be ..

    1) Billing Cycle

    2) SVC Provider Org Code

    3) Customer Org Code

    4) Sub Product

    5) Transaction Currency Code

    6) Actual Cost

    7) Volume

    8) Invoice Description

    9) Other SVC Provider Org Code

    10) Other Cust Org Code

    11) Additional Info

    Thanks in advance,

    Faizal Ahmed.H

  • Hi Faizal,

    In order to assist you, it would be most helpful if you could provide a DDL script that creates your table, as well as a sample input file (as an attachment) that contains the data you listed. From your post it is totally unclear what the delimiters between the columns are or even where the delimiters are supposed to be. By the way, why are you storing dates as "feb2009", i.e. as a string? Is that how the data comes in from an external system? I sincerely hope you don't store it in SQL in that format. Will be a futile attempt trying to extract this data in a decently sorted fashion once it is on the server. OK, it can be done, but performance will suck.

    Regards,

    Jan

    --------------------------------------------------------------------------
    A little knowledge is a dangerous thing (Alexander Pope)
    In order for us to help you as efficiently as possible, please read this before posting (courtesy of Jeff Moden)[/url]

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply