Zeos ver. 6.6.2 rc and D5, D6
function TZSybaseDatabaseMetadata.GetTableTypes: IZResultSet;
...
Before,
Bad result (errors):
Result.BeforeFirst;
with GetStatement.ExecuteQuery(
{Format('select c.colid, c.name, c.type, c.prec, c.scale, c.status'
+ ' from syscolumns c inner join sysobjects o on (o.id = c.id)'
+ ' where o.name = "%s" order by colid',
[TableNamePattern])) do}
After,
Best result!!!:
Format('select c.colid, c.name, c.type, c.prec, c.scale, c.status'
+ ' from syscolumns c inner join sysobjects o on (o.id = c.id)'
+ ' where o.name = %s order by colid',
[AnsiQuotedStr(TableNamePattern, '''')])) do
begin
while Next do ...
[bug_fixed] Zeos 6.6.2 rc: Invalid column name ASE 12.5.3
Moderators: gto, cipto_kh, EgonHugeist