14.03.2014 Views

Scripting Guide - SAS

Scripting Guide - SAS

Scripting Guide - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

480 Extending JMP Chapter 14<br />

Database Access<br />

"SQLFILE=C:\mySQLFile.txt"<br />

The third argument, outputTableName, is optional and specifies the name of the output table to be<br />

created, if any. Note that Open Database does not always return a data table. The return value might be<br />

null. Whether it returns a data table depends on the type of SQL statement executed. For example, a<br />

SELECT statement would return a data table, but a DROP TABLE statement would not.<br />

To save a table back to a database through JSL, send the data table reference a Save Database( )<br />

message:<br />

dt

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!