Answers for "cast mysql string"

SQL
2

cast string to datetime mysql

SELECT STR_TO_DATE('2017-03-13T14:39:01.123','%Y-%m-%dT%H:%i:%s.%f');
Posted by: Guest on August-07-2020
1

mysql cast as int

SELECT CAST(column AS UNSIGNED);
Posted by: Guest on September-05-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language