C++builder调用存储过程,SQLServer2005中的存储过程名为:statisticsContruction,输入参数为:CustomID
ADOQuery1->Active =false;
ADOQuery1->SQL->Clear();
ADOQuery1->SQL->Text = "exec statisticsContruction :CustomID";
ADOQuery1->Parameters->ParamByName("CustomID")->Value = "300003";
ADOQuery1->Active = true;