I am trying to run a DB2 query in RazorSQL for getting the next val from a sequence but getting the following error. Can anybody plz help me out.
VALUES NEXT VALUE FOR SEQ_UPLOAD_MASTER;
ERROR: An undefined object or constraint name was detected.
DB2 SQL error: SQLCODE: -204, SQLSTATE: 42704, SQLERRMC: DB2INST1.SEQ_UPLOAD_MASTER Error Code: -204
Query = VALUES NEXT
VALUE FOR SEQ_UPLOAD_MASTER