dbTalk Databases Forums  

load postscripts into sql

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


Discuss load postscripts into sql in the microsoft.public.sqlserver.dts forum.



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

Default load postscripts into sql - 01-27-2006 , 01:30 AM






We are having a website that generates postscript files when an order is
placed on it. These files are placed in a folder on the network.

I have been told to Load the postscript files into an existing sql database
and then delete the file from the folder.

If anyone has an idea on how to load the data from a postscript file into
SQL 2000 database, please give me an example/sample script. Also, how do I
delete the file after that.

My email is Jacktundra (AT) hotmail (DOT) com if you need to email me.



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

Default Re: load postscripts into sql - 01-27-2006 , 01:07 PM






Jack wrote:
Quote:
We are having a website that generates postscript files when an order is
placed on it. These files are placed in a folder on the network.

I have been told to Load the postscript files into an existing sql database
and then delete the file from the folder.

If anyone has an idea on how to load the data from a postscript file into
SQL 2000 database, please give me an example/sample script. Also, how do I
delete the file after that.

My email is Jacktundra (AT) hotmail (DOT) com if you need to email me.


You can use DTS, using the Data Flow task and the Write File load.

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


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


Reply With Quote
  #3  
Old   
Jack
 
Posts: n/a

Default Re: load postscripts into sql - 01-27-2006 , 07:41 PM



thank you

"Darren Green" wrote:

Quote:
Jack wrote:
We are having a website that generates postscript files when an order is
placed on it. These files are placed in a folder on the network.

I have been told to Load the postscript files into an existing sql database
and then delete the file from the folder.

If anyone has an idea on how to load the data from a postscript file into
SQL 2000 database, please give me an example/sample script. Also, how do I
delete the file after that.

My email is Jacktundra (AT) hotmail (DOT) com if you need to email me.



You can use DTS, using the Data Flow task and the Write File load.

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


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


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.