66 Loading most recent file in SQL Server Table from a folder | SQL Server Integration Services

  Рет қаралды 1,769

Satyarth Programming Hub

Satyarth Programming Hub

Күн бұрын

Пікірлер: 12
@carolgs04
@carolgs04 3 жыл бұрын
I didn't understand a word you said but your steps were easy to follow. It works great for me!! Thank you!
@InfinityBigData
@InfinityBigData Жыл бұрын
Muito obrigado, o único que vi que deu certo, simples e rápido parabéns
@SatyarthProgrammingHub
@SatyarthProgrammingHub Жыл бұрын
Muito obrigado pelo seu comentário.
@rahulgautam511
@rahulgautam511 3 жыл бұрын
Thanks for the videos. I was trying to loading the recent text file, I was getting an error an error again and again (the method or operation is not implemented ), although my code was correct. I wrote the code again, but failed again. But I have noticed that, I had two recent files (means on same time it was updated), that's why package was not running. As ever I deleted one file from folder, the recent filed loaded and package run successfully. So here my question is how we can load two files at a time?
@SatyarthProgrammingHub
@SatyarthProgrammingHub 3 жыл бұрын
See, you have to understand the scenario first. Only one can be the most recent files at a given time, two files can never be. Now if you need to load the most recent files then you can use the technique shown in this video. If you want to load multiple files then I have created a video for that as well you can refer to that. Note:- When you have files of the same date and time then there is no point checking for the most recent one. Feel free to let me know if you still have questions/confusion.
@rahulgautam511
@rahulgautam511 3 жыл бұрын
I know the scenario, just a question came to mind while working, that's why I asked you. Thank you so much....!@@SatyarthProgrammingHub
@aman26in
@aman26in Жыл бұрын
Sir, I have a ftp folder which receives approx 100 nos. CSV files every hour with date time in file name for exmple= NUK_230420_160000_ABCD (Name_YYMMDD_HHMMSS_Location) and we want to load the csv files in SQL table automet every hour basis without duplicate file loading
@amolpatil8490
@amolpatil8490 Жыл бұрын
Please share c sharp code. Unable to proceed due to not C sharp code. Please share.
@ak47ava
@ak47ava Жыл бұрын
Hello Styarth, My Excel Sheet1 name changes from each file to file, how do i work around that??
@SatyarthProgrammingHub
@SatyarthProgrammingHub Жыл бұрын
Hello there, in that case rather than relying on the sheet name, please try to make use of the sheet index and it should do the work.
@ak47ava
@ak47ava Жыл бұрын
Hello, I am very new to SSIS and i have no idea how to use index, Is there a tutorial or documentation that you can reference in the chat, I would really appreciate Sir!!!@@SatyarthProgrammingHub
@ak47ava
@ak47ava Жыл бұрын
Also how would you do this with XLSX file not a CSV@@SatyarthProgrammingHub
112 How to import the most recent file from folder using ssis
10:47
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
49 Load only the files those got modified today in SSIS
12:14
Learn SSIS
Рет қаралды 4,4 М.
05 Load only new files in SSIS
13:44
Learn SSIS
Рет қаралды 35 М.
Writing Code That Runs FAST on a GPU
15:32
Low Level
Рет қаралды 575 М.
7 Database Paradigms
9:53
Fireship
Рет қаралды 1,6 МЛН
22 Foreach Loop Container in SSIS Example
11:56
Learn SSIS
Рет қаралды 87 М.
19 Import files from multiple locations to SQL Server in SSIS
13:03
110 How to check if File exists in SSIS
13:08
Learn SSIS
Рет қаралды 10 М.
How I use SQL as a Data Analyst
15:30
Luke Barousse
Рет қаралды 855 М.
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН