I would like to pick a integer value from another table and use that value (+1) as the startvalue (the seed value) when adding an indentity column to an already existing table, something like:
ALTER TABLE aa_individ
ADD [actno] [int] IDENTITY (@startno, 1) NOT NULL
Is this possible somehow when using SQL Server 7 (the above does not seem to work)?