Set rs = Conn.Execute(SQL)后面有没有必要Set rs = Nothing?Set rs = Conn.Execute(SQL)是否自动Set rs = Nothing?

解决方案 »

  1.   

    Set rs = Conn.Execute(SQL)是否自动Set rs = Nothing?不会的,在这个过程结为需要自己Set rs = Nothing
      

  2.   

    Set rs = Conn.Execute(SQL)执行后马上再加Set rs = Nothing? 等于什么也没有做。
    你查询得到了一个记录集,马上又给释放了,有什么意义?
      

  3.   


    谁会Set rs = Conn.Execute(SQL)执行后马上再加Set rs = Nothing啊
    当然使用完rs后才Set rs = Nothing
    我问的是:Set rs = Conn.Execute(SQL)是否自动Set rs = Nothing