473,883 Members | 2,178 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Re:stored procedure in oracle-to insert values and get output value

21 New Member
hi
can anyone help me to simplify my logic in writing code,
i have ms acess database table.i want to get the data from there(using select command with where clause) and insert into a stored procedure in oracle database.
stored procedure package has 8 i/p fields and 1 output feilds.
when i insert fields i need to get the o/p value from it and update it into ms acess DB table.

My doubt is how to get data from Acess and enter into stored procedure in oracle

Please give me suggestions , it will be a great help for me

Thanks in Advance
Nov 20 '07 #1
2 1758
riyap
21 New Member
i understood the oracle procedure
but only question is after excuting the acess db query, how do i assign those values(each field values) to the parameters im passing into oracle procedure
i.e value=???
how do i give the access feilds values to oracle parameters and pass it
Kindly help me
ur help is appreciated
Nov 21 '07 #2
Frinavale
9,735 Recognized Expert Moderator Expert
hi
can anyone help me to simplify my logic in writing code,
i have ms acess database table.i want to get the data from there(using select command with where clause) and insert into a stored procedure in oracle database.
stored procedure package has 8 i/p fields and 1 output feilds.
when i insert fields i need to get the o/p value from it and update it into ms acess DB table.

My doubt is how to get data from Acess and enter into stored procedure in oracle

Please give me suggestions , it will be a great help for me

Thanks in Advance
Hi!

Your question is very large so it is very hard to answer.
What language are you developing in?

Do you know how to connect to an Access database?
(see this article if you do not )

Do you know how to connect to an Oracle database?
(see this article if you do not )

Have you seen the .NET article on how to use a database in your proram? This article includes some quick examples on how to access the data retrieved from the database.


What have you tried so far to solve your problem?

-Frinny
Nov 21 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

10
7578
by: Chopper | last post by:
I have a stored procedure that takes parameter @description with datatype set to text. In my ASP I have the following: ..Parameters.Append ..CreateParameter("@description",adVarChar,adParamInput,255,varDesc)) I've seen other examples of SPs with adVarChar set to 1000 and up! Is this the way it should be done or is there a matching parameter type I should be using?
3
16228
by: Thiemo Kellner | last post by:
Hi, we have come across the problem that the execution of a stored procedure by our scheduling tool (cronacle -> over db link) fails with the error message: ORA-04068: existing state of packages has been discarded ORA-04062: of has been changed ORA-04062: timestamp of procedure "LARA.PRC_BERECHNE_ZINSFAKTOR" has been changed ORA-06512: at "LARA.LARA_PRC_BERECHNE_ZINSFAKTOR", line 15
3
4269
by: Vagif Abilov | last post by:
Hello, I have a question regarding stored procedure desing that provides the optimal performance. Let's say we have a table Products that consists of three columns: Name, Status, RegistrationTime. All columns are indexed and users should be able to lookup data by any of the columns. We have two main options to design stored procedures for data retrieval: 1. Design separate stored procedures for each search criteria:...
2
1213
by: marko | last post by:
Hi! I've seen a thread a while ago about undroppable stored procedures on LUW 7 and 8 up to 8.1.4. It's happend to me as well so I wonder if anybody has come up with a solution (upgrade is not feasible.) SP enters limbo if there's a power failure while building it. TIA
5
382
by: Tim::.. | last post by:
Can someone please tell me if it is possible to get the SQL statement from a stored procedure in ASP.NET? Dim Myconn As New SqlConnection(ConfigurationSettings.AppSettings("strConn")) Dim cmd As New SqlCommand("MenuItems", Myconn) cmd.CommandType = CommandType.StoredProcedure I would like to beable to get the SQL statement of "MenuItems" as a string and use it in another part of my code... How do I do this???
9
1070
by: Rickard | last post by:
Hi Can someone tell me if and how it's possible to let a user exit an execution of a Stored Procedure. As it is right now, the user makes some selections in a form, then clicks the search button. Now a stored procedure is executed, in a separate thread. This execution time can sometimes last for more than 1 minute (sometimes even more) since there are nearly 2.000.000 records in DB (SQL Srvr) and the in parameters to SProc can vary a lot. Is it...
3
1851
by: Wie | last post by:
I need help. How do I create a stored procedure with SQLCommand? I have tried following string, but it doesn't work. I am using vs.net 2003 professional now. dbCommand.CommandText = _ "CREATE PROCEDURE GetID" & vbCrLf & _ "@ID int out," & vbCrLf & _ "@Name varchar(20)" & vbCrLf & _ "AS" & vbCrLf & _
6
1420
by: Michal Hlavac | last post by:
hello, I have interesting problem... I have stored procedure, which works good, but only if input is "correct". Correct input is, when $1 is id, which exists in table... If I put non exists id, database fall down and restart with this error: server closed the connection unexpectedly This probably means the server terminated abnormally before or while processing the request. The connection to the server was lost. Attempting reset: Failed.
2
1411
by: Kent Anderson | last post by:
We are currently switching to stored procedures for a lot of our database activity. The question has come up about the transactional nature of the stored procedures. I was wondering if stored procedures can have transactions in them or if you must start the transaction in your code and call the stored procedure from there to get the safety of a transaction? Thanks Kent Anderson EZYield.com 407-629-0900
6
1519
by: chessitguy | last post by:
my stored procedure: create procedure ps_title @Title nchar(15) AS SELECT ,Title FROM books Where Title = @Title this is my code. i'm passing variable to sp and getting no results.
0
9948
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10767
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10864
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10422
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7980
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7137
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5807
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6008
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3242
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.