We are using SQL Server 2005 replication and it currently replicates data, table objects, triggers, etc. It is currently configured not to replicate stored procedures, views, and functions. The DBA guidance was that it may not be a good idea.
Can you help me understand if replicating stored procedures, views, and functions is possible? And if it is, what are some of the risks, if any? The challenge we have is deploying the updated stored procedures, views, and functions to the subscriber database. It is largely a manual process and is error prone. I felt if they were replicated, it would make the process much more efficient and reliable. However, I am curious if SQL Server would resolve dependencies...like a view that uses a function that hasn't been replicated over yet because the view made it there first, etc.
Thanks for the help and the sharing of your experiences.