Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Need SQL code to show data into regular text instead of breakage

$
0
0

Hi All,

I have a table with one column, lets say DataField as varchar(255)

If I run select statement I get like this

Select DataField from table

Output:

DataField
A:01 B:02 C:03 D:04 E:05

But when I copy / paste same data in SSMS or notepad, it shows breaking data into multiple lines like this..

DataField

A:01
B:02
C:03
D:04
E:05

I need SQL query to show data in regular text format instead of <br>(breaking)

DataField
A:01 B:02 C:03 D:04 E:05

Thanks,
RH


sql


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>