The SQL connection in JMP is great for reading data - is anyone using it to write data?
I have a stored procedure which gathers data and writes it to a new table. It uses a second table to read the list of parameters so it knows what data to collect. I can read this table with JMP but writing to it is far from easy:
- the text columns are saved as in JMP nvarchar with trailing white spaces - this requires a white space trim function to use the uploaded text columns
- dates download correctly but the OBDC driver throws an error if you try to write them as dates. You can get round this by first converting the column to text format and then converting back on use but is rather annoying.
Currently I use a stored procedure to copy the correct data from the JMP created table to the master table which overcomes the limitations indirectly.
My question is there a better way to use JSL/SQL together to read a table, add new rows and then write the alterations/amendments back to the server?