Professional Documents
Culture Documents
Select * from (
select ROW_NUMBER() over(order by salary) as SalaryRowno,* from TblsalaryMaster
)s where SalaryRowno =3
2.
7. Select * from (
select ROW_NUMBER() over(order by salary) as SalaryRowno,* from TblsalaryMaster
)s where SalaryRowno =5
10.
11.Blocking happens when multiple users access the same tables at a time.
Deadlock will totally block the database for further process.
12.
13.
15.This is mechanism for handing errors using try block and Catch block.
--set @monthsalary=@Salary/@Workays
begin try
select @Salary/@Workays
end try
begin catch
end catch