Q&A about the site for SharePoint enthusiasts
--select case when (select * where exists(1)) then 1 else 0 end --select @@version select 1--, case when try_cast('' as string) = 1 then 1