So in the source database in the actual table it is data type DateTime2(7)
Is it mysql, sql server or ?
Could you provide some sample data as follows
create table #sample(dateAndTime DateTime2(7), tk1_lt int)
insert into #sample
values('2022-01-02T13:33:44',23)
and we could try it on our side. Actually that error message is interesting it says db has not time column I would think it should say table or data source. How could it know the whole db has no time column
works for me. make sure your date filter matches the data range you have. the sample value you provided is 2022-01-02 so your date filter/span should be cover those dates
drop table spocas;
CREATE TABLE spocas (
DateAndtime DateTime2(7)
,Tk1_Lt float
);
insert into spocas
select distinct top 100000
dateadd(dd, a.column_id, getdate()) as DateAndtime ,
cast(b.column_id * .10 as float)
from sys.all_columns a
cross apply sys.all_columns b
select * from spocas