I believe if you have the option, that querying the database will be faster.
CF can maintain or even cache the results of, a query... it cannot maintain
an open connection to a file. There are many parameters that could effect
this, though.
~Simon
-----Original Message-----
From: Robert M. Saxon, Jr. [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 29, 2000 3:56 PM
To: CF-Talk
Subject: DB vs. text file
I am thinking about populating a select box with a list from a text file.
Is that faster than querying a database, or should I import the text file
into a table?
I'm sure there is no absolute answer to this question, but generalities are
acceptable.
Thanks,
Rob
----------------------------------------------------------------------------
--
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.
------------------------------------------------------------------------------
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.