SQL Server Error Code – 4186 column ‘%ls.%.*ls’ cannot be referenced

In this blog post, you’ll learn more about the SQL Server Error Code 4186 and the error message description that is shown

SQL Server Error Code

4186

SQL Server Error Description for the Code :4186

Column ‘%ls.%.*ls’ cannot be referenced in the OUTPUT clause because the column definition contains a subquery or references a function that performs user or system data access. A function is assumed by default to perform data access if it is not schemabound. Consider removing the subquery or function from the column definition or removing the column from the OUTPUT clause.

Leave Your Comment