RE: display a list of table names

2000-09-24 Thread Michael 'Maxx' Porter

This may work for you..make sure you change the datasource parms..










#qu_tablenames.name#
#qu_tablenames.OBJECT_TYPE#
#qu_tablenames.OWNER#






At 03:03 PM 9/25/00 +1000, you wrote:
>To query for a list of table names :  run the 'sp_helpdb' system stored
>procedure.  (MSSQL only)
>
>Look at the system stored procedures entry in SQL server books online.  It
>is helpful.
>
>Jared.
>
> > -Original Message-
> > From: Michael 'Maxx' Porter [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, September 25, 2000 1:59 PM
> > To: CF-Talk
> > Subject: Re: display a list of table names
> >
> >
> > #queryname.ColumnList#
> >
> >
> > At 08:29 PM 9/24/00 -0700, you wrote:
> > >Justin,
> > >I am using MS SQL 7 and I want to do it remotely using cf
> > page.  Thanks.
> > >Nathan
> > >
> > >
> > >JustinMacCarthy wrote:
> > >
> > > > What DB nathan ???
> > > >
> > > > In MsSql you can use a StoredProc called   sp_tables
> > witch will return all
> > > > the tables in a DB including the sys tables
> > > >
> > > > In Access you can get at the table names from a systable
> > but I can remember
> > > > which one... hold on it's called MsysObjects ,but it has
> > alot of other
> > > stuff
> > > > in there. To view the table in access go to
> > tools->options->view and tick
> > > > hidden objects and system objects
> > > >
> > > > or use ado (search for ADO in the Allaire Forums)
> > > >
> > > > ~JustinMacCarthy
> > > >
> > > > - Original Message -
> > > > From: "Nathan Chen" <[EMAIL PROTECTED]>
> > > > To: "CF-Talk" <[EMAIL PROTECTED]>
> > > > Sent: Saturday, September 23, 2000 1:09 AM
> > > > Subject: display a list of table names
> > > >
> > > > > Hi everyone,
> > > > >
> > > > > For some reason I remember there is a CF tag that
> > allows to display all
> > > > > the table names in a database.  Is there a such tag or
> > is just my
> > > > > imagination?
> > > > >
> > > > > Nathan Chen
> > > > >
> > >
> > --
> > 
> > > > 
> > > > > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> > > > > To Unsubscribe visit
> > > >
> > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=list
>s/cf_talk or
> > > send a message to [EMAIL PROTECTED] with 'unsubscribe'
>in
> > > the body.
> > > >
> > > >
> > >
> > >
> >
>
>--
> > > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> > > To Unsubscribe visit
> > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
> > or send a message to [EMAIL PROTECTED] with 'unsubscribe'
> > in the body.
> >---
>---
> >Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> >To Unsubscribe visit
> >http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> >send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> >the body.
>
>end
>
>*
>Every child is an artist. The problem is how to remain an artist once he
>grows up. -Pablo Picasso, painter and sculptor (1881-1973)
>
>*
>Michael "Maxx" Porter
>Vice President
>Paradox Studios Inc.
>847-869-3673
>mailto:[EMAIL PROTECTED]
>
>----
>--
>Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
>To Unsubscribe visit
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
>send a message to [EMAIL PROTECTED] with 'unsubscribe' in
>the body.
>--
>Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
>To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or 
>send a message to [EMAIL PROTECTED] with 'unsubscribe' in 
>the body.

end
*
Every child is an artist. The problem is how to remain an artist once he
grows up. -Pablo Picasso, painter and sculptor (1881-1973)
*
Michael "Maxx" Porter
Vice President
Paradox Studios Inc.
847-869-3673
mailto:[EMAIL PROTECTED]

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: display a list of table names

2000-09-24 Thread Michael &#x27;Maxx&#x27; Porter

#queryname.ColumnList#


At 08:29 PM 9/24/00 -0700, you wrote:
>Justin,
>I am using MS SQL 7 and I want to do it remotely using cf page.  Thanks.
>Nathan
>
>
>JustinMacCarthy wrote:
>
> > What DB nathan ???
> >
> > In MsSql you can use a StoredProc called   sp_tables witch will return all
> > the tables in a DB including the sys tables
> >
> > In Access you can get at the table names from a systable but I can remember
> > which one... hold on it's called MsysObjects ,but it has alot of other 
> stuff
> > in there. To view the table in access go to tools->options->view and tick
> > hidden objects and system objects
> >
> > or use ado (search for ADO in the Allaire Forums)
> >
> > ~JustinMacCarthy
> >
> > - Original Message -
> > From: "Nathan Chen" <[EMAIL PROTECTED]>
> > To: "CF-Talk" <[EMAIL PROTECTED]>
> > Sent: Saturday, September 23, 2000 1:09 AM
> > Subject: display a list of table names
> >
> > > Hi everyone,
> > >
> > > For some reason I remember there is a CF tag that allows to display all
> > > the table names in a database.  Is there a such tag or is just my
> > > imagination?
> > >
> > > Nathan Chen
> > > 
> --
> > 
> > > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> > > To Unsubscribe visit
> > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> > send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> > the body.
> > >
> > >
> >
> > 
> --
> > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> > To Unsubscribe visit 
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk 
> or send a message to [EMAIL PROTECTED] with 'unsubscribe' 
> in the body.
>--
>Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
>To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or 
>send a message to [EMAIL PROTECTED] with 'unsubscribe' in 
>the body.

end
*
Every child is an artist. The problem is how to remain an artist once he
grows up. -Pablo Picasso, painter and sculptor (1881-1973)
*
Michael "Maxx" Porter
Vice President
Paradox Studios Inc.
847-869-3673
mailto:[EMAIL PROTECTED]

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: CFCASE/CFIF

2000-09-24 Thread Michael &#x27;Maxx&#x27; Porter

If you have more than 2 choices then SWITCH/CASE is faster.  The down side 
to SWTICH/CASE is CASE has to be constant it cannot be a varaiable.

At 11:24 PM 9/24/00 -0400, you wrote:
>Is CFCASE faster then CFIF?
>
>Also, execution time wise.. I'm hitting upwards of 500ms or so when I
>usually only hit about 100-200ms.. but I'm setting about 100CFparams in this
>so 500 I guess is expected.
>
>Is 500ms slow?  This is my dev machine.. p2 300, 256mb ram, win2k, mysql
>3.23.24.
>
>thanks!
>
>jake --more below.
>422 milliseconds
>   282 ms D\ADDPLAN.CFM
>   93 ms D\ADDPLANCASE.CFM
>   16 ms D\FOOTER.INC
>   0 ms D\HEADER.INC
>   31 ms STARTUP, PARSING, & SHUTDOWN
>
>
>
>--
>Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
>To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or 
>send a message to [EMAIL PROTECTED] with 'unsubscribe' in 
>the body.

end
*
Every child is an artist. The problem is how to remain an artist once he
grows up. -Pablo Picasso, painter and sculptor (1881-1973)
*****
Michael "Maxx" Porter
Vice President
Paradox Studios Inc.
847-869-3673
mailto:[EMAIL PROTECTED]

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.