Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Other Forums
 MS Access
 Stored Procedure New Topic

Author  Topic 

myhab
Starting Member

13 Posts

Posted - 2003-08-18 : 09:58:38
You indicate it's possible to use Query instead of StoredProcedure in mdb file so How is it possible to Convert this storesd procedure to Query in mdb

ALTER Storedprocedure MySite_Login
(

@Email nvarchar(15),
@Password nvarchar(15),
@CustomerID int OUTPUT
)
AS

SELECT
@CustomerID = CustomerID

FROM
Customers

WHERE
Email = @Email
AND
Password = @Password

IF @@Rowcount < 1
SELECT
@CustomerID = 0

Merkin
Funky Drop Bear Fearing SQL Dude!

4970 Posts

Posted - 2003-08-18 : 10:19:41
In future, it really would be better if you kept it in one topic. It makes it easier for people to help you if they can see the history of your question.

If you reply to your old topic it will bring it back to the top, so it will get seen.


Damian
Go to Top of Page
   

- Advertisement -