oracle - How to spool all data in a column in SQL*Plus -
While scrolling down using setup, the output is broken on the new line, so not all data in a column The file is going. Set the zero-term 'zero' serveroutput set on SPOOL set to off on the LINESIZE set off the termout long 1000000000 longc 60000 set markup HTML 15000 sets set set to set the trim set NUMWIDTH 50 set AUTOCOMMIT off SPOOL logs.html choose some_table *; I tried a specific query that has a log in a column that looks multiline, when I am doing the same spelling, only the first line is coming in the output and the rest Being shortened I tried to set up several options like a very large line size etc. But nobody helps.
The same query works fine in SQL Developer and I can see all the rows.
Columns stored in sample data:
"SQL exception: java.sql.SQLSyntaxErrorException: ORA-00933: SQL order not properly terminated for query: with INSTR (txt, ',', 1, level + 1) - INSTR (txt, ',' , 1, level) -1) org_id FROM (select ',' | | | | 1 || ',' double as TXT in the form of the layer); connect & lt; length = (TXT) -LENGTH (REPLACE (txt, ',', '')) - 1) Select DISTINCT fdo.user_id, fdo.user_name, (Select FIRST_NAME || '' || SISE_USERS to LAST_NAME where USER_ID = fdo.user_id) USER_FULL_NAME , Zero "f Do.role_id ", zero" fdo.role_name ", zero" fdo.activity_id ", zero" fdo.activity_short_name ", Fdo.activity_name FROM ORG_flow_qm_v fdo currently SQL * plus spool only Shows a line in column:
SQL e Xception: java.sql.SQLSyntaxErrorException: ORA-00933: SQL command did not end properly How do I get complete log / data in a spool file?
Comments
Post a Comment