dbTalk Databases Forums  

Importing binary data tables?

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Importing binary data tables? in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
fpsiv
 
Posts: n/a

Default Importing binary data tables? - 10-02-2003 , 08:23 PM






Apologies in advance for hitting the newsgroup with such
a 'clueless noob' question...

I'd like to import a series of external raw binary data
tables into a database. I've already defined the database
tables that I want this data to go into and assigned the
various columns the appropriate data types. How do I put
the data residing in the raw binary file into the database
tables?

It appears (to me anyway) that raw binary isn't supported
by DTS... though I find this hard to believe... and as far
as I can tell bcp is used for either native or ASCII
formatted data with the help of a format file.

My instincts are telling me I've overlooked something
obvious... but I have to admit that I'm stuck...

Thanks,
-fpsiv


Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: Importing binary data tables? - 10-04-2003 , 04:12 AM






In article <0f4801c3894c$f8acf470$a301280a (AT) phx (DOT) gbl>, fpsiv
<seelosiv (AT) aol (DOT) com> writes
Quote:
Apologies in advance for hitting the newsgroup with such
a 'clueless noob' question...

I'd like to import a series of external raw binary data
tables into a database. I've already defined the database
tables that I want this data to go into and assigned the
various columns the appropriate data types. How do I put
the data residing in the raw binary file into the database
tables?

It appears (to me anyway) that raw binary isn't supported
by DTS... though I find this hard to believe... and as far
as I can tell bcp is used for either native or ASCII
formatted data with the help of a format file.

My instincts are telling me I've overlooked something
obvious... but I have to admit that I'm stuck...

Thanks,
-fpsiv

Perhaps the Read File Transformation is what you want? This is an
article on the Write File Transformation, so just read it upside down
The two work in a very similar manner, so it should help. Also check out
the relevant topics in Books Online.

Write File Transformation
(http://www.sqldts.com/Default.aspx?294)
--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.