Domanda

Hi

I don't know how to split a dd/mm/yyyy column into dd as Col1, mm as Col2, yyyy as Col3. It is a string Field, so I can't use Select Convert() query.

È stato utile?

Soluzione

I found this as helpful when I was doing a similar thing a few days ago: T-SQL split string

Just play around with that code and you will get your solution!

Cheers!

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top