Thread
:
Row count in sqlserver
View Single Post
#
3
(
permalink
)
11-15-2004, 01:23 PM
Manohargmr
Junior Member
Join Date: Oct 2004
Posts: 1
Re:Row count in sqlserver
--To Print the row number from 1 to 10(or any Number).
select (select count(*)+1 from employee where emp_id <s.emp_id) \'SNO\', * from employee s
ORDER BY emp_id
Manohargmr
View Public Profile
Send a private message to Manohargmr
Find all posts by Manohargmr