proc_nameparameter , ;
CALL |
SQLUINTEGER Part_num;
SQLINTEGER Part_numInd = 0; // Bind the parameter. SQLBindParameter (hstmt, 1, SQL_PARAM_INPUT, SQL_C_SLONG, SQL_INTEGER, 0, 0, &Part_num, 0, Part_numInd); // Place the department number in Part_num. Part_num = 318; // Execute the statement. SQLExecDirect(hstmt, "{ call order_parts(?) } ", SQL_NTS); |