Difference between revisions of "ExecSQL"
From AgileApps Support Wiki
imported>Aeric (→Syntax) |
imported>Aeric |
||
Line 13: | Line 13: | ||
====Returns==== | ====Returns==== | ||
:[[Result Class|<tt>Result</tt>]] object | :[[Result Class|<tt>Result</tt>]] object | ||
====Sample App==== | |||
:* [[Create a JSP Record List from a SQL Query]] | |||
:: This sample uses the execSQL operation to populate a JSP page with a list of object records. | |||
====Learn More==== | ====Learn More==== |
Revision as of 22:55, 28 December 2011
Execute a SQL query.
Syntax
- <syntaxhighlight lang="java" enclose="div">
Result result = Functions.execSQL(String query); </syntaxhighlight>
Parameters
- query
- The SQL query to execute.
- Learn more: SQL Syntax
Returns
- Result object
Sample App
-
- This sample uses the execSQL operation to populate a JSP page with a list of object records.