I have a .csv file where first row indicates the valid date of the data in that file. Rest of the rows represent data.
I would like to import the data in a database table and add a new column called Effective Date and populate it with the date in the first row.
What's the best wat to approach this?
I was thinking to
(a) capture the date in the first row in a variable and
(b) use that to populate the new column Effective Date using Formula tool & Expression.
But, can't find anywhere on how to create a variable.
Is there another way of approaching this?