Creating image table in MS SQL server 2005
Posted on 2009-05-07
What I have:
A network directory with image files (smal jpgs) stored in multiple sub-directories under the root.
What I need:
Code to create a table to store the image files in the table.
Table should have 4 columns:
ID ( a unique identifier)
Image File Name
UPC (This is just the image file name minus the .jpg extension)
Code to insert all the images into the table, insert the filenames, strip .jpg from filename for insert into UPC column.
Thanks in advance.