ALTER TABLE YourTableName WITH CHECKADD FOREIGN KEY (AccountNo) REFERENCES AnotherTableName(AccountNo)