create proc sp_server_info ( @attribute_id int = null) as if @attribute_id is not null select * from master.dbo.spt_server_info where attribute_id = @attribute_id else select * from master.dbo.spt_server_info order by attribute_id