Hi,
is there a way to get the Columntypes of a Table?
I need the Types like (varchar, int, ...) of column. Can anyone help me?
Thanks
Michael
How to get the Columntypes of a tabel
Moderators: gto, EgonHugeist
-
- Fresh Boarder
- Posts: 5
- Joined: 13.01.2010, 08:44
-
- Fresh Boarder
- Posts: 5
- Joined: 13.01.2010, 08:44
I don't understand why do you need that but, correct me if I'm wrong, as every database manager uses its own SQL dialect, and Zeos tries to keep separate both kind of types, providing public access only for those you'll actually need to write an application (which are the Delphi ones), I'm afraid that the easiest way of doing that is accessing the metadata of the underlying database directly using SQL code... Which is, of course, not portable.