Mysql
 SQL >> Datenbank >  >> RDS >> Mysql

Zeilenumbruch in MySQL-INSERT einfügen

Ein Zeilenumbruch kann direkt im SQL-String stehen oder mit Funktionen erzeugt werden:

INSERT INTO mytable (myfield)
VALUES (CONCAT_WS(CHAR(10 USING utf8),
  'hi this is some text',
  'and this is a linefeed.',
  'and another'));