sqlplus -s username/password@sid set trimspool on; set linesize 120; set pagesize 2000; set newpage 1; set heading off; set term off; spool sys_user.txt; select col1||','||col2||','||col3||','||col4||'..' from sys_user; spool off; exit;
sqlplus -s username/password@sid set trimspool on; set linesize 120; set pagesize 2000; set newpage 1; set heading off; set term off; spool sys_user.txt; select col1||','||col2||','||col3||','||col4||'..' from sys_user; spool off; exit;