I know it is not good practice and should not do so, but it comes in modeling and where the captain does not rule sailor, I need to know if in SQL Server it is possible to make a composite foreign key without having a primary key in the table, only referring to the primary keys of the other tables.
I need to make the PRESCRIPTIONS table, but it does not have a primary key and I do not understand how to make the composite foreign key.