/ Published in: SQL
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
SET IDENTITY_INSERT dbo.UserGroup ON IF NOT EXISTS (SELECT 1 FROM dbo.UserGroup WHERE UserGroupId = 21392) INSERT INTO dbo.UserGroup(UserGroupId, UserGroupTypeId, OwnerId, Name, Description, IsVisible) VALUES (21392, 1, 1, 'Anonymous Public Users', 'Anonymous Public Users', 0) SET IDENTITY_INSERT dbo.UserGroup OFF