|
-
February 15th, 2000, 07:43 AM
#1
Saving Files In SQL Server
Hi,
Does anyone know how to save files in a table in SQL SERVER 6.5 or 7.
Basically at the moment all I do is save file paths but my client has requested that the actual file be saved and I haven't a clue how to do that.
The files are all Word or Excel
Cheers.
Tony
-
February 15th, 2000, 08:26 AM
#2
Re: Saving Files In SQL Server
you can use the text or image data type in your SQL server table.
You can then use the BCP utility to load your files into these columns.
-
February 15th, 2000, 08:41 AM
#3
Re: Saving Files In SQL Server
Cheers for the swift reply Lothar,
I don't know how to use the BCP utility.
Do you have an example of how this might be accomplished in VB (an SQL statement etc). Is this even possible?
Thanks
-
February 15th, 2000, 09:04 AM
#4
Re: Saving Files In SQL Server
-
February 15th, 2000, 09:26 AM
#5
Re: Saving Files In SQL Server
-
February 15th, 2000, 11:09 AM
#6
Re: Saving Files In SQL Server
Not sure if this will come in handy but you might want to check out this nifty BCP OCX I found while I was importing data into SQL Server 6.5. Works like a champ without the messy code!:-)
http://www.bbss.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|