Dear Community,
I'd like to use the data filter object to let users filter some data to be queried from Oracle database via SQL.
So I extracted a small part from data into a JMP table,
and put a data filter over it.
From Data Filter I can extract the where clause,
it may look as follows:
Select Where(
(:PC == "A_PROCESS" | :PC == "C_PROCESS" | :PC == "D_PROCESS") & :TC == "01"
& (:POS >= 25 & :POS <= 126)
)
and I would like to transfer this into an SQL Where-Clause like:
where
PC in ("A_PROCESS", "C_PROCESS", "D_PROCESS")
and TC == "01"
and POS between 25 and 126
As I'm not so familiar with text processing,
is there an easy way how to do this in JMP,
especially how to disassemble the JMP-where-clause (that may be more complex than only concatenated And's),
and to re-assemble it in an SQL-where-clause?
Thanks for any hint, best regards,
Georg
Georg