with storedproc do
   begin
      storedproc.prepare;
      execproc;
      unprepare;
   end;  不知道这样还有没有错,如果还有的话,哪一定是你的系统有问题,建义你
关掉DELPHI,或是重启你的计算机。