dbTalk Databases Forums  

import jpgs into database by DTS

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


Discuss import jpgs into database by DTS in the microsoft.public.sqlserver.dts forum.



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

Default import jpgs into database by DTS - 02-24-2005 , 05:07 AM






I' am importing jpg-files into a SQL2K database.

Currently I am using a staging table in wich I import the jpg's using
textcopy.
(first create the records with a placeholder in the image-field, then import
the jpg using textcopy)

Then I use a stored procedure in wich I make alle the necessary
Inserts/updates.

All this is done through a DTS.

(in the same dts I import/process also other data related to the pictures)

Is there a better way using DTS to import the pictures into a SQL2K database ?


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

Default Re: import jpgs into database by DTS - 02-24-2005 , 06:42 AM






How to perform a Read File transformation (Enterprise Manager)
(mk:@MSITStore:C:\Program%20Files\Microsoft%20SQL% 20Server\80\Tools\Books\ho
wtosql.chm::/ht_dts_trns_2yem.htm)

Read File Transformation
(mk:@MSITStore:C:\Program%20Files\Microsoft%20SQL% 20Server\80\Tools\Books\dt
ssql.chm::/dts_elemtr3_86cu.htm)

Read File Transformation
(http://www.sqldts.com/default.aspx?304)


--
Darren Green
http://www.sqldts.com
http://www.sqlis.com

"Franky" <Franky (AT) discussions (DOT) microsoft.com> wrote

Quote:
I' am importing jpg-files into a SQL2K database.

Currently I am using a staging table in wich I import the jpg's using
textcopy.
(first create the records with a placeholder in the image-field, then
import
the jpg using textcopy)

Then I use a stored procedure in wich I make alle the necessary
Inserts/updates.

All this is done through a DTS.

(in the same dts I import/process also other data related to the pictures)

Is there a better way using DTS to import the pictures into a SQL2K
database ?




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.