none
Import text file into SQL database

    Frage

  • 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?

    Samstag, 25. Februar 2012 11:53

Alle Antworten

  • 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

    • Als Antwort vorgeschlagen Jerry NeeModerator Montag, 27. Februar 2012 05:19
    • Nicht als Antwort vorgeschlagen Richard-Cain-UK Montag, 27. Februar 2012 09:24
    • Als Antwort vorgeschlagen koles Dienstag, 10. April 2012 09:52
    Sonntag, 26. Februar 2012 05:17
  • Hello,

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

    Thank you

    Montag, 27. Februar 2012 09: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.

    • Als Antwort vorgeschlagen koles Dienstag, 10. April 2012 09:52
    Montag, 27. Februar 2012 09:33