Hi,
i have the following code running in query analyser:
PRINT '2.1 DATABASE NAME'
SELECT PROPERTY_VALUE as 'Database Name' FROM DATABASE_PROPERTIES
WHERE PROPERTY_NAME = 'GLOBAL_DB_NAME'
the output is as follows:
2.1 DATABASE NAME
Database Name
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ORMT
FERMATT
how do i get rid of the '-------' part of the output?
i have the following code running in query analyser:
PRINT '2.1 DATABASE NAME'
SELECT PROPERTY_VALUE as 'Database Name' FROM DATABASE_PROPERTIES
WHERE PROPERTY_NAME = 'GLOBAL_DB_NAME'
the output is as follows:
2.1 DATABASE NAME
Database Name
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ORMT
FERMATT
how do i get rid of the '-------' part of the output?