Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Basic <CFQUERY> Question

Status
Not open for further replies.

scripter73

Programmer
Apr 18, 2001
421
0
0
US
Hi,

I know I should probably pick up a book instead, but I thought I'd ask the community.

Has anyone every seen a query statement as the following:

<cfquery name="getDaily" datasource="#request.dsn#">
-- #SCRIPT_NAME# #session.username#

Select statement.....

</cfquery>


In my years of using cfquery, I haven't seen the SQL preceded with the above. Can anyone explain its use?

Thanks in advance.

scripter73


Change Your Thinking, Change Your Life.
 
it's just a comment

perhaps it gets displayed in debug mode when the query dies

rudy
SQL Consulting
 
Oh, ok. Thanks.


Change Your Thinking, Change Your Life.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top