I'm about to migrate my database from using old membership to the one included in mvc4, which uses int
instead of guid
.
When changing the type I get following error:
Conversion from int to uniqueidentifier is not supported on the connected database server.
How can I change UserId
to int
via SQL Server Management Studio?
First Change Data Type to any other supported Type like varbinary or anything. then you can convert from that to what you want.