Re: How to return all view names that begin with "vwX"
From: rob (rwc1960_at_bellsouth.net)
Date: 07/26/04
- Next message: Uri Dimant: "Re: Query Timeout Handling"
- Previous message: Narayana Vyas Kondreddi: "Re: Best way of doing a view..."
- In reply to: Kalen Delaney: "Re: How to return all view names that begin with "vwX""
- Next in thread: Mischa Sandberg: "Re: How to return all view names that begin with "vwX""
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 26 Jul 2004 06:56:05 -0400
Right... I should have known...
Thanks
"Kalen Delaney" <replies@public_newsgroups.com> wrote in message
news:%23lJrYDrcEHA.2944@TK2MSFTNGP11.phx.gbl...
> Hi Rob
>
> What version of SQL Server are you using? You should always let us know
when
> asking any question.
>
> If your server is case sensitive, INFORMATION_SCHEMA.TABLES must be upper
> case, and the column names must be upper case also,
>
> --
> HTH
> ----------------
> Kalen Delaney
> SQL Server MVP
> www.SolidQualityLearning.com
>
>
> "rob" <rwc1960@bellsouth.net> wrote in message
> news:W9YMc.27741$yF.17489@bignews2.bellsouth.net...
> > Hi Eric,
> >
> > When I run it in Query analyzer...
> > Server: Msg 208, Level 16, State 1, Line 1
> > Invalid object name 'information_schema.tables'.
> >
> > Thanks
> >
> > "Eric Sabine" <mopar41@hyott-maily.com> wrote in message
> > news:eRkajAqcEHA.3096@tk2msftngp13.phx.gbl...
> > >
> > > select *
> > > from information_schema.tables
> > > where
> > > table_name like 'vwX%'
> > > and table_type = 'view'
> > >
> > >
> > > hth
> > > Eric
> > >
> > >
> > > "rob" <rwc1960@bellsouth.net> wrote in message
> > > news:7bXMc.20198$GT3.15562@bignews6.bellsouth.net...
> > > > What is the SQL to return the name of all the views in a database
that
> > > begin
> > > > with "vwX" ?
> > > >
> > > > Thanks
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
- Next message: Uri Dimant: "Re: Query Timeout Handling"
- Previous message: Narayana Vyas Kondreddi: "Re: Best way of doing a view..."
- In reply to: Kalen Delaney: "Re: How to return all view names that begin with "vwX""
- Next in thread: Mischa Sandberg: "Re: How to return all view names that begin with "vwX""
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|