dbTalk Databases Forums  

Jump to a record in source dataset

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Jump to a record in source dataset in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Aaron
 
Posts: n/a

Default Jump to a record in source dataset - 11-22-2005 , 02:07 PM






Is it possible to skip a given number of records in the source dataset,
not just one at a time?

We are trying to replicate some old data in dbf tables. The only
changes made to these tables from the source application are the
appending of records, but there is no clear primary key. I want to be
able to jump past all the older records without having to scroll
through them.

Thanks,
Aaron


Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Jump to a record in source dataset - 11-22-2005 , 03:37 PM






How are you going to identify old records then?

Can you not do the identification in the Source query that selects the
data?



Allan

"Aaron" <amilner (AT) racltd (DOT) com> wrote


Quote:
Is it possible to skip a given number of records in the source dataset,
not just one at a time?

We are trying to replicate some old data in dbf tables. The only
changes made to these tables from the source application are the
appending of records, but there is no clear primary key. I want to be
able to jump past all the older records without having to scroll
through them.

Thanks,
Aaron


Reply With Quote
  #3  
Old   
urchin
 
Posts: n/a

Default Re: Jump to a record in source dataset - 11-23-2005 , 07:32 AM



If there's an identity column say where id_col > 93843 or whatever the
id is of the last "old record" ... Alternatively add a
timestamp/datetime to the source table and pull those records following
the point in time you made changes to the application.

If you're not going to use the records you probably don't want to pull
them (IOs, network traffic, ... )


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.