Menu

WbExecute

Franz

SqlCommand WbExecute let you execute Javascript code or file with built-in Javascript engine Nashorn. It is also possible to execute a SQL file or code depending on the connected database system.

Examples

-- Executing file check_db.js
WbExecute file=check_db.js;
-- Executing code only for Oracle database, omitting for other database systems
WbExecute -lang=sql -isDBMS=oracle 
          -code=alter table T_SCHEDULER modify PROD_DATE_STR not null;

Related

Wiki: Home

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.