Sql Server CE 4 插入默认值
我使用 Sql Server CE 4 创建了下表。
create table abc(id int Identity(1,1) Primary key)
如果我尝试插入一行以使用以下命令生成新标识:
insert into abc default value
我收到一条错误消息,指出默认单词附近存在问题。
我如何使用 Sql Server CE 4 执行此操作还是不可能?
Using Sql Server CE 4 I have created the follow table.
create table abc(id int identity(1,1) primary key)
If I try and insert a row to generate a new identity using the following:
insert into abc default values
I get an error stating there is an issue near the default word.
How can I do this using Sql Server CE 4 or is it not possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
或者自己评估 INT 值
Or assing the INT value yourself
试试这个:
Try this :