Hello
I am trying to get the metadata of tables by using a TZSQLMetadata. The environment is Firebird 2.1, Delphi XE2, Zeos 7.0.3.
MetadataType is set to mdColumns.
I have two issues with this setup:
When I want to query the columns for a table UV_VERGLEICHE by setting TableName to UV_VERGLEICHE, I also seem to get the columns for a table UV_VERGLEICHE_TARIFE in the same database. Is this a bug or a feature?
The second problem is, that I try to find all fields of the data type NUMERIC for getting precision and the decimal digits. If a field is declared NUMERIC(12,3) TZSQLMetaData returns NUMERIC for the field TYPE_NAME, as expected and also the correct values for COLUMN_SIZE and DECIMAL_DIGITS. But for fields declared as NUMERIC(5,2), it returns INTEGER for the field TYPE_NAME, the precision is empty (as it should be for an integer, but not for numeric) and the DECIMAL_DIGITS field is 2.
Is all this the way it should work? or is it supposed to work in another way?
Best regards,
Jan Baumgarten
How is TZMetadata supposed to work?
The stable tester's forum for ZeosLib 7.0.x series
Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.
Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Return to “ZeosLib 7.0 Stable Forum”
Jump to
- Links
- ↳ Bugtracker
- ↳ Downloads
- ↳ Subversion
- ↳ GitHub
- ZEOS Library - General
- ↳ Announcements
- ↳ Downloads
- ↳ Documentations
- ↳ Tutorials
- ↳ ZDBC (ZEOS Database Connectivity)
- ↳ User Contributions
- ↳ Feature Requests
- ↳ User Patches
- ZEOS DBO v8.x
- ↳ ZeosLib 7.3/8.0 Forum
- ZEOS DBO v7.x
- ↳ ZeosLib 7.2 Forum
- ↳ ZeosLib 7.1 stable Forum
- ↳ ZeosLib 7.0 Stable Forum
- ↳ ZeosLib 7.0 Beta Forum
- SQL Servers and Databases
- ↳ ADO
- ↳ DB2
- ↳ Firebird
- ↳ Interbase
- ↳ MS SQL Server
- ↳ MySQL
- ↳ Oracle
- ↳ OleDB (Microsoft Windows)
- ↳ ODBC
- ↳ PostgreSQL
- ↳ SQLite
- ↳ Sybase ASE
- Compiler related
- ↳ CBuilder / C++
- ↳ Lazarus / Freepascal
- ZEOS DBO V 6.x
- ↳ 6.6 - stable
- ↳ 6.5.1 (alpha) - 6.6.x (beta)
- ↳ 6.1.5
- ↳ Other 6.x Versions
- ↳ Bug Reports
- ZEOS DBO V 5.x
- ↳ 5.x Versions
- Software projects using ZeosLib
- ↳ SQLite Administrator
- Other and Non-Technical
- ↳ Off Topic