| From: | Raghavendra <raghavendra(dot)rao(at)enterprisedb(dot)com> |
|---|---|
| To: | itishree sukla <itishree(dot)sukla(at)gmail(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Views |
| Date: | 2013-05-09 12:02:33 |
| Message-ID: | CA+h6AhgeRQHgS5yWN-VA2mod6NaazOk5+eouMD2NV5AAVm5G1g@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Thu, May 9, 2013 at 4:33 PM, itishree sukla <itishree(dot)sukla(at)gmail(dot)com>wrote:
> Hi all,
>
> Is there any way, i can know what all views are there on a table by a sql
> query?
>
>
> Regards,
> Itishree
>
Try this...
select table_name,view_name from information_schema.view_table_usage where
table_name='table_name';
---
Regards,
Raghavendra
EnterpriseDB Corporation
Blog: http://raghavt.blogspot.com/
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ian Lawrence Barwick | 2013-05-09 12:37:40 | Re: Upgrading postgresql from version 7.4.3 |
| Previous Message | sumita | 2013-05-09 11:28:19 | FATAL: database "a/system_data" does not exist |