我想是不是记录集太大了造成的啊
关于3121和3092的说明如下
Error 3121
The server cannot increase the size of a memory segment. 
Explanation: This message should occur only on a down-level computer. Any action to correct the problem should be performed on that computer. The server cannot increase the size of a memory segment. Action: Be sure that the MEMMAN entry in the server's CONFIG.SYS file allows swapping and that there is at least 1 megabyte of free space on the swap disk. The swap disk is specified by the SWAPPATH entry in the Config.sys file. You could also decrease the value of the NUMBIGBUF entry in the server's configuration file. Error 3092
There is no account for this computer in the security database. 我的程序是在多线程内对不同的表进行查询,表是可以选的,目前测试阶段,只有一个表内数据比较大,13万,其他的80个表都只有一条记录,第一次启动程序时,选择哪个表都可以正常运行,如果单独选择了那个大表,跑第一次,没问题,再跑的话,就出错,雾水满头啊,小弟分不多了,全部献上了

解决方案 »

  1.   

    recordset有正常关闭马?13万也不能算多,可能是线程堆栈空间不够,试着给线程分配多一点内存
      

  2.   

    13条应该不算多,不过要看你每条记录的数据量多大了,加入每条记录都保存了一幅图片,有个2、3十KB的话,呵呵,那也够大了。你可以分开查询,用limit。每次取1W条记录进行处理,试试看吧。
      

  3.   

    15个列,每个列都是varchar(255)
    怎么给线程分配堆栈空间啊
      

  4.   

    limit是哪里的东西啊,sql的还是vc的啊
    怎么用啊,哪里能查到啊