In SAS 9.1 I a had a script querying a medication table with a list of over 100 different medications.
If the list was especially long I would create a spreadsheet in Excel and import the list into the work space, write a script matching where a.description = b.description.
Neither function appears in JMP.
I cannot bring in an Excel file, cannot bring in another table, ONCE THE CONNECTION TO THE ORACLE SCHEMA IS ESTABLISHED IN QUERYBUILDER.
CAN ONLY BRING IN TABLES IN THAT SPECIFIC (I have over FIVE ORACLE schemas to query) SCHEMA. (ridiculous, just ridiculous)
Do I need to create over 100 filters on the drug description, one for each medication?
OR is there a way to concatenate each drug prescription into one long string and filter on that string?
QueryBilder code filtering just one (of over 100) medications below:
SELECT DISTINCT ID, DESCRIPTION, STARTDATE, STOPDATE
FROM SCHEMA.TABLE
WHERE ( ( ( (t1.DESCRIPTION LIKE '%ABILIFY%' ) ) );