Hallo,
Du musst die Hostvariablen im String einbinden (alphanumerische Variablen müssen in Hochkomata gesetzt werden):
BirgittaPHP-Code:
/Free
MySQLStm = 'Update MyTable
Set MyFld1 = ' + HostVar1 + ' +
MyFld2 = ''' + HostVar2 + ''' +
Where ... ';
Exec SQL Execute Immediate MySQLStm;
/End-Free
Bookmarks