all my pks (SQL server) from varchar to int ('cause we switch from guid to identity), how can i do that without loosing foreign Key constraint?
make guid unique only and add autoincrement primary key id? like: ALTER TABLE table ADD id INT AUTO_INCREMENT PRIMARY KEY;
Обсуждают сегодня