Forum Discussion
Sharon_hurley
Apr 12, 2022Copper Contributor
Hexadecimal flat files
Hi
i need to import large hexidecimal flat files into one table in the sql server with a line having up to 2000 characters. The record does not need to be broken up yet.
Any suggestions? I’m worried about carriage returns for starters.
Sharon
- olafhelperBronze Contributor
Sharon_hurley , sorry, but for me it is not clear what your requirements are nor what you try to achieve here?
What's a hexdecimal file, an unusally term?
A binary file like an image?
Or a text file with hexadecimal representation of numbers?
And how does the target table look like (DDL statement)?
Olaf
- Sharon_Hurley850Copper ContributorHiThanks for the questions. The text file has hexadecimal characters. I don’t have any tables yet.I usually use SAS so that am not familiar with SQL server terms. In SAS I just infile the file and apply formats. Right now I am trying to do the same with SQL but worry about decimals and end of file characters.Sharon
- olafhelperBronze ContributorStill to less informations about the source file format & content.
Olaf