Question
Is this a bug in CF 8
I have the following code (just as a sample):
<CFQUERY NAME="MyProjects" DATASOURCE="DSN_Name">
select PID, PName from projects
</CFQUERY>
Assume the above query will bring only one record, I'm using CF 8 with latest hot fix, running on windows server 2003 machine, with MSSQL 2005.
Now if I try simply just to print this PID (PID is a primary key set by the table) as below:
<cfoutput>
<cfloop query="MyProjects">
#PID#
</cfloop>
<cfoutput>
Now to run the above code in a stress test with 10 concurrent users, this PID could bring NULL, while if I write it this way with same type of test it doesn't break and it doesn't bring NULL
<cfoutput>
<cfloop query="MyProjects">
#MyProjects.PID#
</cfloop>
<cfoutput>
Is this a bug in CF or maybe the JDBC drivers ? Is it scoping issue ? ... anyone notice this before ?.
<CFQUERY NAME="MyProjects" DATASOURCE="DSN_Name">
select PID, PName from projects
</CFQUERY>
Assume the above query will bring only one record, I'm using CF 8 with latest hot fix, running on windows server 2003 machine, with MSSQL 2005.
Now if I try simply just to print this PID (PID is a primary key set by the table) as below:
<cfoutput>
<cfloop query="MyProjects">
#PID#
</cfloop>
<cfoutput>
Now to run the above code in a stress test with 10 concurrent users, this PID could bring NULL, while if I write it this way with same type of test it doesn't break and it doesn't bring NULL
<cfoutput>
<cfloop query="MyProjects">
#MyProjects.PID#
</cfloop>
<cfoutput>
Is this a bug in CF or maybe the JDBC drivers ? Is it scoping issue ? ... anyone notice this before ?.
