What carriage return char string do I need to join 2 text values together?

  • I have a excel spreadsheet with many columns. I want to join 2 columns together and put a carriage return between them. The file is then converted to a text file & imported to SQL d/b - what is the char value for the carriage return? Char(10) only puts a small square as the value

  • char(13)

  • In ASCII text, Windows systems, we often have carriage return (CR) and a line feed (LF). Unix can be different.

    Look up ASCII codes and experiment. CHR(13) should work, but Excel might do different things with different data.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply