Data Export from Nav Sql DB to an external Sql DB??

Simo_ba
Member Posts: 78
Hi Guys,
I need to export some Tables from NAV to an external SQL DB (I'm using SQL Server 2005)
For Example : I want to Export Sales Header and Sales Line for Customer wich are Blocked=False;
What's the best way to solve this issue?
My Job should be scheduled.
Any suggestions
Thanks
I need to export some Tables from NAV to an external SQL DB (I'm using SQL Server 2005)
For Example : I want to Export Sales Header and Sales Line for Customer wich are Blocked=False;
What's the best way to solve this issue?
My Job should be scheduled.
Any suggestions
Thanks
0
Comments
-
Write a sql statement
The sql statement will look something like this.Insert [field names of other database] into sqlserver.database.tablename ( Select [field Names from Sales header] from CompanyName$SalesHeader , CompanyName$Customer where Customer.Blocked <> 0)
And schedule it to run from SQL agent.0 -
Hi Rashed,
Is thers any tool that will hepl me with this issue as SSIS DTS or Replication,
cause I have a lot of table to do
Thank you0 -
Yes you can use SSIS Packages for this or replication.
But on all (SSIS,Replication,Agentjob) you must define:
1. the source (Database/table)
2. destination (Database/table)
3. Filters
So with the SSIS Designer you can define this. Is it this what you need or a other tool?Do you make it right, it works too!0 -
Thanks garak,
I think SSIs will be the best tool, here is my scenario.
Let say i have SourceDB and DestDB ok,
1. I want to (Select * Form SourceDB.Table Where condition) View1
2. Transfer my Records to DestDB.Table
3. Update SourcDB to flag the record as alreay transfered to avoid to transfer them twice.
4. schedule the pakage to run every 5min ex.
Thanks a lot0 -
Use SSIS for this. For scheduling use the SQLAgent that run the SSIS package for example every 5 minutes.
i use the same on a customer with an offline POS system.Do you make it right, it works too!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