Heim  >  Artikel  >  Datenbank  >  批量导出存储过程

批量导出存储过程

WBOY
WBOYOriginal
2016-06-07 17:42:491088Durchsuche

今天遇到了一个问题,需要把原数据库的一些数据导入到新数据库中,其中包括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; ,服务器空间,虚拟主机

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn