Jump to content

MySQL procedure


aztec

Recommended Posts

Hello
I have been advised to move this post here by artacus, a forum helper.

I need the equivalent of a stored proceedure in Access 97 and I do not use that programme but from research I do not think Access uses stored procedures at all, it creating a problem for me.

In MySql I would write it as follows:

[code]
CREATE PROCEDURE dbo.ParagonArchiveRefs
(
@matdesc nvarchar(20)
)
AS
select mastdesc, matno, storedate, storageref
from paragon...matter
where matdesc like @matdesc  [/code]



Any help or direction appeciated

Kind Regards
Link to comment
Share on other sites

Thanks mpc sorry to be late replying but I have just got online again

Basically I want to be able to activate a search box which will allow users to enter a reference.

The reference will be within the matdesc field. I then want it to go and find all records where the reference is within matdesc and return the rows (ie, showing matno, storedate and
storageref)

I hope this makes sense to you but because I do not use access it is cetainly a problem for me any help would be appreciated.

Kind regards
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.