Forum Replies Created

Viewing 2 posts - 1 through 3 (of 3 total)

  • RE: Queries with different execution plan

    Thank you very much for your answer Grant Fritchey and Dave Ballantyne.

    I have tried several alternatives and none has worked. :crying: but thank you

    for your help.

    PS: Merry Christmas and Happy...

  • RE: Queries with different execution plan

    Thank you for the answer.

    The query is really in a stored procedured:

    ALTER PROCEDURE [dbo].[RetrieveBibliography]

    (

    @clause nvarchar(max)

    )

    AS

    BEGIN

    DECLARE @query AS nvarchar(max)

    SET @query = 'SELECT TOP 100 Id FROM Bibliography WHERE '

    +...

Viewing 2 posts - 1 through 3 (of 3 total)