sql - query to find primary index for a progress table (openegde V11.6) -


in previous versions of progress database (9.x, 10.x) below query works fine find primary index of table.

select "_index-name"    pub."_index" in, pub."_file" fi    fi."_file-name"='tablename'    , in."rowid" =     (select"_file"."_prime-index"      pub."_file" fs      fs."_file-name"='tablename'); 

now rowid has been removed on progress v11.6, there sql query fetch primary index of progress database table through ojdbc?

this working in 11.6 well. see following query:

select "_index-name" pub."_index" idx, pub."_file" fi fi."_file-name"='customer' , idx.rowid =(select"_file"."_prime-index" pub."_file" fs fs."_file-name"='customer');   _index-name -------------------------------- custnum  

Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -