you probably deleted rows in one of the table, truncate the table instead (which will reset the identity) and try again or reseed the table DBCC CHECKIDENT (Group1, RESEED, 0);
here run this to verify that it works as expected
Create table Group1(id int identity,Group1_Desc nvarchar(100))
create table Group2(id int identity,Group2_Desc nvarchar(100))
DECLARE @New_Group1_Id int
DECLARE @New_Group2_Id int
INSERT INTO Group1(Group1_Desc)
VALUES (N'Indianapolis')
SELECT @New_Group1_Id = Scope_Identity()
INSERT INTO Group2 (Group2_Desc)
VALUES (N'Indianapolis')
SELECT @New_Group2_Id = Scope_Identity()
select @New_Group1_Id,@New_Group2_Id
now do this
delete Group1
now run again
DECLARE @New_Group1_Id int
DECLARE @New_Group2_Id int
INSERT INTO Group1(Group1_Desc)
VALUES (N'Indianapolis')
SELECT @New_Group1_Id = Scope_Identity()
INSERT INTO Group2 (Group2_Desc)
VALUES (N'Indianapolis')
SELECT @New_Group2_Id = Scope_Identity()
select @New_Group1_Id,@New_Group2_Id
and you will see that both are 2
now truncate the table group1
truncate table Group1
run this again and you will get 1 and 3
DECLARE @New_Group1_Id int
DECLARE @New_Group2_Id int
INSERT INTO Group1(Group1_Desc)
VALUES (N'Indianapolis')
SELECT @New_Group1_Id = Scope_Identity()
INSERT INTO Group2 (Group2_Desc)
VALUES (N'Indianapolis')
SELECT @New_Group2_Id = Scope_Identity()
select @New_Group1_Id,@New_Group2_Id