You are here: Re: T-SQL Debugger Doesn't Allow Stepping Through Stored Procedures no other procedure with the same name « MsSQL Server « IT news, forums, messages
Re: T-SQL Debugger Doesn't Allow Stepping Through Stored Procedures no other procedure with the same name

Posted by Erland Sommarskog on 06/01/06 21:02

(mednyk@hotmail.com) writes:
> Hello,
> You were right:
> select @@Servername
> returns null
> Finally I was added to sysadmin group on sql server I tried to run
> sp_addserver 'IT456', 'local'
> And I got
> Server: Msg 15028, Level 16, State 1, Procedure sp_addserver, Line 14
> The server 'IT456' already exists.
>
> I know I can use 'duplicate_OK' or sp_dropserver and recreate it, but
> I don't know what implications can be.
> It is important server so I cannot "play" with it.

The implications as such are harmless. However, for it to take effect
so that @@servername is no longer NULL, you need to restart SQL Server,
which may not be acceptable.

Then again, if this is a production server, you should not run the
debugger on it anyway.


--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация