应该是我的c++builder调用有问题:
给你一个例了:
     storedproc1.StoredProcName:='AUTO_ARCH_JOB';
    if storedproc1.Prepared=false then storedproc1.Prepare;---先
    storedproc1.ParamByName('v_timestr').AsString:=timestr;----后
一定要先storedproc1.Prepared,再带参数,