I was writing a SQL script like the following for SQL server 2005:
select '============================'
select '~~~~~~~~~~~~~~'
select char(13) + 'Control 127232:'
exec xp_loginconfig
go
I noticed that there i开发者_StackOverflows a '-' symbols after my string of 'select '============================'' and also after my string of '~~~~~~~~~~~~~~'.
Sample output:
============================
-
~~~~~~~~~~~~~~
-
Control 127232:
I would like to remove this '-' symbols if possible?
thanks
Perhaps instead of SELECT
ing this information, you would be more interested in PRINT
ing it.
精彩评论