C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » General »

oracle stored procedure


Posted Date: 29 Aug 2008      Posted By: Nagamalleswari      Member Level: Silver     Points: 1   Responses: 1



Hi All,

How are you, Sheela went to banglore?



Send me ans:

Create table tabl1

(

id number primary key,

name varchar2(50),

salary number,

address varchar2(100)

)





Insert into tabl1 values(1,’AA1’,10000,’HYd’);

Insert into tabl1 values(2,’AA2’,10000,’HYd’);

Insert into tabl1 values(3,’AA3’,10000,’HYd’);

Insert into tabl1 values(4,’AA4’,10000,’HYd’);





I want to see these details into sql> using stored procedure



Plese any one help me.



thanks,
Malleswari











Responses

Author: J Ramesh    29 Aug 2008Member Level: SilverRating: 2 out of 52 out of 5     Points: 4

Hi Nagamalleswari,

Do you mean you want to insert into the table using Stored Procedure??

If yes then

Create Procedure sp_InsertTabl1

@Name varchar2(50),
@Salary number,
@Address Varchar2(100)
As
BEGIN

Insert into tabl1 values(@Name,@Salary,@Address);

END

Now use this SP from your front end and pass in parameters to be inserted into Database.

regards
Ramesh



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : Schedular Forloop
Previous : Static variable concept
Return to Discussion Forum
Post New Message
Category: General

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use