Can anyone tell me how to list all the foreign keys in a SQL Anywhere database ?
Asked
Active
Viewed 2,414 times
1 Answers
3
Take a look at the SYS.SYSFOREIGNKEYS system table. It lists the primary table, foreign table, foreign key name, and the column(s) involved.
Disclosure: I work for SAP in SQL Anywhere engineering.

Graeme Perrow
- 56,086
- 21
- 82
- 121