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
Create linked server from MS Sql to oracle server
Continuous Forms colour change by time
Lotus Notes 8.5
GP folder redirection. cant turn off
Sum if from access data base
Foxpro and using Excel 2010 as an object
HTML - SQL - Carrying Form Variables from Page to Page
ESXi compatible hardware
How do I delete some lines in a text file?
Does safari support sftp native?