1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
| USE [GESTION_AFFAIRE]
GO
/****** Object: StoredProcedure [dbo].[commande_mise_a_jour] Script Date: 10/21/2010 11:28:04 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[commande_mise_a_jour]
@lib varchar(max),
@montant float,
@date_cmd Date,
@date_prevue Date,
@est_receptionne bit,
@id integer
AS
BEGIN
UPDATE COMMANDE SET
CMD_libelle=@lib,
CMD_montant=@montant,
CMD_date_commande=@date_cmd,
CMD_date_prevue=@date_prevue,
CMD_receptionne=@est_receptionne
WHERE CMD_id= @id
END |
Partager