SQL Permission - Can not import objects

Sapphire123
Member Posts: 112
Hi All,
I have a user thats trying to import two modified objects - Vendor Table and Vendor Card Form - to their SQL 4.0 DB. This user has SUPER role & using windows login - but, gets the following permission issue/error when trying to import fob file:
"The following error message occured while accessing the Vendor Table.
1088."42000"[Micorsoft][ODBC SQL Server Driver][SQL Server] Cannot find the object "Personnel Connection, Inc_$Vendor" because it does not exist or you do not have permission.
SQL: Alter table "database.dbo" Personnel Connection Inc_$Vendor DROP CONTRAINT "Personnel Connection, Inc_$Vendor0"
Unfortunately, I dont know much about SQL... please let me know how do I fix this issue?
Thanks in advance!
I have a user thats trying to import two modified objects - Vendor Table and Vendor Card Form - to their SQL 4.0 DB. This user has SUPER role & using windows login - but, gets the following permission issue/error when trying to import fob file:
"The following error message occured while accessing the Vendor Table.
1088."42000"[Micorsoft][ODBC SQL Server Driver][SQL Server] Cannot find the object "Personnel Connection, Inc_$Vendor" because it does not exist or you do not have permission.
SQL: Alter table "database.dbo" Personnel Connection Inc_$Vendor DROP CONTRAINT "Personnel Connection, Inc_$Vendor0"
Unfortunately, I dont know much about SQL... please let me know how do I fix this issue?
Thanks in advance!
0
Answers
-
he must have special permission on the server.
for example db_owner (if he is the user which often imports objects) or sysadminDo you make it right, it works too!0 -
I am pretty sure this is becasue statisitcs exist on the vendor table for a field you are dropping. In SQL Management Studio go to the table, statistics and see what is listed there. You only need statisitcs on your index's. One of those statistics in there is causing you the problem.
I just upgrade to 5.0 and I had to drop statistics on the entire database to do the upgrade. When I was done I re-created statistics for all of the index's.
Anyway, I had a similar error that you referenced in your post.Jason Wilder
jwilder@stonewallkitchen.com0 -
[Topic moved from Navision forum to SQL General forum]Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 320 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