Web Server forum
Back To The Forum Home!Search!Private Messaging System

This is Interesting: Free IT Magazines Now Free shipping to California  
Web Server Talk Web Server Talk > Free Databases support forum > Microsoft SQL server > SQL Server Data Warehousing > DTS from 2 sources ????




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

john1425 is offline     DTS from 2 sources ????  
john1425


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for john1425 Click here to Send john1425 a Private Message Find more posts by john1425 Add john1425 to your buddy list
 
05-09-05 08:38 AM

hi
i want to load Data from 2 sources (access and mysql) the 2 source have same
 schema ;how to load to cube the data and retrive the data of each source an
d how configure DTS to continue from the last ID of the last load exp :
source1 : product(id,,name)
                           (1,nokia 3310) 
source 2 : product(id,,name)
                            (1,nokia 3310) ??




[ Post a follow-up to this message ]



    Re: DTS from 2 sources ????  
Jéjé


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-03-05 10:53 PM

simply create a package where you do a lookup to get the last ID from a copy
of your table, then load the mysql database with a filter on the last ID,
then do the lookup again to get the last ID again and load the access table.
(store the lastid into a dts variable, and use it has a parameter for a
filter "select * from table where id > ?")
you'll have 1 copy of the table without duplicated IDs.

But regarding your configuration, you can directly merge information using
linked servers.
In SQL Server create 2 linked servers (1 to access 1 to mysql)
create a view like: select ... from mysql.db..table union select ... from
access...table
the union eliminate duplicated rows (but its a slow solution)

there is other solutions.

"john1425" <john1425.1orlsz@mail.webservertalk.com> wrote in message
news:john1425.1orlsz@mail.webservertalk.com...
>
> hi
> i want to load Data from 2 sources (access and mysql) the 2 source have
> same schema ;how to load to cube the data and retrive the data of each
> source and how configure DTS to continue from the last ID of the last
> load exp :
> source1 : product(id,,name)
> (1,nokia 3310)
> source 2 : product(id,,name)
> (1,nokia 3310) ??
>
>
>
> --
> john1425
> ------------------------------------------------------------------------
> Posted via http://www.webservertalk.com
> ------------------------------------------------------------------------
> View this thread: http://www.webservertalk.com/message1052215.html
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:24 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register