Skip to content
Advertisement

Trying to Enter DateTime Data into Date Column, Date data is in two different formats

I get this error:

Conversion failed when converting date and/or time from character string.

Advertisement

Answer

You should convert varchar to Date along with REPLACE by this way

Live demo here

Output

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement