Use Database Development to create your own functions for SQL Anywhere or Sybase IQ.
Before you can create a user-defined function, be sure the data server that contains the user-defined function is running, and you created and established a connection to the data server.
SQL Type | Description |
---|---|
Watcom-SQL | Choose either Deterministic Function or On Exception Resume. A function specified as not deterministic is re-evaluated each time it is called in a query. |
Transact-SQL | Select On Exception Resume, which enables Transact SQL-like error handling to be used within a Watcom-SQL syntax procedure. |
Field | Description |
---|---|
Generate Script | Generate a SQL file for the object. |
Enter or Select the Parent Folder | Specify an existing project or create a new project in which to save the SQL file. |
File Name | Enter the file name in which to store the SQL code. |
Execute Immediately | Execute the SQL code immediately. If you do not select this option, you must complete execution of the SQL file later to create the object. |
Open in Editor After Creation | Create the object and open it in its associated editor. |