Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by fig

  1. fig

    Using variables while redirecting input from file?

    If I want to test some SQL with the following at the CLI: psql test < test.sql > test.txt ...is there a way to set a variable with a SELECT, and then use that variable when doing a subsequent INSERT in the test.sql file? Ideas? Thanks, fig

Part and Inventory Search

Back
Top