Skip to Content

Remove space from database name


We have a customer that has a space at the end of their database name. For example their database name is "database "

instead of "database". We have only just discovered this and up to now there have been no issues, however, we need to remove this space to fix and issue that has arisen. We have a plan in place to backup the database and restore without the space and have checked the integration(add-on) config files which do not contain this space. We also have an infrastructure backup plan that will allow us to roll back should an issue occur,

My question is, has anyone else encountered this issue and come across any issues with following the procedure above? My only concern is crystal reports connectivity. We would be able to go through all and fix the connections but this would be very time consuming if something was to go wrong.


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 29, 2019 at 01:32 PM


    Restoring the backup will solve your issue, crystal reports (setup within B1) will not have any impact.

    You must thoroughly check the addon functionalities before proceeding with the LIVE DB.


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 07, 2019 at 09:55 AM

    Dear Ryan,

    Plan a activity during Non- Production Hours.

    1) Backup the DB you want to rename.

    2) Drop the connections to the DB by making it as single user through MS-SQL Management Studio (Before that log out all the addon connections)

    3) Now rename the DB to the name you want

    4) Again make the DB to Multi-User mode through MS-SQL Management Studio

    Hope helpful


    Karthik Kannan

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.