• Hi,

    You can use it as shown below:

    SELECT [master].[dbo].fn_sqlvarbasetostr(@@DBTS)

    There is a predefined scalar function in Master database to do this.. 🙂

    Regards,

    Navamohan K