Saltar al contenido principal

Búsqueda

Búsqueda

sp_updatestats Failed

Comentarios

1 comentario

  • Avatar
    Larry Clark

    Root cause/Solution

    Between R3 and R6, the SpDeleteRecords procedure was changed and Seagull developers left a helpful comment.

    I am running SQL Server versions 13.0.4210 and 12.0.5214.  When I "undid" the change, both my instances started executing without error.  I'm not sure what permission issues they experienced to make the change, but I have not seen any issues.

     

    /* NOTE:        WITH EXECUTE AS 'dbo' was removed in 2017, because it was    */
    /*              previously added to correct a SQL Server 2005 bug.  But it   */
    /*              now causes permission issues in SQL Server 2014+.            */
    /*---------------------------------------------------------------------------*/

    ALTER PROC [dbo].[SpDeleteRecords](@pastUtcTicks bigint, @categories nvarchar(1024))
    with execute as 'dbo' AS
    --Lawrence W Clark, 5/17/2018, Added "with execute as 'dbo'" back to procedure.

    0

Iniciar sesión para dejar un comentario.