Click here to Skip to main content
15,888,733 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,

I know only the basic idea of stored procedure and I have not yet executed it. Please help on this.

I need to know how to create stored procedure for displaying the data.

Ex: We have designation id in one table and designation description in other table. I need to display both designation id and designation description based on the project ID.

What I have tried:

I tried as below

create procedure sp_procedure @projectid varchar(10)

As

Begin

Select deisgnationid from

Im sorry as I said earlier i know some idea. After this I dnt know what needs to written.
Posted
Updated 28-Jul-17 1:58am

1 solution

 
Share this answer
 
Comments
Member 13333838 28-Jul-17 8:22am    
I have searched in google. Could you please provide me the sample
Graeme_Grant 28-Jul-17 8:24am    
The link is in the solution above ... it is a how-to step-by-step guide with images! All that you have to do is click on the link provided.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900