The CASE statement is the closest to IF in SQL and is supported on all versions of SQL Server. SELECT CAST( CASE WHEN Accept = 'Y' or Reject ...
確定! 回上一頁