Execute A Psql Commands Through Batch File (*.bat)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • GOPALA
    New Member
    • Mar 2008
    • 1

    Execute A Psql Commands Through Batch File (*.bat)

    Hi ,
    How To Execute A Psql Commands Through Batch File(.bat). My Aim Is , Usting Batch File , Connect The Database And Then Execute The Psql Statements.
    Last edited by eWish; Mar 18 '08, 02:59 PM. Reason: Removed [center] tags
  • rski
    Recognized Expert Contributor
    • Dec 2006
    • 700

    #2
    Originally posted by GOPALA
    Hi ,

    How To Execute A Psql Commands Through Batch File(.bat).

    My Aim Is , Usting Batch File , Connect The Database And Then Execute The Psql Statements.
    is bat. file under windows? (sorry for my lack of knowledge)
    Can't you use psql command with -c option?

    Comment

    Working...