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
stop error oxoooooo7b(OxF78D2524,OxC0
000034 will not load XP setup!!!!!!!
HP PSC 2110 won't print - just blank page
Manually move Exchange 2003 mailstore to different disk
Excel VBA Find First Find last
EtherChannel on Cisco 2960 switch intermittent dropped packet
SBS 2003 and Second DC questions
Total installation size footprint windows 7
Need reminder popups or even an email from other persons outlook calendar
diff between cfgmgr -v and cfgmgr -v fcs0 and fcs1...
Xenserver multipath issue with pool