Inserting line feed in sql
-
I am editing a sql statement. I have successfully added the new fields I want but upon display any line feed characters etc I use are either ignored or displayed literally.
The plugin developer has put my “requirement” on a wish list but rather than holding my breath and having a modicum of sql I did it myself.
below is a pseudo statement showing what I have tried and either they show literally or do nothing.
SELECT CustomerName, char(10), “\n”, “<br>”, CONCAT(Address, “\n”, PostalCode, “char(10)”, City) AS Address
FROM Customers;I guess this depends upon how the plugin “translates” the sql for display but I haven’t got to that part in the book yet 🙂 Any ideas? Apart from hire a developer that is, how else does one learn..
- The topic ‘Inserting line feed in sql’ is closed to new replies.