Hello,
Apologies if this is a simple question. Am running CR10, querying an Oracle database, connected via OLEDB.
Am using a Command in Database Expert, SQL as follows:
SELECT ID_NUMBER, EVENT_TIME FROM ALL_EVENTS
Also have a Parameter Field called StartDate, which a value of type Date.
I want to pass the Parameter through to the Command and since EVENT_TIME is a DateTime field I thought I could try:
SELECT ID_NUMBER, EVENT_TIME FROM ALL_EVENTS
WHERE EVENT_TIME > '{?StartDate}'
which syntactically parses but dosen't return any results... so I'm guessing the '{?StartDate}' is incorrect.
What should the syntax be?
Apologies if this is a simple question. Am running CR10, querying an Oracle database, connected via OLEDB.
Am using a Command in Database Expert, SQL as follows:
SELECT ID_NUMBER, EVENT_TIME FROM ALL_EVENTS
Also have a Parameter Field called StartDate, which a value of type Date.
I want to pass the Parameter through to the Command and since EVENT_TIME is a DateTime field I thought I could try:
SELECT ID_NUMBER, EVENT_TIME FROM ALL_EVENTS
WHERE EVENT_TIME > '{?StartDate}'
which syntactically parses but dosen't return any results... so I'm guessing the '{?StartDate}' is incorrect.
What should the syntax be?
![[pc2] [pc2] [pc2]](/data/assets/smilies/pc2.gif)