In this blog post, you’ll learn more about the Sybase Error Outer reference not permitted in DML derived table and the reason for receiving this error
Sybase SQL Error Message
Outer reference not permitted in DML derived table
Reason for this Error
Outer references are not permitted in derived tables based on INSERT, UPDATE, DELETE, or MERGE statements. These derived tables may only appear in subqueries that are uncorrelated.