Home > Managing Database Objects w... > Managing Functions > Compiling a Function
Previous |
Next |
If you edit and make changes to a function, you must compile to save your changes. There is no save function because this is just a view of the object within the database.
To compile a function in Object Browser:
On the Workspace home page, click SQL Workshop and then Object Browser.
Object Browser appears.
From the Object list, select Functions.
From the Object Selection pane, select a function.
The Code view appears.
Click Compile to compile the current function.
Compiling re-creates the object in the database. If the compile fails, an error message display above the code.