Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Does anyone recognize this prefix? sp_MSupd

Posted on by 75,730

Does anyone recognize this prefix? sp_MSupd

I was looking at a client's list of stored procedures and I noticed all of these. Every single GP stored procedure has one of these. They were created back in 2004.

I was thinking of removing them as none of the install products use this prefix.

Categories:
  • Richard Wheeler Profile Picture
    Richard Wheeler 75,730 on at
    RE: Does anyone recognize this prefix? sp_MSupd

    Derek, I bet someone tried to setup SQL replication back in 2004. Every table and every stored procedure has its own doppelganger.

  • Suggested answer
    RE: Does anyone recognize this prefix? sp_MSupd

    Looking in my GP 18.4 year end databases, I have no objects that begin with sp_msupd.... in my GP databases, but in the Master database, there are about 16 of them, even on SQL 2019:

    sp_MSupdate_subscriber_info

    sp_MSupdatelastsyncinfo

    sp_MSupdatepeerlsn

    sp_MSupdate_subscriber_schedule

    sp_MSupdate_tracer_history

    sp_MSupdatereplicastate

    sp_MSupdaterecgen

    sp_MSupdategenhistory

    sp_MSupdate_subscription

    sp_MSupdatesysmergearticles

    sp_MSupdate_agenttype_default

    sp_MSupdate_subscriber_tracer_history

    sp_MSupdateinitiallightweightsubscription

    sp_MSupdatecachedpeerlsn

    sp_MSupdategenerations_afterbcp

    sp_MSupdate_singlelogicalrecordmetadata

    The first one appears related to SQL Replication Subscribers and Always On Availability groups.

    The last one appears related to SQL Replication as well.

    Based on this, I'd say, if you see these type of stored procedures in the GP databases, check to see if SQL Replication is currently and/or was configured on the databases.

    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans