Reputation: 753
I'm trying to get data based on a specific field (int) with a hex "input"
select * from table where id = to_base(7F1943EE,10)
how can I convert 7F1943EE to decimal value?
Upvotes: 0
Views: 1485
Reputation: 175
You want conv();
conv()
SELECT conv('7F1943EE', 16, 10);
Upvotes: 3