Phoenix130481
Programmer
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
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