I would like to DESCRIBE a table held on Netezza (so can see the variable formats, distribute on clause etc). I know this is possible (natively) using
\d <tablename>
However I am using SAS to connect (via ODBC).
Is this possible using SAS 9.1.3 code?
I do not know about Netezza, but if you can connect to it with SAS/ACCESS then you should be able to use DBMS specific command with SQL Pass-Through.
documentation here
I am not fully clear with your question, but I am assuming that you want to describe the table with nzsql command. If Yes, then try this nzsql -c "\d table_name"
You would need to access the system views that hold the information about the tables. You can't do this in one query, but you can do it with two.