Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

In Database Output Window no result.

Status
Not open for further replies.

Phoenix130481

Programmer
Aug 23, 2004
8
0
0
DE
Hello i am try to use the following stored Procedure:

ALTER PROCEDURE DuplikateErmitteln
@Var1 int,
@Var2 int,
@Var3 int OUTPUT
AS

SELECT @Var3 = Matrikel
FROM UserMM
WHERE Matrikel = @Var2

IF @Var3 != @Var2
RETURN @Var3
ELSE
RETURN @Var2

RETURN

maybe it looks confusing, but whats more confusing is that when i want to execute this in VS there comes only the line "executing stored procedure bla bla" but nothing more.

does anyone has a idea why it is this way??

Basti
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top