Results 1 to 2 of 2

Thread: Execute query

  1. #1
    Join Date
    Nov 2006

    Unanswered: Execute query

    I have placed all sql statements in a text file ( using vi editor under LINUX). hOW CAN I EXECUTE SQL STATEMENTS?

  2. #2
    Join Date
    Nov 2006
    Use postgres command
    \i path_to_file_with_queries\file_name
    or simply
    \i file_name (if run psql from a directory where file with query is)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts