When I try to run the below query I get no result even though the date time is same as that in the table.
The BillDateTime column is of TEXT Data type
SELECT * FROM BillingTransaction WHERE BillDateTime <= datetime('2021-09-19 07:21:31.371766')
BillNo | VechicleNo | BillDateTime | LoadType | BillAmount | FirstWeight | SecondWeight |
---|---|---|---|---|---|---|
1 | ka04sdfl | 2021-09-19 07:21:31.371766 | EMPTY | 30 | 400 | 0 |