MSSQL 7 Equivalant of MSSQL200 serverproperty(''servername'') ???

  • HI,

    What is the equivalant in MSSQL 7 for the following MSSQL2000 statement:

    select CAST(serverproperty('servername') AS varchar(20))

    Many thanks. Jeff

  • Jeff

    select CAST(@@servername as varchar(20))

    Yelena

    Regards,Yelena Varsha

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply