I have this sql script that I would like to execute in a java program. It takes on 3 parameters: dropper_id, to_char(begin_dt), to_char(end_dt). How would I do this?
The program is held on a Unix server.
The sql script is also located on the Unix server.
I think i would most likely want to execute the program by command line, but how do I execute it with parameters?
Process p = Runtime.getRuntime().exec ("psql sql_script.sql");