Select By ID

  • + 3 comments

    Can anyone help me solve this? I used the below query in DB2 and ened up seeing the error message

    Select * from CITY where Id = 1661;

    Error: 1661 Sayama JPN Saitama 162472 DB21034E The command was processed as an SQL statement because it was not a valid Command Line Processor command. During SQL processing it returned: SQL0104N An unexpected token "database" was found following "k line. */ uncatalog". Expected tokens may include: "JOIN ". SQLSTATE=42601