> I see people using Queries to store data, not simply as 
> receptacles of a SQL command. How is this different from 
> just using a structure? Why would you want to use a query 
> this way?

There are a couple of potential reasons.

1. Queries have been around longer, and the ability to manipulate them from
CF was introduced in CF 3.x. So, some people are simply used to using them
in this way.

2. A query is easier to work with in some ways, once it's been created. You
can simply loop over it with CFOUTPUT, for example.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
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.

Reply via email to