SQLPLUS not available
I need to be able to call a SQL script from the command line and pass in parameters for use. The script will read in data from an excel spreadsheet (file specified also at command line) to append records to an existing table in the database.
There are two additional columns in the database table that do NOT exist in the spreadsheet. Those columns are month and year. Those two values need to be entered at the command line and populated for each new record added. Whatever is entered at the command line will be the same value for each of the new records. (Any existing records in the table need to be remain untouched).
Can you help?
I was thinking about using osql to specify the user, password, database and .sql
file.