dbTalk Databases Forums  

load postscript files in SQL 2000

microsoft.public.sqlserver.tools microsoft.public.sqlserver.tools


Discuss load postscript files in SQL 2000 in the microsoft.public.sqlserver.tools forum.



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

Default load postscript files in SQL 2000 - 01-27-2006 , 01:29 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   
Erland Sommarskog
 
Posts: n/a

Default Re: load postscript files in SQL 2000 - 01-27-2006 , 05:31 PM






Jack (Jack (AT) discussions (DOT) microsoft.com) writes:
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.
Do you want to load the postscript file as-is? You say "load the data"
sounds like you are intend to somehow parse the file. If that is what
you are looking into, I think you would first have to talk to people
in some postscript newsgroup.

If you are looking to storing the postscript file as is in the database
that should probably be in a column of the type text or ntext. It's
difficult to give examples, since you did not mention in what
enviroment you are working in.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx


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

Default Re: load postscript files in SQL 2000 - 01-27-2006 , 07:20 PM



thank you for the feedback.

"Erland Sommarskog" wrote:

Quote:
Jack (Jack (AT) discussions (DOT) microsoft.com) writes:
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.

Do you want to load the postscript file as-is? You say "load the data"
sounds like you are intend to somehow parse the file. If that is what
you are looking into, I think you would first have to talk to people
in some postscript newsgroup.

If you are looking to storing the postscript file as is in the database
that should probably be in a column of the type text or ntext. It's
difficult to give examples, since you did not mention in what
enviroment you are working in.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx


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 - 2013, Jelsoft Enterprises Ltd.