Answers for "sql float to int"

SQL
0

convert float to int sql

Better to use CAST INT/CEILING/FLOOR:

SELECT CEILING(1235.53)
SELECT FLOOR(1235.53)
SELECT CAST(1235.53 AS INT)
Posted by: Guest on March-03-2021
9

sql cast as

CAST('2006-04-25T15:50:59.997' AS date) AS Date,  

CAST('2006-04-25T15:50:59.997' AS time) AS Time,  

CAST('2006-04-25T15:50:59.997' AS datetime) AS Datetime,
Posted by: Guest on August-25-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language