SQL Server, renaming companies
Karenh
Member Posts: 209
At a client site, user with SUPER role cannot rename company. Only the administrator can.
What rights have to be granted on the SQL Server side to do this?
What rights have to be granted on the SQL Server side to do this?
0
Comments
-
db_owner should be able to do that. If that doesn't work, try sys admin0
-
Just as information...
As far as my experience goes, it goes faster to rename a company in a native Client.
So, make a backup in navision,
import this backup in a Native database and rename the company,
make a backup again and import this again under SQL0 -
diquiri wrote:Just as information...
As far as my experience goes, it goes faster to rename a company in a native Client.
So, make a backup in navision,
import this backup in a Native database and rename the company,
make a backup again and import this again under SQL
Usable just with small DB... if you have 4+GB, it is faster to run it directly on SQL. In 4.00SP2 is not problem, working correctly, it just takes time to alter all tables names and all records in Object table, that's all.0 -
ACtually I was surprised to see that even a large (around 100 GB) SP2 database on SQL Server 2005 just took a few minutes to rename. I have to say that this was on state of the art equipment. This is one of the few things that Navision lets SQL Server handle all by itself, and if you have the right hardware this can go quite quickly.0
-
I don't think it's the size of the db that makes much of a difference, but the number of tables it has to rename.0
-
And no. of records in tables which are DataPerCompany=NO. :-) And this can be big rename performance killer... :whistle:0
-
kine wrote:Usable just with small DB... if you have 4+GB, it is faster to run it directly on SQL. In 4.00SP2 is not problem, working correctly, it just takes time to alter all tables names and all records in Object table, that's all.
What do you mean with run it directly on SQL?
A SQL statement, or a NAV client on the SQL server?0 -
Run the NAV client on same machine as MS SQL is installed and run the rename there.0
-
In the case of a company rename this should not matter, it is one of the very few places that the NAV actually lets SQL Server do the work. But to be on the safe side, you should always do all admin work directly on the SQL Server.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 329 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions


