Conditional Statements

Accepted Solution Solved
Reply
Contributor
Posts: 29
Accepted Solution

Conditional Statements

Hi everybody,

 

which conditional statement need more cpu time in PROC SQL? WHERE or IF/ELSE?

 

Bye cons


Accepted Solutions
Solution
‎05-30-2016 05:23 AM
Esteemed Advisor
Posts: 5,198

Re: Conditional Statements

Eh... IF is not allowed in SQL...
In SQL WHERE does the filtering, use CASE for conditional logic.
Data never sleeps

View solution in original post


All Replies
Solution
‎05-30-2016 05:23 AM
Esteemed Advisor
Posts: 5,198

Re: Conditional Statements

Eh... IF is not allowed in SQL...
In SQL WHERE does the filtering, use CASE for conditional logic.
Data never sleeps
☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 207 views
  • 3 likes
  • 2 in conversation