> You can try putting a ; after the lines i.e. > Update <table> set <field>=<dmtl data> where <field>=<dtml data>; > Update <table> set <field>=<dmtl data> where <field>=<dtml data> <dtml-var sql_delimiter> works much better