I am trying to write this query for AspNetUserRoles, but i am thrown to this exception and need some help.
Msg 1753, Level 16, State 0, Line 2
Column 'dbo.AspNetRoles.Id' is not the same length or scale as referencing column 'AspNetUserRoles.RoleId' in foreign key 'FK_dbo.AspNetUserRoles_dbo.AspNetRoles_RoleId'. Columns participating in a foreign key relationship must be defined with the same length and scale.
Msg 1750, Level 16, State 1, Line 2
Could not create constraint or index. See previous errors.
Msg 1088, Level 16, State 12, Line 7
Cannot find the object "dbo.AspNetUserRoles" because it does not exist or you do not have permissions.
Msg 102, Level 15, State 1, Line 16
Incorrect syntax near '.'.