@wquery name matches multiple conditions
Posted: Tue Jun 07, 2016 11:21 am
I want to wquery a database to find all object whose name matches "AUBPSF?????.a" but not "AUBPSF??000.a".
I can do this with no problem using the query functionality in the GUI, putting
I have tried:
I have tried:
Is there an escape character for strings, or am I going about this the wrong way? Thanks.
I can do this with no problem using the query functionality in the GUI, putting
in the WHERE field, but I need to do this programmatically.name matches "aubpsf?????.a and not aubpsf??000.a"
I have tried:
Code: Select all
string tt = @wquery("acperm", "name matches "aubpsf?????.a and not aubpsf??000.a"") but this throws an error because of the nested double quotes. Code: Select all
string tt = @wquery("acperm", "name matches aubpsf?????.a and not aubpsf??000.a") but this throws an error because of the ambiguity of the and operator.