stepbystepwhx

查询表、视图、存储过程、触发器的语据,用在数据库导入查看是否正确

select count(*) from user_tables;
select count(*) from user_objects where object_type=\'PROCEDURE\';
select count(*) from user_views;
SELECT count(*)
FROM USER_SOURCE
WHERE TYPE=\'TRIGGER\'

 

 

-------导入语据

imp qdaomujuku/rfx@orcl fromuser=rfxmujuku touser=qdaomujuku file=D:\\qingdao.dmp

 

----导出语据

exp rfxmujuku/rfx@orcl file=D:\\qingdao.dmp full=y

 

分类:

技术点:

相关文章:

  • 2021-04-02
  • 2021-07-04
  • 2022-02-14
  • 2022-12-23
  • 2021-12-18
猜你喜欢
  • 2022-01-02
  • 2021-07-12
  • 2021-10-08
相关资源
相似解决方案