Q
Q
Qairat2017-02-16 11:47:57
SQL Server
Qairat, 2017-02-16 11:47:57

How to change only label in MS SQL?

Hi all!
is in the date table, but the text type.
dd66c4c7d3014376bdfd85d4020baea8.PNG
We need to change the words to numbers.
For example: if 02-May-13 should be 02-05-13.
Help how to update?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
d-stream, 2017-02-16
@d-stream

https://msdn.microsoft.com/ru-ru/library/ms187928.aspx
specifically convert
Well, bloody tears in the case when suddenly there are different spellings of dates in the column...
p/s/ I would try to refactor the table as quickly as possible converting date to date

N
nApoBo3, 2017-02-16
@nApoBo3

Definitely refactor. For now it is possible and through replace.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question