使用 CAST
函数将 STRING
转为 BIGINT
:
SELECT CAST('00321' AS BIGINT) FROM table;
As a BIGINT
it will show on the screen and in delimited text files as 321
.
使用 CAST
函数将 STRING
转为 BIGINT
:
SELECT CAST('00321' AS BIGINT) FROM table;
As a BIGINT
it will show on the screen and in delimited text files as 321
.