Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

Changing SQL database name for GP

(0) ShareShare
ReportReport
Posted on by 75,730

I just completed an SBF 8 to GP 2013 upgrade for 24 companies. The way SBF named the databases was SBMNN where NN is 1, 2, 3, etc. So now I have 24 databases named SBM01..SBM24. If I were to rename the databases to a more descriptive ID(INTERID) would I need to update any tables in the DYNAMCIS or GP company databases with these new IDs?

*This post is locked for comments

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,730 on at
    RE: Changing SQL database name for GP

    Good point folks. I will just leave the names alone unless the client really wants to invest in changing them.

  • Suggested answer
    Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: Changing SQL database name for GP

    The database name is "explicitly "stored in several tables, using the widely common SearchAllDB.sql script to search all database for the "CompanyName" would be considerable in assessing the degree to which manual configuration or customer scripting is applied.

  • Suggested answer
    Ian Grieve Profile Picture
    Ian Grieve 22,782 on at
    RE: Changing SQL database name for GP

    Hi Richard,

    You can't just rename a database; there are all sorts of tables entries and compiled sprocs which would cause problems.

    I'd recommend creating the new databases (copying access from the current ones) and then backing up and restoring the databases (as the KB article posted by Sanjay covers). After this has been done (and tested) the original numbered databases can be deleted.

    Be aware that there are modules such as Fixed Assets with settings in the system database which will need to be configured manually or via custom script.

    Ian

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Changing SQL database name for GP

    Richard,

    This article will assist you with your requirement.  

    support.microsoft.com/.../871973

    Cheers!

    Sanjay

    PS - If  my response resolves your requirement, mark this post as verified.

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

News and Announcements

Announcing Category Subscriptions!

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans