Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
natarshia
Starting Member
4 Posts |
Posted - 2009-02-25 : 17:11:55
|
Does anyone know the correct syntax to generate the Assembly scripts using sp_OAMethod. I know you can generate the Assembly ddl using the gui, so there must be a way to code it in a stored procedure.I can do tables, views, functions, etc.. but i keep getting an error when i try to use sp_OAMethod for Assemblies.thanks |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
natarshia
Starting Member
4 Posts |
Posted - 2009-02-26 : 09:17:02
|
It's in a stored proc that is called by a job, so I can schedule it to run every week.My client requested to have a copy of the backup and of DDL of all the database objects. If this is schedule to output every week, i don't have to worry about running it throught the gui adhoc.Also, if the GUI can do, so should code. I like to know how stuff work.if you know how to do it, then that would be great. |
 |
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
natarshia
Starting Member
4 Posts |
Posted - 2009-02-26 : 12:43:23
|
i don't want to create them, i want to export the script of the ones already in the database, just like i do for the stored procedures and functions....thanks |
 |
|
|
|
|
|
|