Re: ERROR ON DEBUGGING A STORED PROCEDURE

From: Vinodk (vinodk_sct_at_NO_SPAM_hotmail.com)
Date: 05/11/04


Date: Tue, 11 May 2004 13:52:46 +0530

I think you are on SQL Server SP3 Patch. Debugging is disabled by default on
install of SP3. Check the SP3 Readme.htm for details on this. There is a
section for the same. You need to run the sp_sdidebug Proc to enable the
same.

Also, I've noticed that you need to run the SP3 on the client from where you
access the SQL Server. This will update all the client tools to the latest
version.

-- 
HTH,
Vinod Kumar
MCSE, DBA, MCAD, MCSD
http://www.extremeexperts.com
Books Online for SQL Server SP3 at
http://www.microsoft.com/sql/techinfo/productdoc/2000/books.asp
"ANDREAMALA" <anonymous@discussions.microsoft.com> wrote in message
news:0ECFDC7A-3229-455A-B53F-5F07F315DFD0@microsoft.com...
> I'M TRYING TO DEBUG A STORED PROCEDURE BUT I OBTAIN THIS ERROR:
> Server: messaggio 229, livello 14, stato 5, procedura sp_sdidebug, riga 1
> [Microsoft][ODBC SQL Server Driver][SQL Server]L'autorizzazione EXECUTE è
stata negata per l'oggetto 'sp_sdidebug', database 'master', proprietario
'dbo'
>
> CAN YOU HELP ME?
>
> GREATINGS
> ANDREA


Relevant Pages

  • Re: SQL 2000 Assertion recbase.cpp:1378
    ... > Then we started getting this assertion instead of the ... > MAXDATAROW'. ... in SQL Server, you should be refunded for any initial expenses. ... Books Online for SQL Server SP3 at ...
    (microsoft.public.sqlserver.clients)
  • SQL Server SP3: Failed to apply
    ... SQL Server SP3 to a clustered SQL Server 2000 on a ... with two nodes though either administrator or SQL server ...
    (microsoft.public.sqlserver.security)
  • Re: temp db indexing in SQL2k
    ... SQL Server has something called deferred name resolution. ... But if all tables in a query exists, then all other objects in the ... Maybe your scenario with linked servers changes the scene here, ... Books Online for SQL Server SP3 at ...
    (microsoft.public.sqlserver.programming)
  • Re: How to debug stored procedure in sql server
    ... Investigate if you have SQL Server SP3 /SP3a ... Because the debug feature is disabled by default. ... >> How to debug complicated stored procedure in sql server query analyzer ...
    (microsoft.public.sqlserver.programming)