Extract SP and DDL Scripts in sybase Server

自闭症网瘾萝莉.ら 提交于 2019-11-28 11:08:31

问题


How do I extract DDL, Stored Procedures (SP) and other database scripts from Sybase ASE.


回答1:


Look into the ddlgen utility included with sybase, ususally found in the Sybase Central directory, or the $SYBASE/ASEP/bin. This should be able to generate scripts to create all of the database objects including user-defined datatypes (UDD), indexes, stored procedures, etc.




回答2:


You can use sp_helptext to show the DDL.



来源:https://stackoverflow.com/questions/15081975/extract-sp-and-ddl-scripts-in-sybase-server

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!