How to make auto generated id function?

前端 未结 1 1151
清歌不尽
清歌不尽 2021-01-26 13:30

I try to create a function for generate the id in sql table. but i don\'t know how to set parameter for select table and columns please help me

Public Function          


        
相关标签:
1条回答
  • 2021-01-26 14:07

    Download mssql management studio attach your database locally setup autorincrement on your field which require unique id set it be not nullable field and that's all mssql 2012 make al the rest for you.

    0 讨论(0)
提交回复
热议问题