Subject | Re: [ib-support] Metadata check BEFORE alter |
---|---|
Author | Paul Reeves |
Post date | 2001-10-17T11:22:11Z |
rod@... wrote:
limited on this basic point. It may be possible to get round this limitation
with some ingenuity, but that ingenuity may be better spent using another tool
or mechanism to solve the problem.
Paul
--
Paul Reeves
http://www.ibphoenix.com
taking InterBase further
>There isn't an obvious way you can do this with isql scripts. ISQL is really
> Its easy enough checking to see if there exists a field in a table.
>
> Select count(*) from rdb$relation_fields ...etc
>
> But how can I NOT alter the table (ie add a new field) if the field
> exists ? (written as a SQL statement using iSQL IB6)
>
limited on this basic point. It may be possible to get round this limitation
with some ingenuity, but that ingenuity may be better spent using another tool
or mechanism to solve the problem.
Paul
--
Paul Reeves
http://www.ibphoenix.com
taking InterBase further