![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Is it possible to store Binary Files in MS SQL 2000 ??? Say I have a 100K PDF or a 150K word document. Is it possible to store this in a field in MS SQL and pull it out somehow? We're using ColdFusion on the server on Apache. |
#3
| |||
| |||
|
|
Ringo Langly (rlangly (AT) gmail (DOT) com) writes: Is it possible to store Binary Files in MS SQL 2000 ??? Say I have a 100K PDF or a 150K word document. Is it possible to store this in a field in MS SQL and pull it out somehow? We're using ColdFusion on the server on Apache. Yes, it's possible. You would use the image data type for this. Unfortunately, I no nothing about ColdFusion, so I cannot give any example of how to this in Cold Fusion. Working with image is however more complex than other data types in SQL Server. I should also add that there is a second alternative recommended by many: store only the file path in SQL Server, and the file on disk. I'm been proposing this myself at times. The main advantange is that development becomes a lot simler. These days, however, I lean towards storing the files in the database, as this is more robust and easier to maintain. One single backup gets it all. -- Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se Books Online for SQL Server SP3 at http://www.microsoft.com/sql/techinf...2000/books.asp |
#4
| |||
| |||
|
|
Doesn't that have performance implications? |
![]() |
| Thread Tools | |
| Display Modes | |
| |