Insert image
-
Hi all In my program i want to get image from users and insert it into mydatabase . Now i want to know how can i insert image into database? Thx alot for your attention.
You can conduct a search on "blob and database". An image can be treated as a blob (binary large object). Database tables can have blob fields. They can be used to hold images.
-
You can conduct a search on "blob and database". An image can be treated as a blob (binary large object). Database tables can have blob fields. They can be used to hold images.
-
Thx for your reply. I can't understand your answer. I want to insert an image to sql server database. How can i do it?
It's easy. Take a look at this: http://www.databasejournal.com/features/mssql/article.php/3719221/Storing-Images-and-BLOB-files-in-SQL-Server.htm[^]