$ServerFunction
Welcome to our Knowledge Base
Documentation | Blog | Demos | Support
< All Topics
Print
$ServerFunction
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
Executes server-side functions.
Syntax
$serverfunction (server specific syntax [«,parameters»])
Parameters
server specific syntax | A character string or an expression that evaluates to a character string containing a server-specific syntax for execution on the server side. |
parameters | Zero or more expressions to satisfy the usage of the server-specific syntax. |
Return Value
A value created by the server-specific syntax.
Comments
$ServerFunction executes the specific syntax (for a particular server) using the parameters.
The syntax is not parsed and checked, but rather passed through directly to the Server and, therefore, must be accepted and understood there.
Examples
$ServerFunction ("sysfun.left(?,3)",var1)
This will is accepted as is by Oracle.
$ServerFunction("sysfun.left(cast(? as VARCHAR(20),3)",var1)
This syntax is accepted by DB2.
See Also
Updated
ByJason Lee
Was this article helpful?
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
5