我有一个尝试从报表查看器调用的存储过程,但出现以下错误
Exception has been thrown by the target of an invocation.
Failed to enable constraints. One or more rows contain values
violating non-null, unique, or foreign-key constraints.
底层 SP 使用 apply 运算符来连接函数和表。我该如何修复错误?