8
I’m working with Sql Server
, and I need to make a trim
as a result of a consultation.
I did it this way:
select TRIM(NUMERO)
from ENDERECO
In the Sql Server Management
the command is "recognized", staying in the coloring of a valid command, but returned the following error:
'TRIM' is not a recognized built-in Function name.
I managed to solve with the following command:
select RTRIM(LTRIM(NUMERO))
from ENDERECO
But I needed to use two functions that in my view could be solved with only one function, and the command trim
, there is some way to "install" it, because the Sql Server Managemente
the colore?
What version of
SQL Server
you are using?– Homer Simpson
Which version of sql server?
– rray