InterSystems IRIS SQL Error Code -122 FOREIGN KEY constraint failed referentia

In this post, you’ll learn about the SQL error code -122 in InterSystems IRIS database the reason why you are receiving the SQL error message when using the InterSystems IRIS data platform

Error Code :

-122

Reason for the Error code -122 in InterSystems IRIS DBMS

FOREIGN KEY constraint failed referential check upon UPDATE of row in referencing table