I had a table which has its primary key column of type nchar.
I was about to replace that type, I added a new uniqueidentifier
column as id and set it as primary key and then I reset the relations to other tables.
I did this because I thought that a uniqueidentifier
is a better choice than a string for id, because this string id was typed by users. It is kind of a name attribute used as primary key.
But it seems to be slowed down when I execute queries, and I don't understand why.