Hi,
I have two tables. (A and 
Table A contain (2000events along the duration of a test) events marking the beginning of a period and the name of the period at specific timestamps (underlined line is header)
TimeStamp, Period
30-12-2021 17:35:49.1, A
30-12-2021 17:39:36.8, B
...
so Period A is between "30-12-2021 17:35:49.1" and "30-12-2021 17:39:36.8"
Table B is of a log file recording data also with timestamps (underlined line is header) around 6000000 datapoints
timestamp, sensor1, sensor2, sensor3,...
30-12-2021 17:37:21.2, value, value, value,...
30-12-2021 17:37:22.2, value, value, value,...
30-12-2021 17:37:23.2, value, value, value,...
I would like to add a now column to table B with the Period value from Table A based on the value of the timestamp in B.
If timestamp in B is bigger or equal than timestamp in Row (N) in table A AND also smaller than timestamp in Row (N+1) of table A then the period value in Row (N) will be assigned for that record in table B (timestamp in B is between two timestamps in A)
Any suggestions?
Thanks