Supported SQL Statements and Extensions (Salesforce Driver) : SQL Expressions : Literals : Binary Literals

Binary Literals
Binary literals are represented with single quotation marks. The valid characters in a binary literal are 0-9, a-f, and A-F.
Example 
'00af123d'

© 2012 Progress Software Corporation and/or its subsidiaries or affiliates.