SSIS Tutorial Part 121-Reject Already Loaded Files & Load Only New Files to Table in SSIS Package

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ต.ค. 2024

ความคิดเห็น • 26

  • @alainwillydonkeng2650
    @alainwillydonkeng2650 7 หลายเดือนก่อน +1

    Amazing video, exactly what i need

  • @williampenketh1716
    @williampenketh1716 4 ปีที่แล้ว

    Hi. Just used this method where I have many files with different names and it worked perfectly! That you so much!

  • @melodybelayneh4976
    @melodybelayneh4976 3 ปีที่แล้ว +1

    amazing tutorial all well explained thank you sir!

  • @cliveuter2213
    @cliveuter2213 6 ปีที่แล้ว

    Thank you for the video, what changes would l need to make to the flow, if 1 or 2 of the records in the flat file load has been rejected? In this situation I would not want to move the file to archive.

  • @chandrakalakv5630
    @chandrakalakv5630 3 ปีที่แล้ว

    i tried same thing but i got error([Flat File Source [2]] Error: Cannot open the datafile "C:\Users\ChanduGani\Desktop\flats
    ewfiles\Input folder\C:\Users\ChanduGani\Desktop\flats
    ewfiles\Input folder\a.txt".
    )

  • @phuongmss107
    @phuongmss107 6 ปีที่แล้ว

    Hi sir! i need help. I have both of Data flow for two table in SQL, and i must create 2 ArchFile and 2 ESQL_Insert, they can be work, how i can just 1 ArchFile and 1 ESQL_Insert for 2 Data Flow, Thank sir!

  • @amritagupta9492
    @amritagupta9492 3 ปีที่แล้ว +1

    you're amazing thanks!!

  • @rubanpraasaath237
    @rubanpraasaath237 3 ปีที่แล้ว

    I have created the for each loop with 3 types of file in 3 dataflow... first set of file processed successfully, and go for second only one file is processed and then loop got error. can you advice for this issue

  • @ParthThakkar01
    @ParthThakkar01 3 ปีที่แล้ว

    After Deploying this package, it would be nice if the SQL Agent job throws an error while rejecting already loaded files, otherwise job will run successfully for both scenarios and one would never know if the file was loaded or rejected.

  • @safimohiyuddin9403
    @safimohiyuddin9403 8 ปีที่แล้ว

    Hi Aamir thank you for the wonderful video. I am facing an error in Execute SQL task,where in the expression is written for picking up the file name. as soon as I insert the singe apostrophe after the variable @filename, the package is failing n the error is incorrect syntax.

  • @ravitutika1671
    @ravitutika1671 5 ปีที่แล้ว

    DECLARE @FileName VARCHAR(100)
    SET @FileName=
    IF EXISTS (SELECT 1
    FROM [dbo].[FileLoadStatus]
    WHERE filename =@FileName)
    BEGIN
    SELECT 1 AS FileExistsFlg
    END
    ELSE
    BEGIN
    Select 0 AS FileExistsFlg
    END
    am using above code but getting below error
    [Execute SQL Task] Error: Executing the query "DECLARE @FileName VARCHAR(100)
    SET @FileName=Pipe_..." failed with the following error:
    "The multi-part identifier "Pipe_Del_File.txt" could not be bound.".
    Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
    Even i took file from foreach loop container and Execute sql task result set is kept single row

  • @lepalte
    @lepalte 5 ปีที่แล้ว

    Fantastic video! awesome work! Thank you very much!

  • @chaudhryalisalam3668
    @chaudhryalisalam3668 8 ปีที่แล้ว +1

    fabulous sir great work

  • @ShubhangiiGopinath
    @ShubhangiiGopinath 6 ปีที่แล้ว

    hello Aamir Sir, If we use expression in Connection Manager (FullFilePath) property then we do not have to use Delay Validation property to True? Can you please throw some light on it? thank you kindly in advance!

    • @TechBrothersIT
      @TechBrothersIT  6 ปีที่แล้ว

      Hi, Please check my reply below
      techbrothersforum.com/pages/details/346/Should-I-set-Delay-Validation-On-Connection-Manager-if-using-Expressions-in-SSIS-Package

  • @Gabriedj1
    @Gabriedj1 4 ปีที่แล้ว

    This is an amazing tutorial! Thanks sooo much

  • @prachirandive.7195
    @prachirandive.7195 3 ปีที่แล้ว +1

    Loved it

  • @safimohiyuddin9403
    @safimohiyuddin9403 8 ปีที่แล้ว +2

    it was a error from my end thank u

  • @ivanjankovic3292
    @ivanjankovic3292 9 ปีที่แล้ว

    it trows me an error:
    [Execute SQL Task] Error: An error occurred while assigning a value to variable "LoadStatusFlg": "The type of the value being assigned to variable "User::LoadStatusFlg" differs from the current variable type. Variables may not change type during execution. Variable types are strict, except for variables of type Object.

    • @TechBrothersIT
      @TechBrothersIT  9 ปีที่แล้ว

      +Ivan Jankovic Check the data type of your variable.

    • @ivanjankovic3292
      @ivanjankovic3292 9 ปีที่แล้ว

      +TechBrothersIT
      I changed data type from int16 to int32 and it works now.
      Thanks a lot!

    • @TechBrothersIT
      @TechBrothersIT  9 ปีที่แล้ว

      Glad to hear that it worked for you!

  • @rajavijaya3757
    @rajavijaya3757 6 ปีที่แล้ว

    Super man..its really good

  • @dipanjanrej
    @dipanjanrej 3 ปีที่แล้ว

    Thanks Man😊❤

  • @aliazad1118
    @aliazad1118 5 ปีที่แล้ว +1

    Perfect