Skip to content

SQL: Casting a timestamp as a number uses secs instead of millis #37655

@matriv

Description

@matriv
SELECT CAST(hire_date AS LONG) FROM test_emp WHERE emp_no = 10001;

gives:

CAST(hire_date AS LONG)
-----------------------
520128000              

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions