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
Post a Comment