I have an SSIS Package that is importing a CSV file into a table called "OPEX_SPEND". I also have a table called OPEX_Accounts with the following columns:
- opex_id (primary key)
- opex_name
- gl_account
The "OPEX_Spend" has the following columns:
- OPEX_SpendID (primary key)
- opex_id (foreign key to OPEX_Accounts table)
- Date
- ItemText
- Amount
I've created a data flow where the CSV will import the values into the columns of the OPEX_Spend table but the foreign key column (opex_id) is coming up as "NULL". How do I fix this?
opex_id? what is the structure of the csv file? please provide a sample of date? - Hadi