Hi Tony,
Here is a simple example:
//This opens the JMPCARS table from SOMESCHEMA schema and gives it the title "mytest" //in JMP
dt =Open Database ("DSN=ORACLEDSN;DBQ=TheDBQ;UID=MyUID;pwd=MyPW", "SELECT * FROM SOMESCHEMA.JMPCARS", "mytest");
//Work on the data table or modify it in some way
dt << Save Database("DSN=ORACLEDSN;DBQ=TheDBQ;UID=MyUID;pwd=MyPW", "SOMESCHEMA.JMPCARS", Replace)
The "Replace" in this case is optional, but tells JMP to first perform a DROPTABLE action to remove the original table from the database, before attempting to save the current table to the database. If you don't specify Replace, then the table name specified must not already exist in the database or you will get an error.
Brian Corcoran
JMP Development