forked from microsoftarchive/data-access-application-block
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix argument type and remove the quotes, so it can be recognized by t…
…he database. #5
- Loading branch information
Showing
6 changed files
with
12 additions
and
9 deletions.
There are no files selected for viewing
10 changes: 7 additions & 3 deletions
10
BVT/Data.BVT/DatabaseSetupScripts/OracleDBScripts/3.SP/CustOrdersOrders.prc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
CREATE OR REPLACE PROCEDURE "CustOrdersOrders"(VCUSTOMERID IN Orders.OrderID%TYPE := 1, CUR_OUT OUT PKGENTLIB_ARCHITECTURE.CURENTLIB_ARCHITECTURE) | ||
CREATE OR REPLACE PROCEDURE CustOrdersOrders(VCUSTOMERID IN Orders.CustomerID%TYPE := 1, CUR_OUT OUT PKGENTLIB_ARCHITECTURE.CURENTLIB_ARCHITECTURE) | ||
AS | ||
|
||
BEGIN | ||
OPEN cur_OUT FOR | ||
SELECT * | ||
SELECT | ||
OrderID, | ||
OrderDate, | ||
RequiredDate, | ||
ShippedDate | ||
FROM Orders | ||
WHERE customerID = vCustomerId; | ||
WHERE CustomerID = vCustomerId; | ||
END; | ||
/ |
2 changes: 1 addition & 1 deletion
2
BVT/Data.BVT/DatabaseSetupScripts/OracleDBScripts/3.SP/GETCUSTOMERBYID.prc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
BVT/Data.BVT/DatabaseSetupScripts/OracleDBScripts/3.SP/GETCUSTOMEROUT.prc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
BVT/Data.BVT/DatabaseSetupScripts/OracleDBScripts/3.SP/GETCUSTOMERSANDPRODUCTSVIEW.prc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
BVT/Data.BVT/DatabaseSetupScripts/OracleDBScripts/3.SP/GETCUSTOMERSVIEW.prc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters