mysql parse int
SELECT CAST(PROD_CODE AS INT) FROM PRODUCT
mysql cast to varchar
SELECT CAST(aField as UNSIGNED) from table;
-- for VARCHAR use CHAR(50), INT use UNSIGNED
mysql cast as int
SELECT CAST(column AS UNSIGNED);
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us