Error trying to drop keys
Comments
-
[Topic moved from Navision forum to SQL General forum]
The first topic I move to the new forum!Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
JWdeW wrote:hi,
when trying to disable keys on a table this SQL error appears:
Explicit @itemtype 'INDEX' is unrecognized (0)
Anyone seen this before or knows what it is about? It's in a turkish 3.70 database.
Any thoughts are appreciated.
May be that there is field with name INDEX in the key and it create problems with keyword INDEX on SQL?0 -
kriki wrote:[Topic moved from Navision forum to SQL General forum]
The first topic I move to the new forum!
Well I suppose now you need to search for SQL threads and move them all. Looks like a fun weekend you have ahead.David Singleton0 -
David Singleton wrote:kriki wrote:[Topic moved from Navision forum to SQL General forum]
The first topic I move to the new forum!
Well I suppose now you need to search for SQL threads and move them all. Looks like a fun weekend you have ahead.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
I'm a little further ... it has to do with sp_rename on sql server not happy with the collation used: Latin-1 dictionary sort order, code page 1254, case-insensitive, accent-sensitive (130)
When dropping an index other than the last Navision uses sp_rename to set index $4 to $3 and $5 to $4 etc. This is where it's goes wrong.
Work around is to drop all and enable the ones needed...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