Maximum length of command line argument that can be passed to SQL*Plus?

Try with: xargs –show-limits </dev/null Your environment variables take up 2446 bytes POSIX upper limit on argument length (this system): 2092658 POSIX smallest allowable upper limit on argument length (all systems): 4096 Maximum length of command we could actually use: 2090212 Size of command buffer we are actually using: 131072 There is no limit per … Read more

sqlplus statement from command line

Just be aware that on Unix/Linux your username/password can be seen by anyone that can run “ps -ef” command if you place it directly on the command line . Could be a big security issue (or turn into a big security issue). I usually recommend creating a file or using here document so you can … Read more

Favorite SQL*Plus tips and tricks [closed]

You can use rlwrap to add readline support to sqlplus. Run sqlplus like this: $ rlwrap -c sqlplus username@database Now up/down will scroll through command history. Use ctrl-r to search backwards through history, etc. This makes sqlplus bearable. Also, add this to your login.sql to set the linesize to whatever the width of your terminal … Read more