Creating, Altering, and Removing Stored Procedures

In SQL Server Management Objects (SMO), stored procedures are represented by the StoredProcedure object.

Creating a StoredProcedure object in SMO requires setting the TextBody property to the Transact-SQL script that defines the stored procedure. Parameters require the @ prefix and must be created individually by using StoredProcedureParameter objects and adding to the StoredProcedureParameter collection of the StoredProcedure object.

참고 항목

작업

How to: Create, Alter, and Remove a Stored Procedure in Visual Basic .NET

참조

StoredProcedure

관련 자료

저장 프로시저 기본 사항

도움말 및 정보

SQL Server 2005 지원 받기