How to create a stored procedure (Enterprise Manager)
New Information - SQL Server 2000 SP3.
To create a stored procedure
- Expand a server group, and then expand a server.
- Expand Databases, and then expand the database in which to create the procedure.
- Right-click Stored Procedures, and then click New Stored Procedure.
- Enter the text of the stored procedure. Press TAB to indent the text of a stored procedure. Press CTRL+TAB to exit the text box, or click an appropriate button.
- To check the syntax, click Check Syntax.
- To set the permissions, click Permissions.
Security Note Validate all user input. Do not concatenate user input before validating it. Never execute a command constructed from unvalidated user input. For more information, see Validating User Input.
See Also
Creating a Stored Procedure