Can tables have images in mysql | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can tables have images in mysql

22nd Sep 2016, 11:10 AM
neha
neha - avatar
4 Answers
+ 1
Hi Neha, Storing images in Databases can be troublesome. Although there's a possibility of uploading small sized images (<256K) in VARBINARY Columns. Although SQL Server 2008 provides an opportunity to store maximum size of 1M. Usually, this is not advisable as people mostly go for other media management techniques or integrated modules in CMS. Hope this helps.
22nd Sep 2016, 11:17 AM
superhead
0
okk
22nd Sep 2016, 4:05 PM
neha
neha - avatar
0
you must covert it in binary first
23rd Sep 2016, 1:46 PM
degreerichi
degreerichi - avatar
0
you can but it is not recommended, it is better to upload the images to the server the you store their names in the database
3rd Nov 2016, 11:06 PM
Hasan Al-Yazidi
Hasan Al-Yazidi - avatar