bonjour, when executing a stored procedure, i have got my result and a return value with 0, i know that 0 seem to be no error when executing, but, i dont wanted that.
here is my code, where or how can i solve that please?
USE [Active]
GO
/****** Object: StoredProcedure [dbo].[PS_BR_listeProjetUneEntreprise]Script Date: 11/04/2018 13:39:10 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author: BR
-- Create date: 11/04/2018
-- Description: liste des projets d'une entreprise donnée
-- =============================================
ALTER PROCEDURE [dbo].[PS_BR_listeProjetUneEntreprise]
-- Add the parameters for the stored procedure here
@nomClient varchar(55)
AS
BEGIN
-- SET NOCOUNT ON added to prevent extra result sets from
-- interfering with SELECT statements.
SET NOCOUNT ON;
-- Insert statements for procedure here
select [dbo].[PROJET].nomProjet, [dbo].[CLIENT].raisonSociale
from [dbo].[PROJET]
join [dbo].[CLIENT]
on [dbo].[PROJET].idClient = [dbo].[CLIENT].idClient
where [dbo].[CLIENT].raisonSociale like @nomClient
END
i am using sql server management studio 17
0, what do you want?RETURN, useOUTPUT. "I don't want to" isn't a very technical reason to break convention.Return Valuecolumn you're showing in SSMS. That must be coming from somewhere else.