Method and apparatus for executing stored procedures in a foreign database management system
First Claim
1. A computer-implemented method for invoking from a first database management system (DBMS) a stored procedure residing at a second DBMS, said method comprising the steps of:
- a) receiving, at the first DBMS, an instruction to execute the stored procedure, the stored procedure residing at the second DBMS;
b) in response to said instruction to execute the stored procedure, generating an invoking instruction for invoking execution of the store procedure;
c) sending said invoking instruction to the second DBMS;
d) receiving information from the second DBMS representing results of an execution of the stored procedure; and
e) obtaining, in response to receiving the instruction to execute the stored procedure, a description of the stored procedure from the second DBMS.
3 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for transparently invoking from a first database management system (DBMS) a stored procedure residing at a second DBMS. The first DBMS initially receives an instruction from a user to execute the stored procedure. In response, an invoking instruction executable at the second DBMS is automatically generated for causing the second DBMS to execute the stored procedure. The invoking instruction is sent to the second DBMS. In response to the invoking instruction, the second DBMS executes the stored procedure and provides the results to the first DBMS, which provides the results to the user. The fact that the stored procedure resides at the second, rather than the first, DBMS is transparent to the user.
39 Citations
21 Claims
-
1. A computer-implemented method for invoking from a first database management system (DBMS) a stored procedure residing at a second DBMS, said method comprising the steps of:
-
a) receiving, at the first DBMS, an instruction to execute the stored procedure, the stored procedure residing at the second DBMS; b) in response to said instruction to execute the stored procedure, generating an invoking instruction for invoking execution of the store procedure; c) sending said invoking instruction to the second DBMS; d) receiving information from the second DBMS representing results of an execution of the stored procedure; and e) obtaining, in response to receiving the instruction to execute the stored procedure, a description of the stored procedure from the second DBMS. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer-readable medium having stored thereon data representing a sequence of instructions for invoking from a first database management system (DBMS) a stored procedure residing at a second DBMS, said sequence of instruction which, when executed by a processor, cause said processor to perform the steps of:
-
a) receiving, at the first DBMS, an instruction to execute the stored procedure, the stored procedure residing at the second DBMS; b) in response to said instruction to execute the stored procedure, generating an invoking instruction for invoking execution of the store procedure; c) sending said invoking instruction to the second DBMS; and d) receiving information from the second DBMS representing results of an execution of the stored procedure; and e) obtaining, in response to receiving the instruction to execute the stored procedure and prior to generating the invoking instruction, a description of the stored procedure from the second DBMS. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer system having a first database management system (DBMS), said computer system comprising:
-
a processor; and a storage device having stored therein a sequence of instructions for invoking from the first DBMS a stored procedure residing at a second DBMS, said sequence of instruction which, when executed by said processor, cause said processor to perform the steps of; a) receiving, at the first DBMS, an instruction to execute the stored procedure residing at the second DBMS; b) in response to said instruction, generating an invoking instruction processable by the second DBMS for causing the second DBMS to execute the store procedure; c) sending said invoking instruction to the second DBMS; d) receiving information from the second DBMS representing results of an execution of the stored procedure; and e) obtaining, in response to receiving the instruction to execute the stored procedure and prior to generating the invoking instruction, a description of the stored procedure from the second DBMS. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification