Title: Insert psql commands inside a script

  I have used the psql -f /tmp/SelectCommands.sql before, but now I want to put the sql statement right in the shell script.  I haven't had any luck.  Is there a command I can use that will not point to a file for the sql instructions but right on the same line.  I use very short psql commands and would like to do it all with 1 file.

Thank You
David

    THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


Reply via email to