You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, SQLServerDatabaseTasks#structure_dump supports exporting tables and views; however, the underlying tool defncopy supports stored procedures as well. It would be particularly helpful to export stored procedures from an existing database, especially when activerecord-sqlserver-adapter already supports running them.
My current understanding is that SchemaStatements would need to be extended to return stored procedures (like tables and views on the underlying ActiveRecord connection). A query like the following may suffice:
Currently,
SQLServerDatabaseTasks#structure_dump
supports exporting tables and views; however, the underlying tooldefncopy
supports stored procedures as well. It would be particularly helpful to export stored procedures from an existing database, especially when activerecord-sqlserver-adapter already supports running them.My current understanding is that SchemaStatements would need to be extended to return stored procedures (like
tables
andviews
on the underlying ActiveRecord connection). A query like the following may suffice:Related:
The text was updated successfully, but these errors were encountered: