0

I am inserting an image from directory into Database:

Here's my attempt and this is working, but it only insert one record at a time:

insert into tbl_image(image) values(LOAD_FILE('E:/EDITED/Studio Session-012.jpg'))

I need to insert all images from edited folder together with each image name.

I am thinking that i need something like a loop to that folder so that i could get all images and insert into database.

Is this possible?

All Suggestions is appreciated.

Thanks in advance.

redzsol
  • 143
  • 15

0 Answers0