Image to SQL server

bungpeng

Well-known member
Joined
Sep 10, 2002
Messages
906
Location
Malaysia
May I know how do I save the file (image, excel file...) to SQL server? Where can I find those info?

Thank you.
 
You can create a column of type "image", which can store binary data in sizes ranging from 0 bytes to 2 gigabytes.

This isnt standard practice however, since it can bloat the database quite quickly. Instead, store the files in a directory.
 
I know there is a data type call "image", but how do it convert my image file to binary format and insert into database? any example or references? TQ
 
Back
Top