I know you're not really supposed to do this, but I have a stored procedure that creates another database (using the tips in this thread: It all works great, except that I need to also add some triggers and/or stored procedures in the new DB I'm creating. SQL Server does not seem too happy about me using a stored procedure to create these elements in an external database. Is there a way out of this or have I painted myself into a corner?
Thanks,
Alex
Thanks,
Alex