MYSQL使用遊標

一:使用遊標sql             (一):聲明遊標。 數組 delare cursor_name cursor for select_statement;                 解釋:cursor_name是遊標的名字 ;select_statement表示select語句。由於遊標須要遍歷結果集的每一行,增長了服務器的負擔,致使遊標的效率並不高效,。若是使用遊標操做的數據
相關文章
相關標籤/搜索