• SELECT MAX(ID)

    FROM [LinkedServer].[Database].dbo.[TableName] (NOLOCK)

    WHERE <Condition>

    The above SQL Script ran successfully up to yesterday. But today its throws the below error message.

    Remote table-valued function calls are not allowed.

    My Doubt. How it was executed up-to yesterday? I don't want solution for the error message