Re: How to return all view names that begin with "vwX"
From: Kalen Delaney (replies_at_public_newsgroups.com)
Date: 07/26/04
- Next message: Joe Celko: "Re: Efficiency of more flexible where clauses"
- Previous message: Andrew J. Kelly: "Re: hind indexes"
- In reply to: rob: "Re: How to return all view names that begin with "vwX""
- Next in thread: rob: "Re: How to return all view names that begin with "vwX""
- Reply: rob: "Re: How to return all view names that begin with "vwX""
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 25 Jul 2004 18:35:28 -0700
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: Joe Celko: "Re: Efficiency of more flexible where clauses"
- Previous message: Andrew J. Kelly: "Re: hind indexes"
- In reply to: rob: "Re: How to return all view names that begin with "vwX""
- Next in thread: rob: "Re: How to return all view names that begin with "vwX""
- Reply: rob: "Re: How to return all view names that begin with "vwX""
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|