SQL datetime from incorrect char(10)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • oembuilders@gmail.com

    SQL datetime from incorrect char(10)


    Hi all,

    Would anyone know a way to convert a char(10) in format 'm/d/yyyy' to
    'mm/dd/yyyy', so I can convert the column to datetime format.


    Thanks

  • oembuilders@gmail.com

    #2
    Re: SQL datetime from incorrect char(10)

    found my issue. Had 4 basd values in date column from our import. Used
    following to
    discover this.
    SELECT * FROM (tableNAme)
    WHERE ISDATE([ColumnName])=0

    Comment

    Working...