Pytanie : disallow rezultat od cyngiel

I miewać cyngiel na table.
Declare @CaseID int
SET @CaseID = (Wybrany tblLinkDefendantCounts.CaseID od tblLinkDefendantCounts, WKŁADAĆ WHERE
tblLinkDefendantCounts.DefendantCountsID = INSERTED.DefendantCountsID)

EXEC sp_UpdateDefCaseCounts @CaseID

It pracować ale znać I teraz dostawać ten error.
" Cyngiel wracać resultset i the serwer opcja "disallow_results_from_triggers" być prawdziwy. "
This być gościć miejsce.  Być tam  jakkolwiek I móc wokoło tam?

Odpowiedź : disallow rezultat od cyngiel

procedura sp_FinalDefCountList

wymagać a

SET NOCOUNT DALEJ przy the początek

jeżeli @finalstring potrzeba czasem wracać, wtedy ty potrzebować ono wtedy jako wydajność parametr zamiast.

the początkowy cyngiel bardzo biednie napisać że ono cater dla wieloskładnikowy aktualizacja…

>>USTALONY @CaseID = (Wybrany tblLinkDefendantCounts.CaseID od tblLinkDefendantCounts, WKŁADAĆ DOKĄD tblLinkDefendantCounts.DefendantCountsID = INSERTED.DefendantCountsID)
>>EXEC sp_UpdateDefCaseCounts @CaseID

potrzeba przetwarzać w pętla.
Inne rozwiązania  
 
programming4us programming4us