Home  >  Article  >  Database  >  批量导出存储过程

批量导出存储过程

WBOY
WBOYOriginal
2016-06-07 17:42:491089browse

今天遇到了一个问题,需要把原数据库的一些数据导入到新数据库中,其中包括700多条存储过程。 开始通过sql语句查询出所有的存储过程,然后再创建,发现创建存储过程时不能同时创建多个。 select sm. object_id , object_name (sm. object_id ) as object_nam

今天遇到了一个问题,需要把原数据库的一些数据导入到新数据库中,其中包括700多条存储过程。

开始通过sql语句查询出所有的存储过程,然后再创建,美国空间,发现创建存储过程时不能同时创建多个。

select sm.object_id, object_name(sm.object_id) as object_name, o.type, o.type_desc, sm.definition o.o.name o.name; ,服务器空间,虚拟主机

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn