How-to tips and info you need to run your small business. Here you will find resources to help you grow your business.
Copyright © 2012 American Association of Business. All Rights Reserved
with result as ( SELECT *, ROW_NUMBER() OVER( ORDER BY Name asc ) AS seq FROM [category] WHERE [ParentID]=0) SELECT * FROM result