drop proc MessageSelect_Select
create proc MessageSelect_Select
@StartPage int,
@EndPage int
as
begin