0

(select INCREMENT from TEST_DB.INFORMATION_SCHEMA.SEQUENCES

Why this is not working but it working in other properties retrieval

d.hoeffer
  • 592
  • 3
  • 13

1 Answers1

2

Increment is a reserved word, therefore you need to write your query as this:

select "INCREMENT" from TEST_DB.INFORMATION_SCHEMA.SEQUENCES 
Gokhan Atil
  • 9,278
  • 2
  • 11
  • 24