View attributes of an SQL server instance

Source: Internet
Author: User

CodeAs follows:

Select serverproperty ('servername') as servername
Select serverproperty ('buildclrversion') as buildclrversion
Select serverproperty ('colation') as collation
Select serverproperty ('colationid') as collationid
Select serverproperty ('companyonstyle') as comparisonstyle
Select serverproperty ('computernamephysicalnetbios ') as computernamephysicalnetbios
Select serverproperty ('version') as Edition
Select serverproperty ('editionid') as editionid
Select serverproperty ('enginedition ') as engineedition
Select serverproperty ('instancename') as InstanceName
Select serverproperty ('isclustered') as isclustered
Select serverproperty ('isfulltextinstalled') as isfulltextinstalled
Select serverproperty ('isintegratedsecurityonly') as isintegratedsecurityonly
Select serverproperty ('issingleuser') as issingleuser
Select serverproperty ('lcid') as lcid
Select serverproperty ('licensetype ') as licensetype
Select serverproperty ('machinename ') as machinename
Select serverproperty ('numlicenses ') as numlicenses
Select serverproperty ('processsid ') as processid
Select serverproperty ('productversion') as productversion
Select serverproperty ('productlevel') as productlevel
Select serverproperty ('resourcelastupdatedatetime ') as resourcelastupdatedatetime
Select serverproperty ('sqlcharset') as sqlcharset
Select serverproperty ('sqlcharsetname') as sqlcharsetname
Select serverproperty ('sqlsortorder') as sqlsortorder
Select serverproperty ('sqlsortordername') as sqlsortordername

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.