Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

importing binary data

Status
Not open for further replies.

coladmin

Instructor
Feb 5, 2003
309
0
0
US
hello I have a database that has an export function to a binary file and I would like to import this data into SQL on a regular basis using DTS. can anyone give me some recommendations on how to import the binary data

thanks in advance
 
You could probably do this with DTS provided the table you are importing it too has columns defined as binary or varbinary, and the file you want to import is somehow delimited.

What does your file structure look like?

A wise man once said
"The only thing normal about database guys is their tables".
 
the file has the following structure

no delimitmers

a header and a detail section and I have documentaiton on each records size in bytes and data type. I have tried to use DTS and it does recnogize the file at all.
 
Have you tried changing the filename extension to .txt and bringing it in as a text file?

A wise man once said
"The only thing normal about database guys is their tables".
 
yes and I did not have any luck with that
 
Are you familiar with BCP? You may be able to use that here.

You also might be able to use fox to bring it into a dbf as an intermediate step?

I am really grasping at straws here, sorry I can't be of more help.

Alex

A wise man once said
"The only thing normal about database guys is their tables".
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top