Reading from a CSV file that has been imported into an SQL table as HEX data

时间:2019-02-25 17:22:41

标签: sql csv

I have a table in sql that is storing objects I am importing from the front end in what looks like HEX format (forgive me if I am wrong).

Here is an example "0xFFFE2200560065006E0064006F00720022" (this was thousands of lines long I only included the first line)

These are CSV files and I need to pull each row of the file and import it into another table as records.

Example of CSV:

TestItem1, 200

TestItem2, 200

TestItem3, 300

I have no control over the way that the file is uploaded/saved for security reasons so I will have to work with the hex data that is already in the table. Any suggestions?

1 个答案:

答案 0 :(得分:0)

我找到了我想要的解决方案,只是将其发布在这里,以防其他人找不到它:

88553344