Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to list all views that was created.

384 views
Skip to first unread message

Dorn Bhechsonggram

unread,
May 6, 2003, 1:10:59 PM5/6/03
to

This is a multi-part message in MIME format.

------=_NextPart_000_03AF_01C313B7.CAB2E350
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I wonder if there is anything like "info tables" but for showing views =
that was created in the database.

Thank you.
------=_NextPart_000_03AF_01C313B7.CAB2E350
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I wonder if there is anything like =
"info tables"=20
but for showing views that was created in the database.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thank you.</FONT></DIV></BODY></HTML>

------=_NextPart_000_03AF_01C313B7.CAB2E350--


Dorn Bhechsonggram

unread,
May 6, 2003, 1:10:59 PM5/6/03
to

Jack Parker

unread,
May 6, 2003, 3:34:14 PM5/6/03
to

select tabname from systables where tabtype = 'V' for one

If you need the text of the view, then you can either use dbschema, or take
the tabid from systables and get viewtext from sysviews:

select tabid, seqno, viewtext from sysviews where tabid in (select tabid
from systables where tabtype = 'V') order by 1,2;

cheers
j.

----- Original Message -----
From: "Dorn Bhechsonggram" <do...@bakcommunications.com>
To: <inform...@iiug.org>
Sent: Tuesday, May 06, 2003 1:10 PM
Subject: how to list all views that was created.


I wonder if there is anything like "info tables" but for showing views that

Jack Parker

unread,
May 6, 2003, 3:34:14 PM5/6/03
to
0 new messages