tags:

views:

65

answers:

1
+1  Q: 

Netezza Sql query

Hi,
I have a list of tables in a Netezza database and I want to get the name of primary key for each of the tables.

Can anyone provide me the query.

A: 

You can use this query.

SELECT * FROM _v_relation_keydata;
Winder
Thanks Winder !, I will look into it.
Akshay