J
jed
I have created a stored procedure in SQLExpress management.I need to
retrieve a numeric value that the stored procedure creates and use it
in a C# application.Please help thanks.
USE [biking checks]
GO
/****** Object: StoredProcedure [dbo].[Getlastodo] Script Date:
03/19/2007 00:54:23 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[Getlastodo]
AS
BEGIN
SELECT MAX(Totaldistance) AS lastodo
FROM bik
END
need to retrieve the lastodo value
retrieve a numeric value that the stored procedure creates and use it
in a C# application.Please help thanks.
USE [biking checks]
GO
/****** Object: StoredProcedure [dbo].[Getlastodo] Script Date:
03/19/2007 00:54:23 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[Getlastodo]
AS
BEGIN
SELECT MAX(Totaldistance) AS lastodo
FROM bik
END
need to retrieve the lastodo value