Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
select
CASE WHEN column_1 IS NULL
THEN MyUserDefinedFunction_2(column_2)
ELSE MyUserDefinedFunction_1(column_1)
END,
Select ColumnA,
ColumnB,
Case When Column_1 Is NULL
Then dbo.MyUserDefinedFunction_2(column_2)
Else dbo.MyUserDefinedFunction_1(column_1)
End As ColumnNameAlias
From YourTableNameHere
SELECT
CASE WHEN dbo.tbArcStudies.gStudienr IS NULL
THEN 'p'+dbo.udf_FormatProjectNumber(dbo.tbArcStudies.gProjnr)
ELSE dbo.udf_FormatStudyNumber(dbo.tbArcStudies.gStudienr)
END
FROM dbo.tbArcStudies