Josh Godfrey
11/19/2021, 9:49 PMTO_DATE('11/19/2021 16:01:00','MM/DD/YYYY HH24:MI:SS')
I get no results.
{
"q": "SELECT * type FROM DeletedRecord where recordtypeid = 'customrecord_plx_role' and deleteddate >= TO_DATE('11/19/2021 16:01:00','MM/DD/YYYY HH24:MI:SS')"
}
However, when I pass in TO_DATE('11/19/2021 13:01:00','MM/DD/YYYY HH24:MI:SS')
it finds the deleted record.
Query:
{
"q": "SELECT * type FROM DeletedRecord where recordtypeid = 'customrecord_plx_role' and deleteddate >= TO_DATE('11/19/2021 13:01:00','MM/DD/YYYY HH24:MI:SS')"
}
Response:
"count": 1,
"hasMore": false,
"items": [
{
"links": [],
"context": "UIF",
"deletedby": "493811",
"deleteddate": "11/19/2021",
"iscustomlist": "F",
"iscustomrecord": "T",
"iscustomtransaction": "F",
"name": "Sukhdev Test ",
"recordid": "106",
"recordtypeid": "customrecord_plx_role",
"scriptid": "customrecord_plx_role",
"type": "CUSTOMRECORD"
}
],
"offset": 0,
"totalResults": 1
}
Clay Roper
11/19/2021, 9:53 PMClay Roper
11/19/2021, 9:54 PMJosh Godfrey
11/19/2021, 9:55 PMJosh Godfrey
11/19/2021, 9:58 PM{
"q": "SELECT *, TO_DATE(deleteddate,'MM/DD/YYYY HH24:MI:SS') AS deleted_timestamp FROM DeletedRecord where recordtypeid = 'customrecord_plx_role' and deleteddate >= (CURRENT_DATE - ( 240 / 1440 ))"
}
Clay Roper
11/19/2021, 10:30 PMClay Roper
11/19/2021, 10:35 PMstalbert
11/22/2021, 3:43 PMClay Roper
11/22/2021, 3:48 PMstalbert
11/22/2021, 3:49 PMJosh Godfrey
11/22/2021, 3:50 PMJosh Godfrey
11/22/2021, 3:51 PMJosh Godfrey
11/22/2021, 3:51 PMJosh Godfrey
11/22/2021, 3:52 PM