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