How to get the SQL Server name (Database server)?
2012-05-24 22:18
543 查看
Sql script to get database server name in sql server
1. 启动并连接SQL Server前可以看到2. 连接后,在Object Explorer区域的最上油桶似的标志那里
3. We can also get the server name in sql server by following sql query:
SELECT @@SERVERNAMEAS [Server]
相关文章推荐
- CodeSnip: How to Get Id of the Record Using ASP.NET and SQL Server 2000
- sql server query to get the list of column name in a table
- How to recreate the msdb database in SQL Server 2005
- How to shrink the tempdb database in SQL Server
- How to select the data type in SQLserver database such as varchar, nvarchar
- How to move the databases that are used by SharePoint Portal Server 2003 to a computer that is running SQL Server
- How To Trace The Remote File Server (RFS) Process In Physical Standby Database (Doc ID 1481125.1)
- How to recover a SQL Server Database
- How to Get First and Last Day of a Week in SQL Server
- Database Engine Tuning Adviser: How to tune your new SQL Server 2005
- - String cannot be resolved to a type - The method getServerName() from the type ServletRequest
- C# How to get the system drive of remote server
- Designing Data Storage Architecture- How to Sync Large SQL Server Databases to SQL Azure
- How to move databases between computers that are running SQL Server
- How To Get Application Path,And How To Get The Path's Directory,File Name,And Type Info(如何得到运行程序的路径,以及如何得到路径的文件夹,文件名,以及类型等等信息)
- Could not store transport type data for Receive Location 'Recv.Loc' to config store. Primary SSO Server 'Sql-server' failed. The external credentials in the SSO database are more recent.
- how to get the space size of some tables in one database?
- How do you get the server to recognize changes to groups immediately?
- How to Downgrade a Database from SQL Server 2005 to SQL Server 2000
- Error while preforming database login with the "sqlserver" driver Unable to create...