I have a CFQUERY pulling three columns. The following CFSELECT allows the user to make a selection from various results based on the \'display\' parameter, and sets the value to the \'value\' paramete
I would like to add some code to my Application.cfc onRequestEnd function that, if a certain application variable flag is on, will log query sql and execution time to a database ta开发者_运维百科ble.T
I am new to extJS, and trying to implement the following functionality: I have two select drop down menus, transformed using extJS. How can I make sure that if a value in one combo box is selected, t
I am using a HQL query to get a bunch of state objects like so: <cfquery name=\"LOCAL.qStates\" dbtype=\"hql\">
I 开发者_如何学编程am trying to build a dynamic sql statement with this line <cfset SQL = \"SELECT url, MONTH(event_date) AS months, YEAR(event_date) AS year, event_date, title from events where t
I\'m using this code to display a list of platforms. If a platformID was specified upon entering the page, I would like to create a list of genres underneath the specified platform.
How do you NOT use a query of queries inside a loop to solve the problem of having to build a select list for each row?
This is the query that I have. <cfquery name=\"qryname\" datasource=\"dsn\"> UPDATE ticketlist SET status= <cfqueryparam cfsqltype=\"CF_SQL_VARCHAR\" value=\"Expired\">
When you use the cachedwithin attribute in a cfquery how does it store the query in memory. Does it store it by only the name you assign to the query? For example, if on my index page I cache a query
The typical controls against SQL injection flaws are to use bind variables (cfqueryparam tag), validation of string开发者_如何学运维 data and to turn to stored procedures for the actual SQL layer. Thi