The way to wrap lines in Navicat is to enter text in the value field. Enter \n where you want a newline. save Changes.
How to wrap lines in Navicat
Method: Use \n
In Navicat, you can use \n
to wrap lines. \n
is an escape character representing a newline character.
Steps:
\n
where a line break is required. Example:
<code class="sql">UPDATE 表名称 SET 文本字段 = '第一行\n第二行\n第三行';</code>
The above SQL statement will create three lines of text in a text field, with each line separated by a newline character.
Other notes:
\n
can only be used for value fields, not column names or table names. CHAR(10)
. The above is the detailed content of How to wrap rows in navicat table. For more information, please follow other related articles on the PHP Chinese website!