I am querying betwen a date range. Perhaps I am overthinking this as I haven't queried using timestamps before (example of what the dates look like in the DB are below).
11/02/2018 10:53:01.465000 AM
11/02/2018 12:40:43.716000 PM
Example of my query is below:
Open Database (
"DSN = PROD; UID= " || ID || " , PWD= " || PASS || "; MODE = SHARE; DBALIAS = PROD;",
"SELECT *
FROM pODSCFView.FRD_TABLE
WHERE TRN_DT >= date and TRN_DT <= date");
DT1 = Current Data Table ();