Skip to main content
1 vote
2 answers
157 views

I have a query where it passes the list value with comma separation using cfquery param. instead of index seek it is using index scan. I observed this is because of nvarchar 4000. But the same query ...
sangeeta bhat's user avatar
0 votes
1 answer
532 views

I'm trying to manipulate my query params directly without any library (like react-router- because i don't need them now). The problem is when i try to add query params using this codes: let url = new ...
Amin.Qarabaqi's user avatar
2 votes
1 answer
693 views

As you may be aware that when we dump cfquery, it dumps the cfqueryparam values into SQLPARAMETERS of the dump. It's been alright to replace a couple of parameters manually. However, lately I've ...
akashb's user avatar
  • 111
1 vote
1 answer
614 views

I have a input checkbox field where user can select multiple checkboxes in a form, and depending on what they select, it will create a string of id's like 10,14,35,47, and that will be submitted to ...
Joel's user avatar
  • 41
2 votes
1 answer
91 views

My simple query: <CFQUERY name="thisRecipePreps" dbtype="hql"> FROM recipeItems r WHERE r.recipe = <cfqueryparam value="#thisrecipeid#"> AND r....
Robert Santen's user avatar
0 votes
1 answer
420 views

I have a simple update query, only one table involved. I first wrote this without using CFQUERYPARAM and kept getting errors when the integer fields (zip,plus 4, etc) were null. So, I rewrote using ...
D Wright's user avatar
0 votes
1 answer
137 views

I'm trying to loop over tableList and run a query for each table getting the count from each. Not all of the code is included but the problem is the cfqueryparam. When I run this code right now the ...
Cole Perry's user avatar
0 votes
2 answers
210 views

I have QueryExecute( SELECT * FROM dbo.pages WHERE ID IN ( :id ) ... , { id : { value = rc.id, cfsqltype : "cf_sql_integer, list : true } } Almost all the time this ...
James A Mohler's user avatar
0 votes
0 answers
901 views

I have function that takes few arguments then query delete will be executed. Right after that I call another function that will update table with time stamp and user id. The code that I use looks like ...
espresso_coffee's user avatar
2 votes
1 answer
2k views

I started using cfscript in my projects recently. While working with cfscript I used queryExecute() function to run queries. In few situations there was more than one query in the same function. These ...
espresso_coffee's user avatar
0 votes
1 answer
339 views

I'm working for a large company that has a ton of ColdFusion web applications. They're requiring all these apps to transition to new platforms/languages. One of these applications is quite large ...
Chris's user avatar
  • 254
3 votes
2 answers
723 views

I am using ColdFusion 10 Update 23 with MySQL database. When I make a change to a script where I am using cfqueryparm the script causes this error message: "The type for attribute value of tag ...
GThurmon's user avatar
3 votes
3 answers
1k views

First, the code. I'm making a struct of queries: <cfset myQueryStruct = { qone = "select * from t1 where column = <cfqueryparam cfsqltype='cf_sql_varchar' value='#arguments.a1#'>", qtwo = "...
Binod Kalathil's user avatar
0 votes
3 answers
737 views

I have a set of radio buttons that I would like to validate on the server side. First I created structure that has the argument names for the key. Then each name is set to different values that the ...
espresso_coffee's user avatar
2 votes
1 answer
355 views

I have few form fields where user can enter whole numbers, decimal numbers and both types can be positive or negative. In other words they can enter something like this: 1 or 0.9 or 5.6745 or -10 or -...
espresso_coffee's user avatar

15 30 50 per page
1
2 3 4 5