create procedure test (@A int)
as
     if (@A=1)
       begin 
         select columna,columnb,columnc from tablea where ...
       end 
   else if (@A=2)
       begin
          select columna,columnb,columnc from tablea where ...
       end 
   else if(@A=3)
      begin
          select columna,columnb,columnc from tablea where ...
       end