ALTER TABLE YourTableName WITH CHECK ADD FOREIGN KEY (AccountNo) REFERENCES AnotherTableName(AccountNo)