Hi, I have a text file and I want to use bulk insert, I now how to do it, but in the text file I have header record and detail record, how can I make a difference to insert in boot tables;the text file can have lot a heaaders and details
example text file
H^MP^319267228^17-FEB-06^^^^GXB
D^GXB10269^US^23^EA^^^^.45632^^MX^^^^
D^GXB10269^US^23^EA^^^^.45632^^MX^^^^
H^MP^319310332^27-FEB-06^^^^GBX
D^GBX10269^US^4^EA^^^^.07936^^MX^^^^
example text file
H^MP^319267228^17-FEB-06^^^^GXB
D^GXB10269^US^23^EA^^^^.45632^^MX^^^^
D^GXB10269^US^23^EA^^^^.45632^^MX^^^^
H^MP^319310332^27-FEB-06^^^^GBX
D^GBX10269^US^4^EA^^^^.07936^^MX^^^^