Click here to Skip to main content
15,891,777 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello guy,

I'm given a text files with the format of data below. How to get the result and import into Sql Server?

[S]TH
[N]
TH NAME ERIC
TH ID 101010101
TH Country US
[N]
TH NAME JOHN
TH ID 11111111
TH Country UK
[N]
TH NAME VINCE
TH ID 2222222
TH Country China
[E]

Result
NAME ID Country
ERIC 101010101 US
JOHN 11111111 UK
VINCE 2222222 China
Posted
Comments
PIEBALDconsult 7-Aug-15 0:10am    
Write some code.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900