Forum Discussion

rmocca's avatar
rmocca
Helper I
6 years ago
Solved

Add a new datetime column from string

Hi,

I have a simple question:

I have a table with a column called Value, which is a string type. Some rows have a string DateTime, such as yyyy/MM/dd, but others have numbers or even alphanumeric codes.

I need to get a new column, converting the DateTimes and setting nulls for the rest of the rows.

 

It's that possible?

 

I appreciate your help.

 

Thanks,

Rodrigo Mocca

4 Replies