功能:备份存储过程,视图,函数触发器,Sequence序列号等准备工作:--1.创建文件夹 :'E:/OracleBackUp/ProcBack';--文本存放的路径--2.执行:create or replace directory MyProcBakPath as 'E:/OracleBackUp/ProcBack';--3.赋权限:sqlplus /nologconn user/pswd as sysdbagrant select on DBA_OBJECTS to user;--4.创建…
先来看一小段程序 有如下三张表: 帐户(编号,姓名,余额,建立日期,储蓄所编号) 储蓄所(编号,名称,地址,人数,所属城市) 借贷(帐户,借贷类型,金额,日期) create trigger tri_bank_delete on bank for delete as declare @count_account_of_bank int select @count_account_of_bank=COUNT(*) from account where bank_ID=(select bank_ID…