0

I'd like to do something like this:

SELECT TABLE.DATE FROM TABLE
WHERE TABLE.DATE IN ("2015-07-23 09:02:11", "2016-06-15 17:23:55", "2017-08-01 23:15:43", "2019-03-12 11:12:32", ...);

Unknown column '2015-07-23 09:02:11' in 'where clause'

What would be the correct syntax to do this? I already know the exact datetimes and have them as strings in a list?

I should also mention, that I am using a commercial database (SAP derivate).

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
Ohumeronen
  • 1,769
  • 2
  • 14
  • 28

0 Answers0