Hi,
Here is my asp code
passing a parameter to the stored procedureCode:set rs = Conn.execute("EXEC dbo.Get_Info @email=" &sentemail)
and here is the stored procedure
Code:Create PROCEDURE [dbo].[Get_Info] @email varchar(5000) As Select * From dbo.Registration where Email = @email
it gives an error
Incorrect syntax near '-'.
and the error is on this line
set rs = Conn.execute("EXEC dbo.Get_Info @email=" &sentemail)
any idea



LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks