Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trycf/1fea9bdfd6e31a100159c2cd4be31899 to your computer and use it in GitHub Desktop.
Save trycf/1fea9bdfd6e31a100159c2cd4be31899 to your computer and use it in GitHub Desktop.
TryCF Gist
<cfscript>
employees = queryNew( 'name,foo', 'varchar,varchar',[
['Brad','cm_4test5'],
['Luis','yeah']
]);
actual = QueryExecute(
sql = "SELECT * from employees WHERE foo LIKE 'cm_[0-9]%[0-9]'",
options = { dbtype: 'query' }
);
writedump( actual );
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment