<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; Introduction to SERVERPROPERTY and example</title>
	<atom:link href="http://blog.sqlauthority.com/2008/06/16/sql-server-introduction-to-serverproperty-and-example/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2008/06/16/sql-server-introduction-to-serverproperty-and-example/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Sun, 12 Feb 2012 09:22:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: madhivanan</title>
		<link>http://blog.sqlauthority.com/2008/06/16/sql-server-introduction-to-serverproperty-and-example/#comment-172805</link>
		<dc:creator><![CDATA[madhivanan]]></dc:creator>
		<pubDate>Wed, 28 Sep 2011 11:59:34 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=649#comment-172805</guid>
		<description><![CDATA[Are you sure about it? Becuase the return type is nvarchar(128). What does following returns?

select replicate(&#039;a&#039;,30)+&#039;test&#039;]]></description>
		<content:encoded><![CDATA[<p>Are you sure about it? Becuase the return type is nvarchar(128). What does following returns?</p>
<p>select replicate(&#8216;a&#8217;,30)+&#8217;test&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NJ</title>
		<link>http://blog.sqlauthority.com/2008/06/16/sql-server-introduction-to-serverproperty-and-example/#comment-172147</link>
		<dc:creator><![CDATA[NJ]]></dc:creator>
		<pubDate>Mon, 26 Sep 2011 13:19:07 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=649#comment-172147</guid>
		<description><![CDATA[I have a server called &quot;ACC-WEB-REPORT01&quot;. When I execute &quot;SELECT &#039;ServerName&#039;, SERVERPROPERTY(&#039;ServerName&#039;)&quot; the result is: &quot;ACC-WEB-REPORT0&quot;, so the last character is missing.
Do you know why? As far as I know the Base data type is nvarchar(128).

NJ]]></description>
		<content:encoded><![CDATA[<p>I have a server called &#8220;ACC-WEB-REPORT01&#8243;. When I execute &#8220;SELECT &#8216;ServerName&#8217;, SERVERPROPERTY(&#8216;ServerName&#8217;)&#8221; the result is: &#8220;ACC-WEB-REPORT0&#8243;, so the last character is missing.<br />
Do you know why? As far as I know the Base data type is nvarchar(128).</p>
<p>NJ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harsha Bhagat</title>
		<link>http://blog.sqlauthority.com/2008/06/16/sql-server-introduction-to-serverproperty-and-example/#comment-158300</link>
		<dc:creator><![CDATA[Harsha Bhagat]]></dc:creator>
		<pubDate>Wed, 17 Aug 2011 10:12:48 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=649#comment-158300</guid>
		<description><![CDATA[Hi,
The values what the productversion  and  processid returns I am not clear with it. Is there any place where we can understand what the values it returns means? 

The processid returns 2248 in SQL server 2000 and 4876 in SQL server 2008.]]></description>
		<content:encoded><![CDATA[<p>Hi,<br />
The values what the productversion  and  processid returns I am not clear with it. Is there any place where we can understand what the values it returns means? </p>
<p>The processid returns 2248 in SQL server 2000 and 4876 in SQL server 2008.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sql</title>
		<link>http://blog.sqlauthority.com/2008/06/16/sql-server-introduction-to-serverproperty-and-example/#comment-120496</link>
		<dc:creator><![CDATA[sql]]></dc:creator>
		<pubDate>Thu, 24 Feb 2011 08:56:03 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=649#comment-120496</guid>
		<description><![CDATA[can I get the fully qualified sevre hostname in the serverproperty(&quot;servername&quot;)?

example, instead of getting server1, I will get server1.abc.com (this hostname of the server)?

is it possible?]]></description>
		<content:encoded><![CDATA[<p>can I get the fully qualified sevre hostname in the serverproperty(&#8220;servername&#8221;)?</p>
<p>example, instead of getting server1, I will get server1.abc.com (this hostname of the server)?</p>
<p>is it possible?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arulprakasan</title>
		<link>http://blog.sqlauthority.com/2008/06/16/sql-server-introduction-to-serverproperty-and-example/#comment-117660</link>
		<dc:creator><![CDATA[Arulprakasan]]></dc:creator>
		<pubDate>Wed, 09 Feb 2011 11:38:24 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=649#comment-117660</guid>
		<description><![CDATA[how to use the following query in c# using LINQ?

select serverproperty(&#039;ServerName&#039;)]]></description>
		<content:encoded><![CDATA[<p>how to use the following query in c# using LINQ?</p>
<p>select serverproperty(&#8216;ServerName&#8217;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vinc</title>
		<link>http://blog.sqlauthority.com/2008/06/16/sql-server-introduction-to-serverproperty-and-example/#comment-89062</link>
		<dc:creator><![CDATA[vinc]]></dc:creator>
		<pubDate>Thu, 23 Sep 2010 05:56:29 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=649#comment-89062</guid>
		<description><![CDATA[2Asad:

exec master..sp_dropserver &#039;Name_of_server&#039;

exec master..sp_addserver &#039;New_name&#039;, &#039;local&#039; 

After this u must restart the SQL_Server]]></description>
		<content:encoded><![CDATA[<p>2Asad:</p>
<p>exec master..sp_dropserver &#8216;Name_of_server&#8217;</p>
<p>exec master..sp_addserver &#8216;New_name&#8217;, &#8216;local&#8217; </p>
<p>After this u must restart the SQL_Server</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vinod</title>
		<link>http://blog.sqlauthority.com/2008/06/16/sql-server-introduction-to-serverproperty-and-example/#comment-86565</link>
		<dc:creator><![CDATA[Vinod]]></dc:creator>
		<pubDate>Sat, 04 Sep 2010 08:29:56 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=649#comment-86565</guid>
		<description><![CDATA[Hi.
This is great. I want to know that how can i get Server and client IP Address.

Thanks,
Vinod]]></description>
		<content:encoded><![CDATA[<p>Hi.<br />
This is great. I want to know that how can i get Server and client IP Address.</p>
<p>Thanks,<br />
Vinod</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rajendiran</title>
		<link>http://blog.sqlauthority.com/2008/06/16/sql-server-introduction-to-serverproperty-and-example/#comment-85644</link>
		<dc:creator><![CDATA[Rajendiran]]></dc:creator>
		<pubDate>Mon, 30 Aug 2010 11:28:55 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=649#comment-85644</guid>
		<description><![CDATA[Hi,


 i want know  data file location using serverproperty.
If it is possible please let me know.



Thanks,
Rajendiran.M]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p> i want know  data file location using serverproperty.<br />
If it is possible please let me know.</p>
<p>Thanks,<br />
Rajendiran.M</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Asad</title>
		<link>http://blog.sqlauthority.com/2008/06/16/sql-server-introduction-to-serverproperty-and-example/#comment-84372</link>
		<dc:creator><![CDATA[Asad]]></dc:creator>
		<pubDate>Tue, 17 Aug 2010 07:56:13 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=649#comment-84372</guid>
		<description><![CDATA[Select @@servername 
&amp; 
Select serverproperty(&#039;servername&#039;)

Give different values after

sp_dropserver(&#039;DB1&#039;)
sp_addserver(&#039;TESTSERVER&#039;), &#039;LOCAL&#039;

were executed why? How can i change server name so that i can write just the instance name and not whole systemname\db_instance_name to connect to the server?]]></description>
		<content:encoded><![CDATA[<p>Select @@servername<br />
&amp;<br />
Select serverproperty(&#8216;servername&#8217;)</p>
<p>Give different values after</p>
<p>sp_dropserver(&#8216;DB1&#8242;)<br />
sp_addserver(&#8216;TESTSERVER&#8217;), &#8216;LOCAL&#8217;</p>
<p>were executed why? How can i change server name so that i can write just the instance name and not whole systemname\db_instance_name to connect to the server?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harold Brotherton</title>
		<link>http://blog.sqlauthority.com/2008/06/16/sql-server-introduction-to-serverproperty-and-example/#comment-82237</link>
		<dc:creator><![CDATA[Harold Brotherton]]></dc:creator>
		<pubDate>Thu, 29 Jul 2010 17:31:21 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=649#comment-82237</guid>
		<description><![CDATA[Did you ever get an answer to - how do I run serverproperty queries through a linked server?]]></description>
		<content:encoded><![CDATA[<p>Did you ever get an answer to &#8211; how do I run serverproperty queries through a linked server?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jane</title>
		<link>http://blog.sqlauthority.com/2008/06/16/sql-server-introduction-to-serverproperty-and-example/#comment-62749</link>
		<dc:creator><![CDATA[Jane]]></dc:creator>
		<pubDate>Thu, 11 Mar 2010 14:37:48 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=649#comment-62749</guid>
		<description><![CDATA[Hello

Wonderful script: but I&#039;ve found that SERVERPROPERTY(&#039;licensetype&#039;) doesn&#039;t work in anything above SQL 2000 without a bit of registry hacking, which is described &lt;a href=&quot;http://blogs.msdn.com/sqlblog/archive/2006/11/10/tracking-license-information-in-sql-2005.aspx&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;

And that article assumes you know what your licence setup is...

Have you any brilliant ideas for when you&#039;ve taken over a lot of servers and are unsure as to the licensing status of them?

Many thanks

Jane]]></description>
		<content:encoded><![CDATA[<p>Hello</p>
<p>Wonderful script: but I&#8217;ve found that SERVERPROPERTY(&#8216;licensetype&#8217;) doesn&#8217;t work in anything above SQL 2000 without a bit of registry hacking, which is described <a href="http://blogs.msdn.com/sqlblog/archive/2006/11/10/tracking-license-information-in-sql-2005.aspx" rel="nofollow">here</a></p>
<p>And that article assumes you know what your licence setup is&#8230;</p>
<p>Have you any brilliant ideas for when you&#8217;ve taken over a lot of servers and are unsure as to the licensing status of them?</p>
<p>Many thanks</p>
<p>Jane</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Teresa</title>
		<link>http://blog.sqlauthority.com/2008/06/16/sql-server-introduction-to-serverproperty-and-example/#comment-55821</link>
		<dc:creator><![CDATA[Teresa]]></dc:creator>
		<pubDate>Fri, 11 Sep 2009 17:01:19 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=649#comment-55821</guid>
		<description><![CDATA[This is a great function, but how do you get it to work on a linked server without it returning the value of the server you are running it from?]]></description>
		<content:encoded><![CDATA[<p>This is a great function, but how do you get it to work on a linked server without it returning the value of the server you are running it from?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brendan</title>
		<link>http://blog.sqlauthority.com/2008/06/16/sql-server-introduction-to-serverproperty-and-example/#comment-40351</link>
		<dc:creator><![CDATA[Brendan]]></dc:creator>
		<pubDate>Thu, 17 Jul 2008 04:30:13 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=649#comment-40351</guid>
		<description><![CDATA[script runs fine on 2K, 2005, CTP6 and RC0]]></description>
		<content:encoded><![CDATA[<p>script runs fine on 2K, 2005, CTP6 and RC0</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bertaalders</title>
		<link>http://blog.sqlauthority.com/2008/06/16/sql-server-introduction-to-serverproperty-and-example/#comment-39799</link>
		<dc:creator><![CDATA[bertaalders]]></dc:creator>
		<pubDate>Sat, 05 Jul 2008 16:31:14 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=649#comment-39799</guid>
		<description><![CDATA[i never used this, and i am new at programming.
do you have an example in delphi for me?
that works?]]></description>
		<content:encoded><![CDATA[<p>i never used this, and i am new at programming.<br />
do you have an example in delphi for me?<br />
that works?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: srikanth</title>
		<link>http://blog.sqlauthority.com/2008/06/16/sql-server-introduction-to-serverproperty-and-example/#comment-39743</link>
		<dc:creator><![CDATA[srikanth]]></dc:creator>
		<pubDate>Thu, 03 Jul 2008 19:48:58 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=649#comment-39743</guid>
		<description><![CDATA[I am getting errors when I tried to run this script on RC0 2008]]></description>
		<content:encoded><![CDATA[<p>I am getting errors when I tried to run this script on RC0 2008</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: devdatta bhosale</title>
		<link>http://blog.sqlauthority.com/2008/06/16/sql-server-introduction-to-serverproperty-and-example/#comment-39576</link>
		<dc:creator><![CDATA[devdatta bhosale]]></dc:creator>
		<pubDate>Sun, 29 Jun 2008 02:32:07 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=649#comment-39576</guid>
		<description><![CDATA[I cut this query and try to run in sql2005 but is gives error Msg 102, Level 15, State 1, Line 1
Incorrect syntax near &#039;‘&#039;.
Please tell me where is problem]]></description>
		<content:encoded><![CDATA[<p>I cut this query and try to run in sql2005 but is gives error Msg 102, Level 15, State 1, Line 1<br />
Incorrect syntax near &#8216;‘&#8217;.<br />
Please tell me where is problem</p>
]]></content:encoded>
	</item>
</channel>
</rss>

