http://www.brentozar.com/archive/2009/09/whats-on-my-bookshelf/
strcpy(sqlStatement, "{call getCustName (?)}"); rc = SQLPrepare((SQLHSTMT)hstmt, sqlStatement, SQL_NTS); rc = SQLBindParameter(hstmt, 1, SQL_PARAM_INPUT, SQL_C_LONG, SQL_INTEGER, 10, 0, &id, sizeof(id), NULL); id = 12345; rc = SQLExecute(hstmt);













