Porting Data from one database to another

Mauddib
Member Posts: 269
I have some very large tables, some information from which i need to move from one database to another database.
I have a smaller table which is a list of "Entry No.". These numbers correspond to the entries that need to be moved from one table to the other.
What is the fastest way to do this as the tables are huge. I COULD say in the onbeforeexportrecord() to check if this entry is listed in the smaller table. But that means going through ALL the records which will take ages.
I tried a dataport where the table im exporting from was a sub data item to the smaller table. This exported fine (XML format) but in Navision 3.6 you cant then import this data with XML.
GaMBe
I have a smaller table which is a list of "Entry No.". These numbers correspond to the entries that need to be moved from one table to the other.
What is the fastest way to do this as the tables are huge. I COULD say in the onbeforeexportrecord() to check if this entry is listed in the smaller table. But that means going through ALL the records which will take ages.
I tried a dataport where the table im exporting from was a sub data item to the smaller table. This exported fine (XML format) but in Navision 3.6 you cant then import this data with XML.
GaMBe
0
Comments
-
And if you let your dataport work on the records in the smaller table?
In the OnBeforeExport-trigger, you get the record of the bigger table and in the dataportfields, you put the fields of the bigger table.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