Page 1 of 1

Data insertion to database

Posted: Tue Nov 06, 2007 2:58 am
by arun_kumar
Hi all,

I had a problem like this:-



In a directory i used to get flat files in different timings.Every time it has to check for the files are existed in directory or not then it has to insert data to database.Is there any stage to resolve this situation.i mean checking and inserting data to database.

If meatadata is same for these files.

OR

If it is having different metadata which stage i have to prefer for both parallel and server jobs.


Thanks in advance.

Posted: Tue Nov 06, 2007 3:03 am
by ray.wurlod
You design what you need.

Server jobs are particular about metadata; with parallel jobs you can use the Schema File property to be a little more flexible, but you still need to map the various different target columns from source.

Surely there is a small and finite set of metadata variations?

Posted: Tue Nov 06, 2007 7:35 am
by chulett
I would typically script a 'checker' like that. Then with all metadata the same, process all files at once by concatenation or via the Filter option. Otherwise, a looping structure can be built to process them one-by-one.