The ADO Client Side Of Default Parameters And Named Arguments In DB2 For i
February 26, 2014 Michael Sansoterra
In Stored Procedure Parameter Defaults And Named Arguments In DB2 For i, I covered two new related features in DB2 for i 7.1 that were implemented in Technology Refresh 5 (DB2 for i Group PTF Level 18 or higher). In this tip, I’m going to cover a surprising limitation of this feature when coding in an ActiveX Data Objects (ADO) environment, whether using an IBM DB2 OLE DB provider or the iSeries Access ODBC provider. Recall that stored procedure parameters now support a DEFAULT keyword that can be a literal, subquery, or expression (with limitations): CREATE PROCEDURE DEV.CREATE_ORDER ( |