powershell - How to load multiple similar CSV files into sql server using batch files -


scenario : ftp server 100's of similar text files xxxxx1.txt,xxxxx2.txt .. same structure need down load , keep files 1 local folder local folder need load sql server after loading need move files backup / archive folder after load . using batch file move ftp server local , using bcp load files in sql server need load similar files. . note: have use bcp . can able load single file struggling load set of files

it easy either informatica / ssis need batch files. please suggest.

a for loop can repeat command on bunch of files

for %a in (*.csv) type %a 

at it's basic. see for /? more.


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -