Rich Werning
2008-02-19 15:32:53 UTC
We use an inhouse app to keep multiple databases in sync. It verifiies all
of the tables, columns, indexes and procedures. I've been maintaining and
enhancing this app for over 10 years now, from BDE in Delphi 2 to dbExpress
4 now, and I"m stumped. I can't figure out how to get the index definitions
from the new dbExpress 4 methods. I can get the indexes themselves (ie.
schema, name, table, uniqueness, etc), but I can't figure out how to
retrieve the columns that make up each index.
I know I could code my own sql using the databas system tables, but this
app supports Oracle, MsSql, Firebird, Informix and Interbase (possibly DB2
and PostgreSQL soon), so I'd rather not have to hard code each - using
dbExpress metadata makes more sense. I was able to do this in previous
versions of dbx, is the functionality now missing or am I missing something?
Thanks for your assistance
--
Rich Werning
TIP Technologies, Inc.
of the tables, columns, indexes and procedures. I've been maintaining and
enhancing this app for over 10 years now, from BDE in Delphi 2 to dbExpress
4 now, and I"m stumped. I can't figure out how to get the index definitions
from the new dbExpress 4 methods. I can get the indexes themselves (ie.
schema, name, table, uniqueness, etc), but I can't figure out how to
retrieve the columns that make up each index.
I know I could code my own sql using the databas system tables, but this
app supports Oracle, MsSql, Firebird, Informix and Interbase (possibly DB2
and PostgreSQL soon), so I'd rather not have to hard code each - using
dbExpress metadata makes more sense. I was able to do this in previous
versions of dbx, is the functionality now missing or am I missing something?
Thanks for your assistance
--
Rich Werning
TIP Technologies, Inc.