I have a column containing items that can be sorted by the user:
DOC_ID DOC_Order DOC_Name
1 1 aaa
2 3 bbb
3 2
Here's screen shots to do it through SQL Server Management Studio GUI:
DesignDefault Value or Binding with function name with brackets
like so:Note: as Luk stated, all brackets are needed including the schema (dbo in this case).