Can anyone tell me how to list all the foreign keys in a SQL Anywhere database ?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With