How do you access Pervasive SQL metadata tables?

4k Views Asked by At

I am looking through Pervasive and on the internet and cannot find anything. I want something similar to information_schema.columns. Does that information exist in PSQL? If so, how do I access it? Thanks for taking the time to read my post =)

1

There are 1 best solutions below

2
On BEST ANSWER

It depends on the version of Pervasive.SQL you are using. If you are using a recent version (v9 or later), you can use the system stored procedures (http://docs.pervasive.com/products/database/psqlv11/wwhelp/wwhimpl/js/html/wwhelp.htm#href=ODBC/sysstorprocs.06.2.html) to get the column information.

If you are using PSQL v11, you can also use the System Catalog functions as documented at http://docs.pervasive.com/products/database/psqlv11/wwhelp/wwhimpl/js/html/wwhelp.htm#href=ODBC/catalogfuncs.09.01.html.