IN case of partial classes and methods..if signature are different then it will allowed and if signature are same then it will not allowed two partial definations.
below is the SQL which will help you to return 5 record at the top and other records at the bottom.
employee table structure
Column_name Type
ID int
EmpNumber varchar
Status varchar
Manager varchar
EmpType varchar
SQL to execute
with employeetemp
as
(select ID, EmpNumber, Status, Manager, EmpType, ROW_NUMBER() OVER (ORDER BY ID) as RowNumber from employee
)
select ID, EmpNumber, Status, Manager, EmpType from employeetemp
where RowNumber>=5
union all
select top 4 ID, EmpNumber, Status, Manager, EmpType from employeetemp
Gg, if this helps please login to Mark As Answer. | Alert Moderator