Hello,
I have to create a View that shows a field created by concatenating some other fields. The simple query that I use is this one:
SELECT
CODPROY, DESCPROY, USER, CODPROY + ' - ' + USER + ' - ' + DESCPROY AS Expr
FROM
dbo.PROY
The problem is that USER may be NULL and in this case I have to insert a default text, something like 'NOT AVAILABLE'. Can this be done in a view?