Relative Content

Tag Archive for sql-serverwindow-functions

Identifier on yearly base

I want a monoton increasing identifier for each year, starting with 1 on each year. NULL BusinessKey rows can be just appended (I’ll call the function in an INSERT Trigger):