|
-
May 24th, 2003, 09:16 AM
#1
Thread Starter
Lively Member
How to use stored procedure with Acess ???
I would like to create a new customer in my DB and receive back from access the primary key assigned by the DB.
In the documentation, there is a solution "stored procedure" but it work only with SQL Server.
Does someone tell me how to implement it with access
create procedure newexpediteur
@num_expediteur nchar(10)
as
insert into expediteurs (num_expediteur)
values( @num_expediteur)
return (@@key)
go
Many thanks
-
May 24th, 2003, 10:33 AM
#2
PowerPoster
Unless they changed access, you can't run stored proceedures.
-
May 24th, 2003, 10:34 AM
#3
PowerPoster
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|