Hi Guys,
I have an excel data.
just save the file as CSV and TXT file format.
I'm using BULK insert to replicated or insert the data into temporary table and i got an error.
I notice also when i tried to change the size of each datatype to a bigger size something like
10 for itemid and the rest i change it to 100 and it works fine but all those records with comma
the records was not completed especially for descript, model and category column where some text has a comma.
Any idea guys to fix this issue. Thanks.
Bulk Insert #VPTable From '\\Reportdata\Axapta Reports\MPA TEST DATA.csv' With ( DATAFILETYPE = 'char', FieldTerminator = ',', CODEPAGE = 'OEM', KEEPNULLS, RowTerminator = '\n', FirstRow = 2)
CSV FILE
RESULT after BULK INSERT: