Microsoft SQL Server database ranks third in the relational database, second only to Oracle and MySQL database. when using it, it is inevitable to encounter various problems and warnnings. You may be dba or a developer, I hope this content can help you solve SQL Server error number 8124.

Error number: 8124

Severity level: 16

Event logged: Multiple columns are specified in an aggregated expression containing an outer reference. If an expression being aggregated contains an outer reference, then that outer reference must be the only column referenced in the expression.