IF (@ActivityID is NULL) BEGIN RETURN 0 END - Trouver la ligne à laquelle nous contribuons DECLARE @HasContinuations BIT ...

            IF (@@ActivityID is NULL)
            BEGIN
                RETURN 0
            END

            -- Trouver la ligne à laquelle nous contribuons
            DECLARE @@HasContinuations BIT

            -- Si la trace principale n'est pas marquée actuellement comme terminée, 
            -- vérifier si elle a déjà été marquée terminée auparavant
            IF (ISNULL(@@IsComplete, 0) = 0)
            BEGIN
                SELECT @@IsComplete = ISNULL(IsComplete, 0) 
                FROM
English
English (United States)
Deutsch (Deutschland)
German (Germany)
Español (España)
Spanish (Spain)
Français (France)
French (France)
日本語
Japanese
한국어
Korean