i have text inside txt file that i need to insert to table i already use bulk insert but there are 2 field terminator in my text text would look like this
006749xxxx161200000572~0039xx9949~0 SUCCESS.UPD
006137xxxx180300010348~0039xx3288~1512259 NOT.UPD-KTA 0039xx3288~1512259 NOT CHANGED
006190xxxx201600010442~0039xx0811~0 FAILED.INPUT-ACCOUNT.NUMBER.INVALID 0039xx0811
i expect to insert to 4 column table like
cuscode || norek || a || status || description
006749xxxx161200000572 0039xx9949 0 SUCCESS.UPD sucess
006137xxxx180300010348 0039xx3288 1512259 NOT.UPD-KTA... failed
006190xxxx201600010442 0039xx0811 0 FAILED.INPUT-... failed
how to insert my text file to table like above? i already using bulk insert but apperently bulk insert only allowed me useing 1 fieldterminator, and in my text file there are 2 " " and "~"