cfquery
Using CFQUERY and CFSELECT to pull multiple values based on selection
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[详细]
2023-02-06 09:17 分类:问答How can one get a list of all queries that have run on a page in ColdFusion 9
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[详细]
2023-01-31 17:11 分类:问答Ext JS Dependent combo box
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[详细]
2023-01-24 23:54 分类:问答Using cfqueryparam with a ColdFusion HQL query
I am using a HQL query to get a bunch of state objects like so: <cfquery name=\"LOCAL.qStates\" dbtype=\"hql\">[详细]
2023-01-24 07:33 分类:问答Building up a coldfusion query issue with LIKE statement
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[详细]
2023-01-16 14:25 分类:问答Nesting queries in CF
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.[详细]
2023-01-07 01:20 分类:问答Building a select list inside a loop
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?[详细]
2023-01-05 18:46 分类:问答Compare DateTime values by Min and not by Day in Coldfusion CFQUERY
This is the query that I have. <cfquery name=\"qryname\" datasource=\"dsn\"> UPDATE ticketlist SET status= <cfqueryparam cfsqltype=\"CF_SQL_VARCHAR\" value=\"Expired\">[详细]
2023-01-05 09:11 分类:问答Using cachedwithin attribute inside cfquery
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[详细]
2023-01-03 15:43 分类:问答SQL Injection Protection for dynamic queries
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[详细]
2023-01-02 15:29 分类:问答