Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2001-10-05 : 09:50:05
|
Aurelien writes "Hi all,I get a problem with a PL/SQL sample, it's working properly but I have a problem with the first and the last line of the generated text file.Here's my sample:SET NEWPAGE 0SET SPACE 0SET LINESIZE 80SET PAGESIZE 0SET TERMOUT OFFSET ECHO OFFSET FEEDBACK OFFSET HEADING OFFSET MARKUP HTML OFF SPOOL OFFSET COLSEP ','SPOOL toto.txtselect CODECLIENT, BRANCHE, LIBELLEBRANCHE from bytl.BT_CLIENT;SPOOL OFFSET TERMOUT ONSET ECHO ONSET FEEDBACK ONSET HEADING ONAnd my result is:select CODECLIENT, BRANCHE, LIBELLEBRANCHE from bytl.BT_CLIENT;0104000408,PRO ,RESEAU BOUTIQ. BYTL0104000404,PRO ,RESEAU BOUTIQ. BYTL0104000405,PRO ,RESEAU BOUTIQ. BYTL0104000406,PRO ,RESEAU BOUTIQ. BYTL0104000407,PRO ,RESEAU BOUTIQ. BYTL0104000408,PRO ,RESEAU BOUTIQ. BYTL0104000404,PRO ,RESEAU BOUTIQ. BYTLSPOOL OFFDo you have an issue 'cause I don't want to have those first and last lines.Thanks in advance,Regards from Paris (France),Aurelien" |
|
|
|
|
|
|