Hi nanfak,
There is an alternative, if your are using MySQL than there is function "select conv('3634',10,36)" which does the trick. so you can implement the solution using triggers, stored procedures or views.
Example : stored Proc Solution
DELIMITER…