May 26, 2003 #1 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.
May I know how do I save the file (image, excel file...) to SQL server? Where can I find those info? Thank you.
May 26, 2003 #2 Derek Stone Exalted One Joined Nov 17, 2002 Messages 1,878 Location Rhode Island User Rank *Expert* 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.
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.
May 26, 2003 #3 bungpeng Well-known member Joined Sep 10, 2002 Messages 906 Location Malaysia 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
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
May 26, 2003 #4 Robby Moderator Joined Nov 17, 2002 Messages 3,461 Location Montreal, Ca. User Rank *Expert* I would follow Dereks advice and store the files in a directory, if you insist on storig them in the DB then this may help... It get the image from the user (its for ASP.NET) http://www.computerhelp.forum/showthread.php?s=&threadid=69196&highlight=image
I would follow Dereks advice and store the files in a directory, if you insist on storig them in the DB then this may help... It get the image from the user (its for ASP.NET) http://www.computerhelp.forum/showthread.php?s=&threadid=69196&highlight=image
May 26, 2003 #5 bungpeng Well-known member Joined Sep 10, 2002 Messages 906 Location Malaysia TQ, this is what I want. May I know why you comment This isnt standard practice? In what sense?
May 26, 2003 #6 Robby Moderator Joined Nov 17, 2002 Messages 3,461 Location Montreal, Ca. User Rank *Expert* The answer lies in the rest of Dereks sentence, "...since it can bloat the database quite quickly"