摘要:        
View Code 1比如现在对一个表增加一个流水字段,非空,唯一。2该表数据量为3000000.3假设表名为test。451.使用cursor。6declare7cursorc_testisselectrowidfromtest;8v_testc_test%rowtype;9begin10openc_test;11loop12fetchc_testintov_test;13exitwhenc_test%notfound;14updatetestsetsn=test_seq.nextval;15endloop;16closec_test;17end;18192.使用between...and.    阅读全文
        
            posted @ 2012-09-28 09:47
飞鱼87
阅读(3454)
评论(1)
推荐(0)
        
        
                    
                
浙公网安备 33010602011771号