Advanced Stored procedure...
Hello,
(Excuse my english, i'm a french man)
I want to make a stored procedure on that model :
CREATE Procedure SGCP_GetEleveArgs
(
@Arg1 nVarChar,
@Val1 nVarChar
)
AS
SELECT *
FROM Eleve
WHERE @Arg1 = @Val1
So you understand that i want to pass my argument (@Arg1) as a field of a column.
but it gives :
WHERE 'Nom' = 'Dupont'
but i want to have :
WHERE Nom = Dupont
for it to work.
Have you an idea to solve that problem ?
Thanx
purushoth_garadiPosted May 28, 2004, 2:08 PM
mickaelterrienPosted May 28, 2004, 9:48 AM
spgilmorePosted May 27, 2004, 6:15 PM
mickaelterrienPosted May 27, 2004, 3:13 AM
spgilmorePosted May 25, 2004, 4:59 PM
mickaelterrienPosted May 25, 2004, 11:43 AM
Adam ErstellePosted May 25, 2004, 10:38 AM