關閉statement報錯

  對於查詢數據後,獲得recordset後,若是直接將recordset返回的話,stmt不能關閉,不然recordset將會空。數據   能夠將recordset封裝在一個vector中,此時再將stmt關閉就沒有錯誤了。查詢
相關文章
相關標籤/搜索