NAME
sqlbuffer - manage shell's SQL buffer
SYNOPSIS
sqlbuffer [OPTION]
DESCRIPTION
sqlbuffer works with the local shell's SQL buffer. The -l and -s options require that a file name be specified. On -s option, if file already exists, buffer is appended to file;
if file does not exist, file is created and buffer is written to file.
If OPTION is not supplied, sqlbuffer prints the SQL buffer contents to standard output.
OPTIONS
-c
Clear the buffer.
-e
Edit the buffer.
-l FILE
Load the buffer contents from file.
-p
Print the SQL buffer contents to standard output.
-s FILE
Save the buffer contents to file.
EXAMPLES
To clear the SQL Buffer of all contents
sqlbuffer -c
To edit the SQL Buffer contents
sqlbuffer -e
To load a file into the SQL Buffer
sqlbuffer -l file.txt
To save the SQL Buffer contents to a file
sqlbuffer -s file.txt
To print the SQL Buffer contents to screen
sqlbuffer -p
SEE ALSO