Change type of column SQL server

0

Is there any way to change the type of column in an SQL server?

I have seen this but it does not work because it does not save it correctly

link

The problem that I have is that all the text changes keep them as char, so when I select them, either forces me to use replace or else returns the contents of the field with a lot of spaces so that contenido . (without the point, I've put it so you can see what it returns)

I edit to say that the replace does not work either, since it eliminates all the spaces. The trim does not work on SQL server either ...

    
asked by Pavlo B. 23.01.2018 в 11:47
source

0 answers