problem about embedded-sql-Collection of common programming errors


  • Damith
    sql database embedded-sql
    Here is a part code form my embedded SQL programEXEC SQL IF EXISTS(SELECT * FROM table_name WHERE bool_condition) BEGIN … END;It gives the error An unexpected token “IF EXISTS(SELECT * FROM table_name ” was foundfollowing “BEGIN-OF-STATEMENT”. Expected tokens may include: “”. SQLSTATE=42601Can anyone tell what is wrong?

Web site is in building