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;
2024-03-06 12:16:13
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;