3 Replies Latest reply on Jul 3, 2011 12:50 AM by $Nith$

    Problem with SQL-Syntax in Workbench

    Hristo Trajkovski

      can you help me to solve this problem:

       

      insert into testhristo (
          firstName,
          surName,
          federateState,
          email
      ) values (?,?,?,?)

       

      insert into kunde (
          testPersonID, statusOfHearing
      ) values (last_insert_id(), ?)

       

      Exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insert into kunde (
          testPersonID, statusOfHearing
      ) values (last_insert_id(),' at line 8