`SELECT ROW_NUMBER() OVER(),*FROM table` ?? and `SELECT ROW_NUMBER() OVER() FROM table` this will also yields result if you've rows in that table,BTW what you're trying to get ??
– Vivek S.Dec 23 '15 at 05:23
8.3 is long out of support. You should upgrade to a maintained version **now**.
– Dec 23 '15 at 07:19
Thanks for everyone. Finally I can find a solution CREATE TEMP SEQUENCE foo;
SELECT nextval('foo') can fix this issues
– zHepHirotHzDec 24 '15 at 06:59