在pl/sql中使用存储过程将表从一种模式复制到另一种模式 [英] using stored procedure copy table from one schema to another schem in pl/sql

查看:83
本文介绍了在pl/sql中使用存储过程将表从一种模式复制到另一种模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以帮助我如何找到schema1中的表以及如何使用sp将SQL Server1的所有表复制到pl/sql中的另一个schema2中吗?

can any one help me how can i find how much table is in schema1 and how to copy all table of schema1 to another schema2 in pl/sql using sp ??

推荐答案

从sys.tables中选择*

表格数量:

从sys.tables中选择count(*)
select * from sys.tables

for the count of tables:

select count(*) from sys.tables


它的一半完美了,所以plz帮助如何在sp中使用它并使用它
its perfect bt its half so plz help how to use this in sp and use it


这篇关于在pl/sql中使用存储过程将表从一种模式复制到另一种模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆