marclas
Messages postés54Date d'inscriptiondimanche 9 septembre 2007StatutMembreDernière intervention22 août 2012
-
3 mai 2012 à 16:52
marclas
Messages postés54Date d'inscriptiondimanche 9 septembre 2007StatutMembreDernière intervention22 août 2012
-
6 mai 2012 à 11:57
bnjour,
j ai ecris la procedure suivante
use [RECLACSR-DB]
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author:
-- Create date: <Create Date,,>
-- Description: <Description,,>
-- =============================================
CREATE PROCEDURE dbo.MontantCategorie
-- Add the parameters for the stored procedure here
@codecat char (1)
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
SET NOCOUNT ON;
DECLARE @MONTANT real;
-- Insert statements for procedure here
SET @MONTANT=( SELECT CAT_MONTANT FROM dbo.PAR_CATEGORIE WHERE CAT_CODE =@codecat )
return @MONTANT
END
GO
comment utiliser le resultat de ma procedure dasn mon code c#?