Reputation: 59
I want to get a list of contraint definition in my schema. F.e. in postrge we can get from pg_get_constraintdef(c.oid, true) or in Oracle from DBMS_METADATA.get_ddl (object_type => 'INDEX',name => AI.INDEX_NAME, schema => AI.OWNER)
Is there any options to get it from SAP HANA?
Upvotes: 0
Views: 616
Reputation: 1193
SAP HANA provides system views to retrieve this kind of information. In your case, you should have a look at system view CONSTRAINTS.
Upvotes: 2