you can do it by dynamic query
example:-
create proc uspSelectData
@FieldNames varchar(max)=null
@TableName varchar(30)=null
as
begin
declare @Qry nvarchar(max)
set @Qry='Select '+ @FieldNames +' from '+ @TableName + '
EXECUTE (@Qry)
end
call it as
exec uspSelectData @FieldNames ='colum1,colum2',@TableName='urtableName'