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. I'm not understanding the signification of this(\r\n) in accessing data from a database table. If anyone can tell me the use of '\r\n' in SQL queries.
Asked
Active
Viewed 867 times
-1
-
1Take a look this question: https://stackoverflow.com/questions/10059142/reading-r-carriage-return-vs-n-newline-from-console-with-getc/10059171 – Emin Mesic Apr 27 '21 at 06:25
1 Answers
0
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.

Laurenz Albe
- 209,280
- 17
- 206
- 263