e-සටහන්

Friday, April 4, 2014

MS SQL Server 2000 Row Numbering

select rank=count(*), a1.au_lname, a1.au_fname
   from authors a1, authors a2
   where a1.au_lname + a1.au_fname >= a2.au_lname + a2.au_fname
   group by a1.au_lname, a1.au_fname
   order by rank
source: http://support.microsoft.com/default.aspx?scid=kb;en-us;186133
by: Eranga Jayalatharachchi at 4:42 PM
Labels: Tech

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Me

Eranga Jayalatharachchi
View my complete profile

Links

  • My Wiki
  • My Flickr
  • Technology Goes Wild

Labels

  • Info (2)
  • jokes (2)
  • My Thoughts (2)
  • My Writings (2)
  • Selected Writings (5)
  • Tech (22)

Blog Archive

  • ►  2022 (1)
    • ►  December (1)
  • ►  2018 (1)
    • ►  July (1)
  • ►  2017 (1)
    • ►  August (1)
  • ▼  2014 (3)
    • ►  October (1)
    • ▼  April (2)
      • MS SQL Server 2000 Row Numbering
      • Moving old Subversion repositories to a new server
  • ►  2013 (4)
    • ►  August (1)
    • ►  March (1)
    • ►  January (2)
  • ►  2012 (2)
    • ►  November (1)
    • ►  August (1)
  • ►  2011 (10)
    • ►  November (2)
    • ►  October (2)
    • ►  September (1)
    • ►  August (1)
    • ►  July (3)
    • ►  June (1)
  • ►  2010 (3)
    • ►  August (2)
    • ►  February (1)
  • ►  2009 (3)
    • ►  July (2)
    • ►  April (1)
  • ►  2007 (13)
    • ►  August (2)
    • ►  July (11)
Awesome Inc. theme. Powered by Blogger.