The Stored Routine Editor is provided for altering stored procedures/functions. All the parameters of stored procedure are valid for stored function, so you can switch between them easily. To open the the Stored Routine Editor, simply double-click a stored procedure or function on the diagram or select the Properties item from the context menu. The Stored Routine Editor consists of several tabs, each of which will be described below. General This tab allows you to tune the basic properties of a stored procedure or function. Stored Routine Name Security Type Routine is deterministic SQL Data Access Stored routine definer Comment Generate Definition The Definition tab allows you to choose the routine type (stored procedure or function), determine the list of parameters, edit routine text. Routine Type Parameters Returns Routine Body Quick Create button Script This tab allows you to set SQL statements, which will be executed before (use Begin tab) and after (use End tab) generation of the stored routine. Preview The Preview tab displays the SQL statement, which will be executed during the database generation. This statement is made up according to the changes you have made using previous tabs. Note, that the text within the editor is read-only. Notes The Notes tab allows you to define a description and an annotation for the edited stored routine. This properties will not affect the physical database, but they can be useful for your diagram development. Format These options allow you to set the routine line and fill color for displaying on the diagram, different from the default colors. See also: |