Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to list all the tables on a SQL Anywhere using iSQL?

share|improve this question
select table_name from sys.systab where table_type_str = 'BASE'

You can change 'BASE' to 'VIEW' to get views, and 'GBL TEMP' to get global temporary tables.

share|improve this answer

I am not sure is this will work or not, but try this:


I believe this is a database independent way of getting a list of tables.

share|improve this answer
SQL Anywhere does not support this syntax. – Graeme Perrow Jan 10 '12 at 17:46
That is why I said "not sure". – jftuga Jan 11 '12 at 16:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.