Microsoft
Software
Hardware
Network
Question : Need Syntax to Auto Increment a Number in SQL Server 2008
I need the syntax to Auto Increment a number in a field, starting with the number "1" and going higher for each row.
What is the syntax to do this?
Thanks
M
Answer : Need Syntax to Auto Increment a Number in SQL Server 2008
correction
select rownum=row_number() over (order by somefield), *
FROM
(
select * from tbl
) SQ
replace "somefield" with an actual field
Random Solutions
Order points in rectangle
Number of records when appending query via VBA
How can I track performance of 1 process during day and save it to file?
RHCE Exam
Batch file to remove whitespace - similar to word replace ^w
Secondary Graphics card for PhysX processing with current 9800GTX
Configuring Incoming Mail to SharePoint w/o Exchange on-site
Capture Linkbutton click event in Master page from Content page
ESXi compatible hardware
Exchange 2007 - Delivery is delayed to these recipients or distribution lists: