SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 servername
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

arkiboys
Flowing Fount of Yak Knowledge

1418 Posts

Posted - 02/15/2013 :  05:54:51  Show Profile  Reply with Quote
Do you know why the following two queries give the same result in my production machine where as they give different result in Development machine?

--1
SELECT CONVERT(sysname, SERVERPROPERTY(N'servername'))

GO
--2
SELECT @@SERVERNAME

visakh16
Very Important crosS Applying yaK Herder

India
52317 Posts

Posted - 02/15/2013 :  05:59:48  Show Profile  Reply with Quote
sounds like this

http://www.sqlservercentral.com/Forums/Topic556439-146-1.aspx

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

arkiboys
Flowing Fount of Yak Knowledge

1418 Posts

Posted - 02/15/2013 :  06:11:39  Show Profile  Reply with Quote
quote:
Originally posted by visakh16

sounds like this

http://www.sqlservercentral.com/Forums/Topic556439-146-1.aspx

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/




Thanks
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000