Phantom data in nav after upgrading- Strange issue

Developer101
Member Posts: 569
We have a situation.
We have a bit of an issue after upgrading NAV 5 to NAV 2016.
Some of the records in the tables are appeared to be corrupted and I know the reason but my issue is that even after deleting such records they still re-appear in NAV table but when running a select query in SQL the data is not there which is right. I have tried synchronizing but does not work.
I have tried restarting the service after deleting the records but I still see those records in the table which actually do not exist if I run sql query or if I do SETFILTER and FIND('-') in nav its self. The data is just shown in the table without being existed.
Any ideas?
We have a bit of an issue after upgrading NAV 5 to NAV 2016.
Some of the records in the tables are appeared to be corrupted and I know the reason but my issue is that even after deleting such records they still re-appear in NAV table but when running a select query in SQL the data is not there which is right. I have tried synchronizing but does not work.
I have tried restarting the service after deleting the records but I still see those records in the table which actually do not exist if I run sql query or if I do SETFILTER and FIND('-') in nav its self. The data is just shown in the table without being existed.
Any ideas?
United Kingdom
0
Best Answer
-
Thanks for sharing the issue. So in fact the query was somehow wrong ;-)Cheers
Carsten
==> How To Ask Questions The Smart Way
This post is my own opinion and does not necessarily reflect the opinion or view of my employer.5
Answers
-
Hmmm. Only two: Wrong SQL query or you did the query on the wrong database or SQL instance.Cheers
Carsten
==> How To Ask Questions The Smart Way
This post is my own opinion and does not necessarily reflect the opinion or view of my employer.0 -
There was a problem with trailing spaces.United Kingdom0
-
Thanks for sharing the issue. So in fact the query was somehow wrong ;-)Cheers
Carsten
==> How To Ask Questions The Smart Way
This post is my own opinion and does not necessarily reflect the opinion or view of my employer.5 -
Yes some how it was wrong. deleting the trailing spaces from the key field made the query right.United Kingdom1
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