[sqlserver] 插入指定自增主键数据

SET IDENTITY_INSERT [dbo].[sms_templete] ON

INSERT INTO [dbo].[sms_templete] ([sms_templete_id], [sms_templet_type], [sms_templete_name], [sms_templete_content], [sms_templete_status]) VALUES 
(N'20', N'7', N'待确认短信', N'**********。 ', N'1')

SET IDENTITY_INSERT [dbo].[sms_templete] OFF



你可能感兴趣的:([sqlserver] 插入指定自增主键数据)