You want to include a carriage return/linefeed in your output from a SQL script, how can you do this?
Submitted by: AdministratorExpected 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
Submitted by: Administrator
Read Online SQL Job Interview Questions And Answers
Top SQL Questions
☺ | Under which circumstance must you recompile the package body after recompiling the package specification? |
☺ | What is sql Posting? |
☺ | For which trigger timing can you reference the NEW and OLD qualifiers? |
☺ | The command used to open a CURSOR FOR loop is? |
☺ | What occurs if a procedure or function terminates with failure without being handled? |
Top Databases Programming Categories
☺ | RDBMS Interview Questions. |
☺ | SQL Interview Questions. |
☺ | SSRS Interview Questions. |
☺ | Sybase Interview Questions. |
☺ | Database Administrator (DBA) Interview Questions. |