Import text file into SQL database
-
25 februarie 2012 11:53
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?
Toate mesajele
-
26 februarie 2012 05:17
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
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- Propus ca răspuns de Jerry NeeModerator 27 februarie 2012 05:19
- Anulare propunere ca răspuns de Richard-Cain-UK 27 februarie 2012 09:24
- Propus ca răspuns de koles 10 aprilie 2012 09:52
-
27 februarie 2012 09:26
Hello,
Could you recommend any tools to format the text files to make them more understandable?
Thank you
-
27 februarie 2012 09:33
You can try http://www.bitwiseideas.com/FileFormat/Index.htmThanks
Manish
Please use Mark as Answer if my post solved your problem and use Vote As Helpful if a post was useful.- Propus ca răspuns de koles 10 aprilie 2012 09:52