1
I need to concatenate 3 columns in a row using SQL Server, when I concatenate it returns this value:
Would have to stay:
Moura 105ah ground floor
I’ve seen some examples on the internet, but I couldn’t connect them to my problem, someone can help me?
Follow the Query I’m doing:
SELECT CONCAT(TA.asset, TA.techCharacteristic, TA.VALUE, T.meterUnit) AS COLUNAS
FROM AssetTechChar AS TA
INNER JOIN TechCharacteristic AS T
ON TA.techCharacteristic = T.techCharacteristic
WHERE TA.company = 'TFLM'
AND asset='F.SP.SJIR.JI.FCC1.BAT01'
AND TA.techCharacteristic IN ('BAT-003 ', 'BAT-005 ','BAT-002 ')
Someone can help me?
What version of yours
SQL Server
?– Sorack
The version of my SQL Server is 2017 @Sorack
– Lucas Tadeu Egídio Arruda
These values you have listed are in different fields or is the same field in different lines?
– anonimo