IF conditions in SQL

Reply
N/A
Posts: 0

IF conditions in SQL

This is Microsoft SQL Server Query, can SAS SQL can do something like this?
N/A
Posts: 0

Re: IF conditions in SQL

Use case expressions.which works similarly as if in sql server.

select ..
,case when then |
...
else | end
from
quit;
Ask a Question
Discussion stats
  • 1 reply
  • 248 views
  • 0 likes
  • 1 in conversation