我有一个存储过程,我试图从报表查看器调用,我收到错误
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运算符来连接函数和表。我该如何修复错误?