troubleshooting Question

SQL Server 2005 replication of views, functions, and stored procedures?

Avatar of dentyne
dentyne asked on
Microsoft SQL Server 2005
7 Comments3 Solutions616 ViewsLast Modified:
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 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.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 3 Answers and 7 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros