79531186

Date: 2025-03-24 13:25:37
Score: 3.5
Natty:
Report link

If I am pasting from SSMS into Excel and I want an entry to appear on two lines within Excel, Char(10) doesn't work for me either — with or without Turn on Word Wrap.

I activate Turn on Word Wrap for the whole sheet and add a couple of spaces where I want the concatenation to happen. This works because most of my strings are of similar length and columns in Excel have been set to slightly greater than this length.

It's not at all elegant but it works for me.

Reasons:
  • Whitelisted phrase (-1): works for me
  • RegEx Blacklisted phrase (1): I want
  • RegEx Blacklisted phrase (2): doesn't work for me
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sean Redmond