Viewing 2 posts - 1 through 2 (of 2 total)
Just to let people know, I usually use something like the following
DECLARE @new_id AS UNIQUEIDENTIFIER
SET @new_id = NEWID()
INSERT INTO
([primary_key]) VALUES (@new_id)
SELECT @new_id
July 13, 2004 at 5:59 pm
#514480
I find that I get this problem if I rename a table from one name to another as Enterprise Manager does not change the keys/constraints. I find the best way...
May 19, 2004 at 3:54 am
#506909