I want to write an sql statement in c# where I want to pass a "true" or "false" value basing on some condition... can we pass true to sql statements
Ex:
select * from emp where (empid=1234 and true);
select * from emp where (empid=1234 and false);
This true and false comes from a variable basing on a condition.