Created
September 5, 2022 11:01
-
-
Save trycf/68d138449a32eab68ca756d427cc3754 to your computer and use it in GitHub Desktop.
TryCF Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfset testQ = queryNew('test', 'CF_SQL_VARCHAR')> | |
<cfset queryAddRow(testQ)> | |
<cfset testQ['test'][1] = '2571'> | |
<cfset queryAddRow(testQ)> | |
<cfset testQ['test'][2] = '02571'> | |
<cfset queryAddRow(testQ)> | |
<cfset testQ['test'][3] = '1356'> | |
<cfset queryAddRow(testQ)> | |
<cfset testQ['test'][4] = '1659'> | |
<cfdump var="#testQ#" > | |
<cfquery dbtype="query" name="res"> | |
SELECT * from testQ | |
where test = '2571' | |
</cfquery> | |
<cfdump var="#res#"> | |
<cfquery dbtype="query" name="res"> | |
SELECT * from testQ | |
where test = '02571' | |
</cfquery> | |
<cfdump var="#res#"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment