oracle結果集拼接 用oracle SQL查詢結果集,用集循環(huán),并用集的列做if條件,滿足條件后集的列批量插?
用oracle SQL查詢結果集,用集循環(huán),并用集的列做if條件,滿足條件后集的列批量插?declare cursor my ucursors is select*from T1 where 1=1-
用oracle SQL查詢結果集,用集循環(huán),并用集的列做if條件,滿足條件后集的列批量插?
declare cursor my ucursors is select*from T1 where 1=1--define cursor my ucursor VARCHAR2(40)--此數(shù)據(jù)類型根據(jù)其自身情況進行修改。
如果我的光標在我的光標循環(huán)中,開始我的光標。N1=1然后---結束如果結束循環(huán)結束