﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Administration / SQL Server 7,2000  / @@servername / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sat, 18 May 2013 22:00:08 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: @@servername</title><link>http://www.sqlservercentral.com/Forums/Topic239210-5-1.aspx</link><description>Thanks for the information Yelana !</description><pubDate>Wed, 30 Nov 2005 15:24:00 GMT</pubDate><dc:creator>rudy - Doctor "X"</dc:creator></item><item><title>RE: @@servername</title><link>http://www.sqlservercentral.com/Forums/Topic239210-5-1.aspx</link><description>&lt;P&gt;They should report different names in some cases. See Books Online @@Servername topic:&lt;/P&gt;&lt;P&gt;"......&lt;/P&gt;&lt;P&gt;Although the @@SERVERNAME function and the SERVERNAME property of SERVERPROPERTY function may return strings with similar formats, the information can be different. The SERVERNAME property automatically reports changes in the network name of the computer.&lt;/P&gt;&lt;P&gt;In contrast, @@SERVERNAME does not report such changes. @@SERVERNAME reports changes made to the local server name using the &lt;B&gt;sp_addserver&lt;/B&gt; or &lt;B&gt;sp_dropserver&lt;/B&gt; stored procedure..........."&lt;/P&gt;</description><pubDate>Wed, 30 Nov 2005 15:11:00 GMT</pubDate><dc:creator>Yelena Varshal</dc:creator></item><item><title>RE: @@servername</title><link>http://www.sqlservercentral.com/Forums/Topic239210-5-1.aspx</link><description>I was able to duplicate your issue on a named instance. I need to acquire a 'default' instance yet ... </description><pubDate>Wed, 30 Nov 2005 15:07:00 GMT</pubDate><dc:creator>rudy - Doctor "X"</dc:creator></item><item><title>RE: @@servername</title><link>http://www.sqlservercentral.com/Forums/Topic239210-5-1.aspx</link><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;name &lt;SPAN style="mso-spacerun: yes"&gt;   &lt;/SPAN&gt;&lt;SPAN style="mso-spacerun: yes"&gt;                     secondname&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&lt;/SPAN&gt;network_name&lt;SPAN style="mso-spacerun: yes"&gt;           secondname&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&lt;/SPAN&gt;status&lt;SPAN style="mso-spacerun: yes"&gt;  &lt;/SPAN&gt;&lt;SPAN style="mso-spacerun: yes"&gt;   &lt;/SPAN&gt;&lt;SPAN style="mso-spacerun: yes"&gt;                    rpc,rpc out,use remote collation     &lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&lt;/SPAN&gt;id&lt;SPAN style="mso-spacerun: yes"&gt;                               0&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&lt;/SPAN&gt;collation_name&lt;SPAN style="mso-spacerun: yes"&gt;           NULL&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&lt;/SPAN&gt;connect_timeout         0&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;query_timeout            0&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face="Times New Roman"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;/P&gt;</description><pubDate>Tue, 29 Nov 2005 02:15:00 GMT</pubDate><dc:creator>Momak</dc:creator></item><item><title>RE: @@servername</title><link>http://www.sqlservercentral.com/Forums/Topic239210-5-1.aspx</link><description>&lt;SPAN id=Showtread1_ThreadRepeater__ctl7_lblFullMessage&gt;Could you post the output of sp_helpserver ? (the actual results set when you execute it from QA) ... I'm asking for a specific reason, to help you figure this out ... the exact output friom a QA session (all columns) is invaluable at times ...&lt;/SPAN&gt;</description><pubDate>Mon, 28 Nov 2005 13:50:00 GMT</pubDate><dc:creator>rudy - Doctor "X"</dc:creator></item><item><title>RE: @@servername</title><link>http://www.sqlservercentral.com/Forums/Topic239210-5-1.aspx</link><description>sp_helpserver gives me SECONDNAME</description><pubDate>Mon, 28 Nov 2005 13:23:00 GMT</pubDate><dc:creator>Momak</dc:creator></item><item><title>RE: @@servername</title><link>http://www.sqlservercentral.com/Forums/Topic239210-5-1.aspx</link><description>Could you post the output of sp_helpserver ?</description><pubDate>Mon, 28 Nov 2005 13:03:00 GMT</pubDate><dc:creator>rudy - Doctor "X"</dc:creator></item><item><title>RE: @@servername</title><link>http://www.sqlservercentral.com/Forums/Topic239210-5-1.aspx</link><description>&lt;P&gt;&lt;EM&gt;don't mess with systemtables&lt;/EM&gt; &lt;img src='images/emotions/crazy.gif' height='20' width='20' border='0' title='Crazy' align='absmiddle'&gt;&lt;img src='images/emotions/sick.gif' height='20' width='20' border='0' title='Sick' align='absmiddle'&gt;&lt;img src='images/emotions/ermm.gif' height='20' width='20' border='0' title='Errmmm...' align='absmiddle'&gt;  &lt;img src='images/emotions/rolleyes.gif' height='20' width='20' border='0' title='Rolled Eyes' align='absmiddle'&gt; &lt;img src='images/emotions/wow.gif' height='20' width='20' border='0' title='Wow' align='absmiddle'&gt;&lt;/P&gt;&lt;P&gt;but how about :&lt;/P&gt;&lt;P&gt;&lt;EM&gt;select *from master.dbo.sysservers&lt;/EM&gt;&lt;/P&gt;</description><pubDate>Thu, 24 Nov 2005 02:39:00 GMT</pubDate><dc:creator>ALZDBA</dc:creator></item><item><title>RE: @@servername</title><link>http://www.sqlservercentral.com/Forums/Topic239210-5-1.aspx</link><description>&lt;P&gt;I did only sp_dropserver 'FIRSTNAME' &lt;/P&gt;&lt;P&gt;and sp_addserver 'SECONDNAME', LOCAL.&lt;/P&gt;&lt;P&gt;Nothing else. &lt;/P&gt;&lt;P&gt;I wonder where serverproperty('servername') gather information&lt;/P&gt;</description><pubDate>Thu, 24 Nov 2005 02:34:00 GMT</pubDate><dc:creator>Momak</dc:creator></item><item><title>RE: @@servername</title><link>http://www.sqlservercentral.com/Forums/Topic239210-5-1.aspx</link><description>&lt;P&gt;did you also alter the physical servers name ?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Thu, 24 Nov 2005 00:26:00 GMT</pubDate><dc:creator>ALZDBA</dc:creator></item><item><title>RE: @@servername</title><link>http://www.sqlservercentral.com/Forums/Topic239210-5-1.aspx</link><description>&lt;P&gt;Yes I did.&lt;/P&gt;&lt;P&gt;After restart @@servername shows 'SECONDNAME', but&lt;/P&gt;&lt;P&gt;select serverproperty('servername') shows 'FIRSTNAME'. So, it must be written somewhere that 'FIRSTNAME'. &lt;/P&gt;</description><pubDate>Thu, 24 Nov 2005 00:03:00 GMT</pubDate><dc:creator>Momak</dc:creator></item><item><title>RE: @@servername</title><link>http://www.sqlservercentral.com/Forums/Topic239210-5-1.aspx</link><description>&lt;P&gt;did you restart the server ?&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Wed, 23 Nov 2005 13:24:00 GMT</pubDate><dc:creator>noeld</dc:creator></item><item><title>@@servername</title><link>http://www.sqlservercentral.com/Forums/Topic239210-5-1.aspx</link><description>&lt;P&gt;Hello,my SQL Server was installed with name 'FIRSTNAME'. After that I change its name into 'SECONDNAME', with :sp_dropserver 'FIRSTNAME' sp_addserver 'SECONDNAME', LOCAL.&lt;/P&gt;&lt;P&gt;But when I start:select serverproperty('servername')&lt;/P&gt;&lt;P&gt;result is: 'FIRSTNAME'.&lt;/P&gt;&lt;P&gt;Wherefrom serverproperty('servername') takes information.&lt;/P&gt;</description><pubDate>Wed, 23 Nov 2005 09:49:00 GMT</pubDate><dc:creator>Momak</dc:creator></item></channel></rss>