Subject | Re: Views |
---|---|
Author | ben_ata |
Post date | 2003-12-31T09:40:45Z |
--- In firebird-support@yahoogroups.com, "nols_smit" <nols@g...> wrote:
SELECT * FROM RDB$VIEW_RELATIONS
to get the source:
SELECT rdb$view_source FROM rdb$relations
WHERE rdb$relation_name = '<view-name>'
Thomas
> Hi,To get all views:
>
> I would like to programmatically extract the names of the views in a
> database and then extract each view's syntax as strings.
>
> Any suggestions?
>
>
> Regards,
SELECT * FROM RDB$VIEW_RELATIONS
to get the source:
SELECT rdb$view_source FROM rdb$relations
WHERE rdb$relation_name = '<view-name>'
Thomas