Interviewer And Interviewee Guide

SQL Interview Question:

You want to include a carriage return/linefeed in your output from a SQL script, how can you do this?

Submitted by: Administrator
Expected answer: The best method is to use the CHR() function (CHR(10) is a return/linefeed) and the concatenation function "||". Another method, although it is hard to document and isn?t always portable is to use the return/linefeed as a part of a quoted string.
Submitted by: Administrator

Read Online SQL Job Interview Questions And Answers
Copyright 2007-2025 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.

Interview Questions Answers .ORG