Created
September 20, 2019 20:40
-
-
Save trycf/3f3ce789c5f8a7ac81d23561108b77e3 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
<cfscript> | |
q = queryNew("name", "CF_SQL_VARCHAR"); | |
//data = listToArray("A,B,C,-A,-B,-C,- A,- B,- C,@A,@B,@C,*A,*B,*C,1A,1B,1C"); | |
data = listToArray("Copay Plan With Wellness,Copay Plan Without Wellness"); | |
count = arrayLen(data); | |
for (i = 1; i <= count; i++) | |
queryAddRow(q, {name: data[i]}); | |
q = queryExecute("SELECT * FROM q ORDER BY name", {}, {dbType: "query"}); | |
writeDump(var=q, metainfo=0); | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment