I'm trying to do this:
<cfquery name="GetAccountsAndStocks" dbtype="query">
Select STOCK, CUST_NUMBER
From GetExtractionData
WHERE CUST_NUMBER NOT LIKE '\''
</cfquery>
The cust_number
is either '
(for blank) or '
followed by a 10 character string.
I thought I should escape the '
, but it doesn't work. How can I do this?