简体   繁体   English

SQL查询中的\r\n有什么用

[英]What is the use of \r\n in the SQL queries

I'm trying to understand a piece of SQL query in a springboot project in which \r\n is being used multiple times in the query.我试图了解一个 springboot 项目中的一段 SQL 查询,其中 \r\n 在查询中被多次使用。 I'm not understanding the signification of this(\r\n) in accessing data from a database table.我不理解 this(\r\n) 在从数据库表中访问数据的意义。 If anyone can tell me the use of '\r\n' in SQL queries.如果有人能告诉我在 SQL 查询中使用 '\r\n'。

That is just white space that is ignored.那只是被忽略的空白。 The query was probably written on a Microsoft Windows system, which has interesting ideas about what a line break should look like.该查询可能是在 Microsoft Windows 系统上编写的,该系统对换行符的外观有有趣的想法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM