Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Give integer value to column based on sort

$
0
0
I want to write a sql statement to achieve the following and need some help.
I need to give a sequential integer (starting from 1) to a column in the database table (column called Prioriteit) based on a sort that is as follows :

First column

Viewing all articles
Browse latest Browse all 3145

Trending Articles