SELECT CONCAT ( ERROR, CAST(Campo1 AS nvarchar) , 'Pos', CAST(campo2 AS nvarchar), 'Pro',CAST(campo3 AS nvarchar) ) AS Result;Result FROMTablaT1
INNER JOIN tabla2 ON campo1 = campo2 AND campo1 = campo2
Podes usar la Funcion Concat
SELECT CONCAT ( ERROR, CAST(Campo1 AS nvarchar) , 'Pos', CAST(campo2 AS nvarchar), 'Pro',CAST(campo3 AS nvarchar) ) AS Result;
Podes usar la Funcion Concat
SELECT CONCAT ( ERROR, CAST(Campo1 AS nvarchar) , 'Pos', CAST(campo2 AS nvarchar), 'Pro',CAST(campo3 AS nvarchar) ) AS Result FROMTablaT1
INNER JOIN tabla2 ON campo1 = campo2 AND campo1 = campo2