1
많은 Sage 200 데이터베이스에서 판매 측면을 살펴보면 SLPostedCustomerTran 테이블의 일부 행에 할당 된 값을 기록하기위한 할당이 충분하지 않다는 것을 알았습니다.Sage 200 데이터베이스
SELECT count(*)
FROM SLPostedCustomerTran
INNER JOIN SLAllocationTran on SLPostedCustomerTran.SLPostedCustomerTranID = SLAllocationTran.SLPostedCustomerTranID
GROUP BY SLPostedCustomerTran.SLPostedCustomerTranID, SLPostedCustomerTran.AllocatedValue
HAVING sum(SLAllocationTran.AllocationValue) <> SLPostedCustomerTran.AllocatedValue
내가보고되어야 다른 테이블 아마도, 제거 된 데이터를 포함하는 하나 거기 : 즉, 다음 쿼리는 일부 데이터베이스 0이 아닌 결과를 반환? 그렇지 않다면, 데이터베이스가 손상되었다는 것은 공정한 가정일까요? (이들은 특정 회사에 속한 데이터베이스이며 데이터 입력 방법을 정확히 알지 못합니다.)
그건 의미가 있습니다. 우리는보고 할 때 유형 및 기타 속성을 기반으로 트랜잭션의 개념적 기호를 수정해야하는 또 다른 시스템을 위해이를 처리합니다. –