SQLServer Databaxse中的主键自动递增 [英] Autoincrement o fPrimary Key in SQLServer Databaxse

查看:90
本文介绍了SQLServer Databaxse中的主键自动递增的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我添加了一个sqlServer数据库.我将PK(bignit)添加为主键.我想将其设置为自动增加.就像我们在SSCE databsae中所做的一样.那怎么可能.

谢谢
Furqan

Hi,
I have added an sqlServer Database. I add PK (bignit) as primary key. I want to set it to auto increase the no. by 1 as we can do in SSCE databsae. How is that possible.

Thanks
Furqan

推荐答案

在属性中设置其身份


这篇关于SQLServer Databaxse中的主键自动递增的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆