613-518-1166 info@zimdatabases.com

ZIM Language Reference

$ServerFunction

< All Topics

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 in 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

Server Side Functions with Input Parameters

The Benefits of $ServerFunction

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Table of Contents