Please change upper to lower in my earlier query :)

Qasim

On Mon, 7 Mar 2005 14:54:10 -0500, Qasim Rasheed <[EMAIL PROTECTED]> wrote:
> You can use something like this as Dave as already pointed out
> 
> select *
> from user_tables
> where upper(table_name) = 'devicestate'
> 
> 
> On Mon, 7 Mar 2005 13:03:18 -0500, Dave Carabetta <[EMAIL PROTECTED]> wrote:
> > On Mon, 07 Mar 2005 09:52:57 -0800, Charles Heizer <[EMAIL PROTECTED]> 
> > wrote:
> > > Hello,
> > > I have a query that gets all of the tables.
> > >
> > > <CFQUERY NAME="q_Tables" DATASOURCE="#settings.GlobalDS#">
> > >     SELECT TABLE_NAME
> > >     FROM USER_TABLES
> > > </CFQUERY>
> > >
> > > Now what I want to do is exclude a few tables from this query. I want to
> > > exclude a table called 'devicestate' and 'devicestatus'.
> > >
> > > I tried to add the following to the statement but it did not exclude.
> > >
> > > WHERE TABLE_NAME != 'devicestate'
> > >
> > > Any help would be much appreciated.
> > >
> >
> > This is because Oracle stores all its internal meta data in upper case
> > where it can. Change your query to DEVICESTATE and you should be good
> > to go.
> >
> > Regards,
> > Dave.
> >
> > 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197736
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to