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