I have thousands of photos in my hard-disk. All photo file-names consists of 4 parameter :
'7 digit number ' + '-' + '3 digit number ' + '.gif'
for instance : 1000091-356.gif
I'm wondering how to write a query in order to use 3 digit number
of file name as a paramer for updating my table which primary key match the 7 digit number
of the file name.
By another word a query which act like : update myTable set col2 = 356 where col1=1000091
for all photos .