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.
DECLARE @SQL nvarchar(MAX)
SET @SQL = 'SELECT Col1, Col2'
/* include Col3 only on the 15th of each month. */
SET @SQL = @SQL +(CASE WHEN DATEPART(d, GETDATE()) = 15 THEN ', Col3' ELSE '' END)
SET @SQL = @SQL + ' FROM Tab1'
EXEC sp_executesql @SQL