Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server ASP
|
SQL Server ASP Discussions about ASP programming with Microsoft's SQL Server. For more ASP forums, see the ASP forum category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server ASP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 19th, 2003, 02:45 PM
Authorized User
 
Join Date: Jun 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default BLOB field file types

My company's SQL Server 2000 database has a field which may store BMP or text files.

I want to use an ASP file to retrieve these files, but I don't know how (or if it's possible) to "sniff" the content type of the file in the BLOB, so I can choose the appropriate contenttype setting when the file is retrieved.

Can anyone help? Is this possible, and if so, sample code would be much appreciated.

Thanks in advance,
Ken





Similar Threads
Thread Thread Starter Forum Replies Last Post
Download - file from Database [Blob field] -JSP lapog Pro JSP 10 January 20th, 2011 05:19 PM
BLOB: file is empty after retrieving blob data thr taraprasad Pro JSP 0 May 22nd, 2008 10:02 AM
Changing table field types in VB scubasteve Access VBA 1 June 12th, 2006 12:24 PM
Empty Text or blob field ODBC Drivers (0x8002009) MaBel Classic ASP Databases 1 May 6th, 2005 11:17 AM
ASP code for inserting BLOB field in Interbase pyc Classic ASP Databases 0 June 4th, 2003 12:02 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.