1.用DBA登录赋权限create or replace directory D_OUTPUT as 'D:\TEMP'; grant read,write on directory D_OUTPUT to testdb; GRANT EXECUTE ON utl_file TO testdb; 2.写一个函数创建目录并写入数据在数据清洗的存储过程中调用函数首先在上边声明变量 xx varchar2(1000);然后在执行插入失败的下面调用函数 else --insert into fail_l
在使用nose时,有这样一个需求,用例执行打乱,但部分用例因场景原因必须先执行,这类用例在写用例时人为的加上了test_a或test_z字样 网上找了一圈,都没找到合适的方法,只有自己写插件了 已写完,需要的请安装 pip install nosedisorder --with-disorder Enable plugin Randomize: Randomize the order of the tests within a unittest.TestCase class exclude te