Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Easy one
Message
De
07/11/2002 12:09:11
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Titre:
Easy one
Divers
Thread ID:
00719894
Message ID:
00719894
Vues:
60
All

I'm working on a webform that populates a textbox by using the max() function from a stored procedure. I need the store procedure to return a value to the @RETURN_VALUE parameter in my dataadapter. How do I do this? The code for the stored procedure is below.
ALTER PROCEDURE dbo.GetMaxTaskNo
(
	@project_id int
)
AS
SELECT max(isNull(task_no,0)) AS "MaxTaskNo"
	FROM task_header
	WHERE project_id = @project_id

	RETURN 
Thanks

Jim
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform