SQL Server 2000 stored procedure

xiaoxiao2021-03-05  31

March 22, 2005 Tuesday Yin:

Try to do two stored procedures, huh, it is very good! When an empty value is inserted, use NULL instead of the missing parameters, it will be completed smoothly.

Create a stored procedure: create procedure procedurename @ parameter1 valueetype1, ... as the sql-body (with @ parameter1 ... Enter parameter value) GO.

Call the stored procedure: ProcedureName Parameter1, ...

How is it, very simple? !

转载请注明原文地址:https://www.9cbs.com/read-33871.html

New Post(0)