Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
billpg
on Jan 12, 2022
|
parent
|
context
|
favorite
| on:
In MySQL, use “utf8mb4” instead of “utf8” (2016)
I wonder if you can do LIKE with a VARBINARY value.
"SELECT * FROM Users WHERE Name LIKE @namePattern" @namePattern = UTF8.GetBytes("%billpg%")
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
"SELECT * FROM Users WHERE Name LIKE @namePattern" @namePattern = UTF8.GetBytes("%billpg%")