Re: [SQL] Feststellen, ob Feld existiert
Stimmt! where gibts nur bei DML nicht bei DDL!
Sorry. |
Re: [SQL] Feststellen, ob Feld existiert
Muß heißen
SQL-Code:
select count(*) from RDB$RELATION_FIELDS ' +
'WHERE (R.RDB$RELATION_NAME = ' + QuotedStr(strTable) + ') AND (R.RDB$FIELD_NAME = ' + QuotedStr(strField) + ')'; |
Re: [SQL] Feststellen, ob Feld existiert
Jetzt gehts,
danke für Eure Hilfe! :-D Gruß Frank |
Alle Zeitangaben in WEZ +1. Es ist jetzt 01:58 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz