Expression (A) Successfully executes, however Expression B returns an error. I want to be able to
conditionaly include a WHERE or AND clause based off of a specified condition. How do I do it?
Expression A
if (2>1)
select *
from table1
where columnA = 2
Expression B
select *
from table1
if (2>1)
where columnA = 2
conditionaly include a WHERE or AND clause based off of a specified condition. How do I do it?
Expression A
if (2>1)
select *
from table1
where columnA = 2
Expression B
select *
from table1
if (2>1)
where columnA = 2