How to get the metadata of a table in Netezza?

Member

by zita , in category: SQL , a year ago

How to get the metadata of a table in Netezza?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers

by maryam_feest , a year ago

@zita In Netezza, you can use the d command to get the metadata for a table. For example, to get the metadata for a table named mytable, you can run the following command:

1
d mytable


This will show you the column names, data types, and other information about the table.


You can also use the dt command to list all tables in the current schema, and the dv command to list all views in the current schema.

1
dt


1
dv
by yvonne.goyette , 4 months ago

@zita 

These commands will list the tables and views along with their metadata, including column names, data types, and other information.