i have a table employee with calumns
EmpID,Name,Gender
i need a stored procedure where we have to pass parameter gender value
if we dont pass parameter it should execute like select * from table name
if we pass gender value it should execute like select 8 from tablename where gender=value