none
Import text file into SQL database

    Pertanyaan

  • I have a number of separate text files which i would like to import into an SQL database. The data is not comma separted so that rules out using my idea of importing data by comma. However, the data is across a number of rows. See example text file below. Please could anyone advise how i could import specific data such as the programmed and mean values, shift number, etc?

    25 Februari 2012 11:53

Semua Balasan

  • Hi,

    I think in this case you need to write some (C# or VB) code to import your data to sql server or to format your text files to become CSV or something understandable to SQL server.

    I hope this is helpful.

    Elmozamil Elamir

    MyBlog


    Please Mark it as Answered if it answered your question
    OR mark it as Helpful if it help you to solve your problem
    Elmozamil Elamir Hamid
    http://elmozamil.blogspot.com

    • Disarankan sebagai Jawaban oleh Jerry NeeModerator 27 Februari 2012 5:19
    • Saran Jawaban dibatalkan oleh Richard-Cain-UK 27 Februari 2012 9:24
    • Disarankan sebagai Jawaban oleh koles 10 April 2012 9:52
    26 Februari 2012 5:17
  • Hello,

    Could you recommend any tools to format the text files to make them more understandable?

    Thank you

    27 Februari 2012 9:26
  • You can try http://www.bitwiseideas.com/FileFormat/Index.htm

    Thanks
    Manish

    Please use Mark as Answer if my post solved your problem and use Vote As Helpful if a post was useful.

    • Disarankan sebagai Jawaban oleh koles 10 April 2012 9:52
    27 Februari 2012 9:33