Answer the question
In order to leave comments, you need to log in
How to convert string (in timestamp string) to date in ms sql?
Good afternoon. There is a table:
--------------------------------------------
|id (int)|name (varchar) | date (varchar) |
|------------------------------------------|
| 1 |Nikolay | 14496658 |
| 2 |Artem | 14498711 |
--------------------------------------------
SELECT
CAST(CAST(names.date AS TIMESTAMP) as DATE) as create_date,
name as profile_name,
id as id_name
FROM names
Answer the question
In order to leave comments, you need to log in
What does "to no avail" mean? Such a request will return the data to you, it will be 1900.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question