Posts by Alisson Ferrari • 1 point
1 post
-
0
votes1
answer988
viewsQ: Error: There are no Primary or candidate Keys in the referenced table
I’m trying to relate these two tables IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'Periodo') AND type in (N'U')) DROP TABLE Periodo GO CREATE TABLE Periodo( Numero tinyint NOT…