The ' setResultSettings' command lays out how grid data will be presented. The ' saveResults' command saves the results of all of the queries in the window, while the 'saveLastResult' command only saves the result for the last query. The 'sendMail' command sends emails using the settings you specify and allows attachments. Query Analyzer scripts have support for client side commands ".sendMail", ".saveResults", ".saveLastResult", "setResultSettings", "setPivotResultSettings" which allow users to either save query results in an EXCEL, HTML, XML, or CSV document, or insert them into a table. To easily generate the needed client commands to execute a procedure or function, you may browse in the schema browser to locate the procedure or function and right-click on the object to select "EXECUTE BIND" from the Script Object menus. The EXECUTE BIND will generate the appropriate Aqua Data Studio client side commands to execute the object. The script EXECUTE will generate the appropriate code needed to execute the object according to the database procedural language (ie. The schema browser contains object scripting for procedures and functions that include "EXECUTE" and "EXECUTE BIND". The commands include print, println, variable, executeCallableQuery, sendMail, saveResults, saveLastResult, setResultSettings and setPivotResultSettings.Ĭlient side commands are identified by a dot at the beginning of the command line, and multiple commands can be executed within one batch statement. This allows for the execution of procedures with OUT parameters. See the AquaScripts and AquaProjects Section for much more complex scripting capabilities. Query analyzer scripts have support for 9 client side commands which allow you to execute a stored procedure with local variables bound to the parameters.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |