Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
alec1982
Specialist II
Specialist II

Incremental Load based on file name containing a date

hi,

Anyone has a quick script to do incremental load based on file names where the file names have dates in it.

Example of files names:

2015-10-01-MainSales..xlsx

2015-10-02-MainSales..xlsx

2015-10-03-MainSales..xlsx

Thxs,

Alec

1 Solution

Accepted Solutions
marcus_sommer

Your dates from the filename could you extract with filebasename, maybe like:

date(date#(left(filebasename(), 10), 'YYYY-MM-DD'), 'YYYY-MM-DD')

and various examples and explanations to incemental loads will you find here:

Incremental Load

Incremental Load Scenarios

CRUDhelper framework - Incremental loads with ease

- Marcus

View solution in original post

2 Replies
marcus_sommer

Your dates from the filename could you extract with filebasename, maybe like:

date(date#(left(filebasename(), 10), 'YYYY-MM-DD'), 'YYYY-MM-DD')

and various examples and explanations to incemental loads will you find here:

Incremental Load

Incremental Load Scenarios

CRUDhelper framework - Incremental loads with ease

- Marcus

alec1982
Specialist II
Specialist II
Author

thank you Marcus..