# Creating pipeline with multiple source files and multiple target tables

**URL:** <https://www.singlestore.com/forum/t/creating-pipeline-with-multiple-source-files-and-multiple-target-tables/2234>\
**Category:** Off-Topic\
**Created:** [August 8, 2020, 10:26am UTC](https://www.singlestore.com/forum/t/creating-pipeline-with-multiple-source-files-and-multiple-target-tables/2234 "2020-08-08T10:26:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishwajeetdabholkar](https://www.singlestore.com/forum/letter_avatar_proxy/v4/letter/v/3d9bf3/32.png) [@vishwajeetdabholkar](https://www.singlestore.com/forum/u/vishwajeetdabholkar)\
**Post date:** [August 8, 2020, 10:26am UTC](https://www.singlestore.com/forum/t/creating-pipeline-with-multiple-source-files-and-multiple-target-tables/2234/1 "2020-08-08T10:26:20Z")

</div>

Hello,

Is it possible to create a pipeline with multiple sources files under one folder and multiple target tables?  
If yes, please let me know how should I do it.

Also is it possible to write a “CREATE PIPELINE” inside a SP and passing table name and file name as parameters to that SP?

my test case is:  
I want to insert data from multiple CSV files into multiple target tables

Thank you in advance 🙂
