Spróbuj;
EXEC('UPDATE '+ @tablename +
' SET filepath = '''+ @pathonlocal + ''' + file_name + '''+'.'+''' + file_ext')
Równe jak;
UPDATE [YourTable] SET filepath = 'YourPath' + file_name + '.' + file_ext
Spróbuj;
EXEC('UPDATE '+ @tablename +
' SET filepath = '''+ @pathonlocal + ''' + file_name + '''+'.'+''' + file_ext')
Równe jak;
UPDATE [YourTable] SET filepath = 'YourPath' + file_name + '.' + file_ext