我不想根据条件/参数显示列我想要的是
if(@SelectFlag==true)
select name,Address,salary,CreatedBy from employee
else (@UpdateFlag==true)
select name,Address,salary from employee
-- in this case i don't require the column "CreatedBy"
如何根据上述情况进行查询或存储过程..
感谢和问候..