Dear all,
I'm trying to find out how the Navision store its objects in SQL Server Database. Firstly, I cannot find Navsion table trigger in corresponding Database Table trigger, so I think probably Navision use different way to store its objects....then I found there are a log of table named as companyName+ some mysterious number.......
Is't the Navision objects store in this kind of tables...? Does anyone know the rule of table naming... :?
thanks for any idea.
0
Comments
1. Navision table structure and code (incl. triggers) is saved in a SQL table called "Object" (as I remember).
2. Tables with ComanyName-numbers are Navision index tables, saved in SQL.
Hope that help,
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
on the other hand, if I export table: Object then import to different database which have same company name and same object id.
This is mean all the objects be synchronized except data. am i right? :?
appreciate your idea.
Not exactly, and I recommand to NOT DO THIS. It will "synchronize" the object definitions, but it will not "redesign" existing table structures and definitions! And because you will have another NAV definitions of the tables and another physical table structure, you could have big problems. Just export the objects as FOB and import them as FOB through the NAV client.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
thanks your precious advice and explanation.
If back to the other question.
HalMdy said tables with ComanyName-numbers are Navision index tables,
These index tables.... is't like database index.... we better have but not if we don't have it, system still can work, or does these have anything special point.. :?
appreciate any idea.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
I'm just trying to understand the structure between Navision and SQL server firstly, i just detected the Navision table triggers are not really the database level's table trigger.... it's interesting......the Navision component seem to just have tables and some stored procedures put in the database.....
:?
And because Native DB support something called SIFT technology (Sum Index Fields technology - precalculated sums for groups of records), they needed to support this technology on the MS SQL. And it is solved with the "numbered" tables and table triggers updating them. This will change in NAV version 5.0SP1, where the indexed views will be introduced for that.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
sorry, please allow me back to previous question, because I'm confused again.
I checked the table: Object .... In the discussed before, the Navision save the objects in this table...with Blob type.... but when i checked the row in this table, the columns about Blob... like "Blob Reference", "Blob Size" are all null... so...what's happened the Navision objects? :? where were they saved?
sorry... for trouble you all again.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
This posting is provided "AS IS" with no warranties, and confers no rights.
I was wrong....as dmccrae said, just table data has empty field.
:?
thanks all of you.