Well, granted that a query name is the defining key for everything else
about a query for example:

query.recordcount
query.thisfield
etc...


I don't think that there is a higher level field that give out the name of
queries that are running such as query.listofqueriesthathave run.  A query
name should A) Be a given in code or B) If the name is dynamic be deviated
in the same way that you came up with that dynamic name (unless of course
you're making random query names somehow, but I don't see the point of
that).

Gregory Harris
[EMAIL PROTECTED]

-----Original Message-----
From: Jon Hall [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 20, 2001 1:27 PM
To: CF-Talk
Subject: How can I get a query's name?


Here is a good one. Is it possible to retrieve a queries name from the query
itself?

CF obviously knows lots of things about the query, since it spits out the
queryname and the sql in the debug output. Is this stuff exposed in any way?
Am I having a brainfart? This stuff should be available...

jon

______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to