jasww
asked on
Alter existing UNIQUEIDENTIFIER column to make it the ROWGUID
How do I, from within a proc, alter an exisiting table to make the PK column also the ROWGUID column?
I cannot see any way of doing it without dropping the column and recreatiing it with this constraint.
It must be possible to turn a column intoa ROWGUID column without dropping and remaking the column, because Enterprise Manager is able to do so with the IsRowGuid flag.
Thanks
Daniel
JASWW
I cannot see any way of doing it without dropping the column and recreatiing it with this constraint.
It must be possible to turn a column intoa ROWGUID column without dropping and remaking the column, because Enterprise Manager is able to do so with the IsRowGuid flag.
Thanks
Daniel
JASWW
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Perfect.
God don't you love T-SQl and it's oh-so-easy syntax?
Thanks