开发者

(SQL SCRIPT + SQL SERVER 2005) Weird '-' symbols

开发者 https://www.devze.com 2023-04-07 01:51 出处:网络
I was writing a SQL script like the following for SQL server 2005: select \'============================\'

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 SELECTing this information, you would be more interested in PRINTing it.

0

精彩评论

暂无评论...
验证码 换一张
取 消