Hi all,
Am wondering is it possible to do a select statement within an insert statement.
Mike55
Am wondering is it possible to do a select statement within an insert statement.
Code:
insert into Groups (Group_ID, Group_Name, Group_Description, Org_ID) Values ((Select @temp = Max(Group_ID from Groups), @gName,@gDesc,@OrgID)
Mike55