How can I Column update from one Table to another based on a ID match?
I have one equery:
csvq 'update nullbatches join file on nullbatches.Inv_date=file.Inv_date set nullbatches.Btc_no = file.Btc_no where file.P_code!=9 and file.P_code!=42 and nullbatches.P_code!=9 and nullbatches.P_code!=42' ( my csvs: nullbatches.csv, file.csv)
Which says: [L:1 C:20] syntax error: unexpected token "join"
Is it doable?
How can I Column update from one Table to another based on a ID match?
I have one equery:
csvq 'update nullbatches join file on nullbatches.Inv_date=file.Inv_date set nullbatches.Btc_no = file.Btc_no where file.P_code!=9 and file.P_code!=42 and nullbatches.P_code!=9 and nullbatches.P_code!=42' ( my csvs: nullbatches.csv, file.csv)
Which says: [L:1 C:20] syntax error: unexpected token "join"
Is it doable?