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
Source: NETLOGON Event ID: 5773 error with in DNS
Will this drive work in a Dell Latitude D620
Exchange 2003 Logical Size vs Physical Size
VS 2008: access rights under windows 7 when building an assembly
Count grade percentage
How Do I run a specific fix and test in ISINTEG
Microsoft SQL Server Reporting Services send E-mail in plain text
Restore with Bacula
How to write a like query in access 2007
VT extensions vsphere 4.1