• Thank you sir.

    Right now We have achieved by calling UDF.I want to know whether is it poassible through stored procedure.

    Create Function dbo.Result(@TranId int)

    Returns @t Table(@col1 varchar(10),@col2 Datetime)

    Begin

    Insert into @t select Status,Date from TransHistory where Transactionid=@TranId

    return

    end