hi...
just i m using select command to display the table data..now view all the data but "NANDA"(dbempname)show only once the data based on fixed date is latest date...
My stored procedures .....
Create procedure [dbo].[lvsalarydetails]
as
begin
select salary.s_id,emptable.dbempname,salary.basicpay,salary.hra,salary.conveyance,salary.gross,salary.stipend,salary.fixeddate from salary inner join emptable on salary.employee_id=emptable.dbempid and emptable.employer_id=(select employer_id from employer
where employer_default=2) order by salary.s_id desc
end