Example
SELECT BINARY "ExampleSite.com";Definition and Usage
The BINARY function converts a value to a binary string.
This function is equivalent to using CAST(value AS BINARY) .
Syntax
BINARY
valueParameter Values
| Parameter | Description |
|---|---|
| value | Required. The value to convert |
Technical Details
| Works in: | From MySQL 4.0 |
|---|