Probeer;
EXEC('UPDATE '+ @tablename +
' SET filepath = '''+ @pathonlocal + ''' + file_name + '''+'.'+''' + file_ext')
Gelijk aan;
UPDATE [YourTable] SET filepath = 'YourPath' + file_name + '.' + file_ext
Probeer;
EXEC('UPDATE '+ @tablename +
' SET filepath = '''+ @pathonlocal + ''' + file_name + '''+'.'+''' + file_ext')
Gelijk aan;
UPDATE [YourTable] SET filepath = 'YourPath' + file_name + '.' + file_ext