Prova;
EXEC('UPDATE '+ @tablename +
' SET filepath = '''+ @pathonlocal + ''' + file_name + '''+'.'+''' + file_ext')
Lika med;
UPDATE [YourTable] SET filepath = 'YourPath' + file_name + '.' + file_ext
Prova;
EXEC('UPDATE '+ @tablename +
' SET filepath = '''+ @pathonlocal + ''' + file_name + '''+'.'+''' + file_ext')
Lika med;
UPDATE [YourTable] SET filepath = 'YourPath' + file_name + '.' + file_ext