Learn SSIS
Learn SSIS
  • 518
  • 5 567 192
162 How to get the record count of a file in SSIS
How to get the record count of a file in SSIS
Download files and scripts: drive.google.com/drive/folders/12OVM2d1zSzEcVaogUP6WC9Kb3R2-oXjQ
SSIS Tutorials: ua-cam.com/play/PL_YF--8vjjEVEXMf2hEFn0D5tEJV9kRqi.html
SSIS real time scenarios examples: ua-cam.com/play/PL_YF--8vjjEU1Hdlqp2U_q0JNyFPYUIKY.html
SSIS Interview questions and answers: ua-cam.com/play/PL_YF--8vjjEVYkoxioTCEKAkBxjLEUUB7.html
How to get the record count of a file in SSIS
How to get the record count of a file in C#
how to get row count in .csv file in c#
Happy Learning.
If you have any questions or suggestions please comment on the video or write to me at “aqil33@gmail.com”
Переглядів: 147

Відео

How to migrate data from Oracle to SQL Server using Devart SSIS
Переглядів 437День тому
In this video, I will show you how to migrate data from Oracle to SQL Server using Devart SSIS Data Flow components. This tutorial covers all the necessary steps to ensure a smooth data migration process without complicated coding. I demonstrate the entire process of migrating data between Oracle and SQL Server, as well as migrating data from a CSV file to Oracle. Timestamps: 0:00 Introduction ...
161 How to Open, close and save excel file in C#
Переглядів 161День тому
how to open and save excel file in c# Download files and scripts: drive.google.com/drive/folders/12OVM2d1zSzEcVaogUP6WC9Kb3R2-oXjQ SSIS Tutorials: ua-cam.com/play/PL_YF 8vjjEVEXMf2hEFn0D5tEJV9kRqi.html SSIS real time scenarios examples: ua-cam.com/play/PL_YF 8vjjEU1Hdlqp2U_q0JNyFPYUIKY.html SSIS Interview questions and answers: ua-cam.com/play/PL_YF 8vjjEVYkoxioTCEKAkBxjLEUUB7.html how to open ...
160 How to rename all files from a folder using ssis
Переглядів 223День тому
how to rename file in ssis FileName: replace(RIGHT(@[User::FilePath], FINDSTRING(REVERSE(@[User::FilePath]), "\\", 1) - 1),".csv","") FinalFilePath: @[User::SourceFolder] "\\" @[User::FileName] "_" @[User::CurrentDate] ".csv" Download files and scripts: drive.google.com/drive/folders/12OVM2d1zSzEcVaogUP6WC9Kb3R2-oXjQ SSIS Tutorials: ua-cam.com/play/PL_YF 8vjjEVEXMf2hEFn0D5tEJV9kRqi.html SSIS re...
Install oracle on windows | Install Oracle SQL Developer
Переглядів 20621 день тому
install oracle on windows Download files and scripts: drive.google.com/drive/folders/1-zmuKbL643Ea1nCTVFJzMAyYp8YATZWH?usp=sharing SSIS Tutorials: ua-cam.com/play/PL_YF 8vjjEVEXMf2hEFn0D5tEJV9kRqi.html SSIS real time scenarios examples: ua-cam.com/play/PL_YF 8vjjEU1Hdlqp2U_q0JNyFPYUIKY.html SSIS Interview questions and answers: ua-cam.com/play/PL_YF 8vjjEVYkoxioTCEKAkBxjLEUUB7.html install orac...
89 How to find most recent unique records from sql server table
Переглядів 50221 день тому
88 How to find most recent unique records from sql server table Download the scripts used in the video from here: drive.google.com/drive/folders/1ukcO6ZLGdeGzwyUipZbq0DQF7ycV8_xc?usp=share_link SQL Server tutorials: ua-cam.com/play/PL_YF 8vjjEVLxcpk2gcc_r5BpNeG6Yym.html SQL Server Developer Interview questions: ua-cam.com/play/PL_YF 8vjjEXlKdZv4ogROrGgfaQ0aTYg.html How to find most recent uniqu...
How to migrate data from MySQL to SQL Server using Devart SSIS
Переглядів 39821 день тому
In this video, I will show you how to migrate data from MySQL to SQL Server using Devart SSIS Data Flow components. This tutorial covers all the necessary steps to ensure a smooth data migration process without complicated coding. I demonstrate the entire process of migrating data between MySQL and SQL Server, as well as migrating data from a CSV file to MySQL. Timestamps: 0:00 Introduction 0:5...
88 How to find duplicate records in sql server using row_number
Переглядів 38628 днів тому
88 How to find duplicate records in sql server using row_number Download the scripts used in the video from here: drive.google.com/drive/folders/1ukcO6ZLGdeGzwyUipZbq0DQF7ycV8_xc?usp=share_link SQL Server tutorials: ua-cam.com/play/PL_YF 8vjjEVLxcpk2gcc_r5BpNeG6Yym.html SQL Server Developer Interview questions: ua-cam.com/play/PL_YF 8vjjEXlKdZv4ogROrGgfaQ0aTYg.html How to find duplicate records...
87 How to find duplicate records in a sql server table
Переглядів 455Місяць тому
how to find duplicate records in sql server table Download the scripts used in the video from here: drive.google.com/drive/folders/1ukcO6ZLGdeGzwyUipZbq0DQF7ycV8_xc?usp=share_link SQL Server tutorials: ua-cam.com/play/PL_YF 8vjjEVLxcpk2gcc_r5BpNeG6Yym.html SQL Server Developer Interview questions: ua-cam.com/play/PL_YF 8vjjEXlKdZv4ogROrGgfaQ0aTYg.html how to find duplicate records in sql server...
159 How to compress multiple files without any third party software in ssis
Переглядів 195Місяць тому
How to compress multiple files without any third party software in ssis Download files and scripts: drive.google.com/drive/folders/12OVM2d1zSzEcVaogUP6WC9Kb3R2-oXjQ SSIS Tutorials: ua-cam.com/play/PL_YF 8vjjEVEXMf2hEFn0D5tEJV9kRqi.html SSIS real time scenarios examples: ua-cam.com/play/PL_YF 8vjjEU1Hdlqp2U_q0JNyFPYUIKY.html SSIS Interview questions and answers: ua-cam.com/play/PL_YF 8vjjEVYkoxi...
158 Migrate data from access to sql server using ssis
Переглядів 342Місяць тому
Migrate data from access to sql server using ssis Download files and scripts: drive.google.com/drive/folders/12OVM2d1zSzEcVaogUP6WC9Kb3R2-oXjQ SSIS Tutorials: ua-cam.com/play/PL_YF 8vjjEVEXMf2hEFn0D5tEJV9kRqi.html SSIS real time scenarios examples: ua-cam.com/play/PL_YF 8vjjEU1Hdlqp2U_q0JNyFPYUIKY.html SSIS Interview questions and answers: ua-cam.com/play/PL_YF 8vjjEVYkoxioTCEKAkBxjLEUUB7.html ...
157 How to compress a file without any third party software in ssis
Переглядів 252Місяць тому
How to compress a file without any third party software in ssis Download files and scripts: drive.google.com/drive/folders/12OVM2d1zSzEcVaogUP6WC9Kb3R2-oXjQ SSIS Tutorials: ua-cam.com/play/PL_YF 8vjjEVEXMf2hEFn0D5tEJV9kRqi.html SSIS real time scenarios examples: ua-cam.com/play/PL_YF 8vjjEU1Hdlqp2U_q0JNyFPYUIKY.html SSIS Interview questions and answers: ua-cam.com/play/PL_YF 8vjjEVYkoxioTCEKAkB...
156 How to change excel column to numeric in ssis
Переглядів 618Місяць тому
How to change excel column to numeric in ssis Download files and scripts: drive.google.com/drive/folders/12OVM2d1zSzEcVaogUP6WC9Kb3R2-oXjQ SSIS Tutorials: ua-cam.com/play/PL_YF 8vjjEVEXMf2hEFn0D5tEJV9kRqi.html SSIS real time scenarios examples: ua-cam.com/play/PL_YF 8vjjEU1Hdlqp2U_q0JNyFPYUIKY.html SSIS Interview questions and answers: ua-cam.com/play/PL_YF 8vjjEVYkoxioTCEKAkBxjLEUUB7.html How ...
86 What is a non clustered index in sql server
Переглядів 295Місяць тому
What is a non clustered index in sql server Download the scripts used in the video from here: drive.google.com/drive/folders/1ukcO6ZLGdeGzwyUipZbq0DQF7ycV8_xc?usp=share_link SQL Server tutorials: ua-cam.com/play/PL_YF 8vjjEVLxcpk2gcc_r5BpNeG6Yym.html SQL Server Developer Interview questions: ua-cam.com/play/PL_YF 8vjjEXlKdZv4ogROrGgfaQ0aTYg.html what is a non clustered index in sql server What ...
85 What is a clustered index in SQL Server
Переглядів 495Місяць тому
what is a clustered index in sql server Download the scripts used in the video from here: drive.google.com/drive/folders/1ukcO6ZLGdeGzwyUipZbq0DQF7ycV8_xc?usp=share_link SQL Server tutorials: ua-cam.com/play/PL_YF 8vjjEVLxcpk2gcc_r5BpNeG6Yym.html SQL Server Developer Interview questions: ua-cam.com/play/PL_YF 8vjjEXlKdZv4ogROrGgfaQ0aTYg.html what is a clustered index in sql server What is clust...
155 How to move files to year wise folder in ssis
Переглядів 6382 місяці тому
155 How to move files to year wise folder in ssis
84 What is a materialized view in sql server
Переглядів 1,1 тис.2 місяці тому
84 What is a materialized view in sql server
11 Hindi | File System Task in SSIS
Переглядів 3582 місяці тому
11 Hindi | File System Task in SSIS
10 Hindi | Export data from SQL server to Fixed Width File in SSIS
Переглядів 3052 місяці тому
10 Hindi | Export data from SQL server to Fixed Width File in SSIS
154 How to export data to multiple excel files in SSIS
Переглядів 1,2 тис.2 місяці тому
154 How to export data to multiple excel files in SSIS
83 What is schemabinding view in sql server
Переглядів 6292 місяці тому
83 What is schemabinding view in sql server
82 Working with views in sql server
Переглядів 3732 місяці тому
82 Working with views in sql server
81 What is a view in sql server | Create view in SQL Server
Переглядів 5012 місяці тому
81 What is a view in sql server | Create view in SQL Server
80 Difference between stored procedure and function in sql server
Переглядів 5712 місяці тому
80 Difference between stored procedure and function in sql server
153 How to upload files to sftp server using batch file in SSIS | WinScp
Переглядів 1,3 тис.2 місяці тому
153 How to upload files to sftp server using batch file in SSIS | WinScp
151 How to export data returned from stored procedure to CSV file
Переглядів 4873 місяці тому
151 How to export data returned from stored procedure to CSV file
79 What are user defined functions in sql server
Переглядів 1,4 тис.3 місяці тому
79 What are user defined functions in sql server
152 Variable and parameter in ssis
Переглядів 9053 місяці тому
152 Variable and parameter in ssis
78 How to do error handling in stored procedure sql server
Переглядів 1,6 тис.3 місяці тому
78 How to do error handling in stored procedure sql server
77 Create a stored procedure for real life problem part 3
Переглядів 1 тис.4 місяці тому
77 Create a stored procedure for real life problem part 3

КОМЕНТАРІ

  • @prodrigu75
    @prodrigu75 8 годин тому

    Thanks my friend. You saved my day with this video. In my case it was not Excel, but rather a SQL Query. The addition that I incorporated to my ETL is to query by Insertion Date and Update Date (2 fields that my table already had). Thank you very much and greetings from Santiago de Chile. --- Gracias amigo. Has salvado mi dìa con este video. En mis caso no se trataba de Excel, sino que de una Consulta SQL. El agregado que le incorporè a mi ETL es consultar por Fecha de Inserciòn y Fecha de Actualizaciòn (2 campos que mi tabla ya tenía). Muchas gracias y saludos desde Santiago de Chile.

  • @prodrigu75
    @prodrigu75 8 годин тому

    ¡Gracias!

  • @RAMESHKOTIKALAPUDI
    @RAMESHKOTIKALAPUDI 20 годин тому

    For seasoned developers looking for a quick tutorial, this is wonderful. Concise and to the point still packed with lots of information. Great Video. Thanks.

  • @ronron7763
    @ronron7763 2 дні тому

    awesome thanks

  • @TRIDIBESHCHATTOPADHYAY
    @TRIDIBESHCHATTOPADHYAY 2 дні тому

    What is person&

    • @learnssis
      @learnssis 2 дні тому

      1. Sheet without $ (Normal name): This refers to a regular worksheet within the Excel workbook. For example, if you name your sheet "SalesData", it will appear in Excel without a dollar sign ($). 2. Sheet with $: This typically refers to a named range or a specific type of Excel object that can be accessed through a special syntax in Excel formulas or through other Excel features. For example, if you name your sheet "SalesData$" or "SalesData$A1 ", it could represent a named range (SalesData) or a structured reference within the workbook.

  • @hanumishra5590
    @hanumishra5590 2 дні тому

    Hello I am working as an SQL developer I wanna learn SSIS Services Which play list of urs should I follow

    • @learnssis
      @learnssis 2 дні тому

      SSIS Tutorials: ua-cam.com/play/PL_YF--8vjjEVEXMf2hEFn0D5tEJV9kRqi.html SSIS real time scenarios examples: ua-cam.com/play/PL_YF--8vjjEU1Hdlqp2U_q0JNyFPYUIKY.html SSIS Interview questions and answers: ua-cam.com/play/PL_YF--8vjjEVYkoxioTCEKAkBxjLEUUB7.html

  • @user-mp1jn8vv3f
    @user-mp1jn8vv3f 2 дні тому

    I have successfully deployed the project in sql server however its not running under sql server agent showing the error 1.Winscp.exe is not in path when i chose the option File system 2.When I am selecting the SSIS catlogue it showing The certificate chain was issued by an authority that is not trusted

    • @learnssis
      @learnssis 2 дні тому

      Winscp should be installed on the server on which you are deploying your ssis package. Winscp.exe file should present at the correct location on server whatever location is given in the Execute process task.

    • @user-mp1jn8vv3f
      @user-mp1jn8vv3f День тому

      Winscp is installed on the server and also the file location is correct

  • @VyshnaviiM
    @VyshnaviiM 2 дні тому

    How to pass the key while pulling ssis from job?

  • @RmKxKingxGojo
    @RmKxKingxGojo 3 дні тому

    hi! i have an ssis package and it work when i run in visual studio but when i try to make a sql server agent job it show this error: Message Executed as user: NT Service\SQLSERVERAGENT. Pipeline Description: OLE DB Source failed validation and returned error code 0xC020801C. End Error Error: 2024-06-28 09:23:18.32 Code: 0xC004700C Source: Export data to csv SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2024-06-28 09:23:18.32 Code: 0xC0024107 Source: Export data to csv Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 9:23:12 AM Finished: 9:23:18 AM Elapsed: 5.484 seconds. The package execution failed. The step failed. Need your help to resolve this. Best regards,

    • @learnssis
      @learnssis 3 дні тому

      Is the ssis package placed on the file system or you are referring the ssis package from ssis catalog in sql agent job ? Make sure to set the delay validation property of ssis package to true. Take a look at this video as well. ua-cam.com/video/fIhkb3P3Jss/v-deo.html

    • @RmKxKingxGojo
      @RmKxKingxGojo 3 дні тому

      @@learnssis file system, let me test again because the database is busy and i'll try it again.

    • @RmKxKingxGojo
      @RmKxKingxGojo 3 дні тому

      @@learnssis it show this error after an update i've made Message Executed as user: NT Service\SQLSERVERAGENT. NNECTIONMANAGER. The AcquireConnection method call to the connection manager "TDBP78WV.DWH_ALL_Billing.backup_user" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed. End Error Error: 2024-06-28 11:44:41.86 Code: 0xC0047017 Source: Export data to csv SSIS.Pipeline Description: OLE DB Source failed validation and returned error code 0xC020801C. End Error Error: 2024-06-28 11:44:41.86 Code: 0xC004700C Source: Export data to csv SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2024-06-28 11:44:41.86 Code: 0xC0024107 Source: Export data to csv Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 11:44:36 AM Finished: 11:44:41 AM Elapsed: 5.328 seconds. The package execution failed. The step failed.

  • @mallikarjunt29
    @mallikarjunt29 3 дні тому

    Thanks man😊 it saved me.

    • @learnssis
      @learnssis 3 дні тому

      Glad it worked for you.

  • @markdhelweb
    @markdhelweb 4 дні тому

    How to see view table? i have view table and data

    • @learnssis
      @learnssis 3 дні тому

      Do you have view in sql server ?

  • @jaavithnazeem4507
    @jaavithnazeem4507 4 дні тому

    Hi Aqil, If Im not mistaken I have seen another video from your channel about XML ingestion. The video shows on how to ingest XML to flat data. Something to do with template to flatten the data. Do you have that😀

    • @learnssis
      @learnssis 4 дні тому

      Sorry I don't remember about any such video.

  • @chaithuchaitanya9273
    @chaithuchaitanya9273 4 дні тому

    I watched all interview questions tq so much Aqil.

  • @sasiramsarath
    @sasiramsarath 4 дні тому

    Hii Akil, I have a folder in which multiple .xlsx files are created with 600-800 rows of data all with same column names. The names of the files are the timestamp of the file creation time ie. DDMMYYYYHHMMSS.xlsx Ive created an automated merging process into one that uses vbs and Excel's native get data functionality. The vbs script is triggered by a scheduled task . Now i want to connect this master data excel file to my ms sql server automatically. The master excel file now has 60k + rows of data and keeps on growing. I need a solution this pblm. Note : one of the column of the master file does has time stamp. is it possible to pull data from the file based on the time stamp . And update the db. Because truncating the db table each time and inserting all the data freshly might end up in data loss. Because after some period the files in the og folder will be automatically deleted. That deletion will reflect in the master file . So the db will also lose that data.

  • @ahmedmehany
    @ahmedmehany 4 дні тому

    many thanks for these good expanation

  • @malllikaavvari2543
    @malllikaavvari2543 4 дні тому

    Thank you for your Videos ,They are very useful, i have small Question Q) How to get to know weather all the records from CSV file loaded Successfully or not what parameters we need to check .

    • @learnssis
      @learnssis 4 дні тому

      Ideally if a data flow task is successful then it will load all records from csv file to sql server table. However if you want to double check, then you can use C# to get the total number of records from the csv file and assign the value to an ssis variable. And then after loading the data to sql server table using data flow task, you can check the total number of records loaded today and assign the value to the ssis variable using execute sql task with single result set option. Later you can compare the values between both the ssis variables, if they will be same the all records loaded otherwise there is a difference between source file record count and records loaded today to the sql server table.

  • @evgeniji7621
    @evgeniji7621 4 дні тому

    Hello! I have exception with it: "... could not be upgraded to newer version of the component. The PerformUpgrade method failed".

  • @jeffrey6124
    @jeffrey6124 4 дні тому

    6 years old video but still a PRECIOUS one 😍

  • @lever_up
    @lever_up 5 днів тому

    Great video - Might be a dumb question but this will also apply for SQL Server 2022 as well?

    • @learnssis
      @learnssis 5 днів тому

      Thanks, Yes it will apply for sql server 2022 as well.

  • @johnesraelo4614
    @johnesraelo4614 5 днів тому

    changing the sheet name the way you demonstrated does not work for me. is there anything omitted from your tutorial erroneously? any assistance will be appreciated. thx

    • @johnesraelo4614
      @johnesraelo4614 5 днів тому

      I have found out what was misleading and got mine fixed. If anyone interested then please let me know. in a nutshell, don't change the sheet name in the paramters, do it in the second DFT

    • @johnesraelo4614
      @johnesraelo4614 5 днів тому

      also make sure of the DFT in the inner Loop has a delay validation set to true

  • @BN-ys1sj
    @BN-ys1sj 6 днів тому

    🙏💯

  • @ericsos101
    @ericsos101 6 днів тому

    I have a single raw data flat file and I need to validate the total length of the file and load the row length with fixed width format into a sql database table , can you make a video on that 😮😮 great video by the way

    • @learnssis
      @learnssis 6 днів тому

      This will be done using C#. Can you please ask chatgpt to write the code for this requirement. It can write the code for you. Copy the first row from the flat file and give to chatgpt and ask to write the program.

    • @ericsos101
      @ericsos101 6 днів тому

      @@learnssis actually it’s a total row length that need to be validated

  • @user-gm9nd3dt7r
    @user-gm9nd3dt7r 6 днів тому

    I’m not geetiny any error I have not used sql bulk copy actually I’m using oledbcommand for connection string as yhat provider is not supported I was getting exception How to fill that datatable

    • @learnssis
      @learnssis 6 днів тому

      Can you try to get help from chatgpt ?

  • @johnesraelo4614
    @johnesraelo4614 6 днів тому

    we have quite few talented SQL developers and lovely videos. Apparently, none of them willing to invest in purchasing a MIC.

    • @learnssis
      @learnssis 6 днів тому

      ha ha 😀. I was not sure if there is anything which is called as MIC

  • @user-gm9nd3dt7r
    @user-gm9nd3dt7r 6 днів тому

    HibAkil, I have used this script task and created table dynamically but in the database tables table I could see only F1, F2 positions not the data or column headers

    • @learnssis
      @learnssis 6 днів тому

      Can you check the Logs folder and see what error message you are getting in error_log files ?

  • @sanjuladissanayake5295
    @sanjuladissanayake5295 6 днів тому

    Hi, Is there any way that we can add a new column to the fact table in the data warehouse after project deployment to the database?

    • @learnssis
      @learnssis 6 днів тому

      The column can be added directly to Fact table using the sql query. But the SSIS package can't be changed automatically. it needs to be changed and redeployed.

    • @sanjuladissanayake5295
      @sanjuladissanayake5295 6 днів тому

      @@learnssis Will there be null values for that column after the initial load or do we have to load the entire data adding that new column to the fact table. I highly appreciate your response.

    • @learnssis
      @learnssis 6 днів тому

      @@sanjuladissanayake5295 If you already have data in the Fact table and you add a new column later to the Fact table then it will have NULL values for that column for all records. Now either you can fix the data manually to that column based on a join on source table, or you can map that column in the SSIS package and delete and reload the data to Fact table again.

    • @sanjuladissanayake5295
      @sanjuladissanayake5295 3 дні тому

      Thank you so much for this❤️

  • @netran104
    @netran104 7 днів тому

    The example could have been different

  • @santrimelupusat23
    @santrimelupusat23 7 днів тому

    How about using login windows authentication?

    • @learnssis
      @learnssis 7 днів тому

      I think I used only windows authentication method in this video. I did not used any password here.

  • @Ankit_Gurjar_1997
    @Ankit_Gurjar_1997 7 днів тому

    Dear Akhil Sir, I appreciate your video demonstration. In the folder, there are currently three files: Email.csv Employee.csv Student.csv We need to ensure that any additional CSV file added to this folder, such as "Product.csv", is not renamed , Means "Product.csv" Should be Not be Renamed , Only we want to Rename Specific File in One Folder

    • @learnssis
      @learnssis 7 днів тому

      If you do not want to rename a specific file, then before the File System Task, you can put a data flow task, and connect the data flow task with the File System Task. Now on the expressions between data flow task and File System Task, select Expressions, and write the expressions there Just drag and drop the FileName into the expression windows and write condition @Filename != "Product.csv" And then save the changes. I have written @FileName but here you would need to drag and drop the FileName ssis variable. Now what will happen the File System Task will only get executed if the file name is not Product.csv

    • @Ankit_Gurjar_1997
      @Ankit_Gurjar_1997 7 днів тому

      did you create any video on this , Please share the link with me

    • @learnssis
      @learnssis 7 днів тому

      @@Ankit_Gurjar_1997 If you look at this video, I have used the expressions here to decide whether to execute the next task or not. ua-cam.com/video/OklmSWn3qso/v-deo.html

  • @sccc-l3g
    @sccc-l3g 8 днів тому

    Thank you for your good explanation If the dimensions are loaded first , then the fact table, Is it necessary to insert zero sk to the dimensions?

    • @learnssis
      @learnssis 8 днів тому

      If we won't insert the zero sk then we might miss some records to be inserted to fact table as there won't be any match for those records.

    • @sccc-l3g
      @sccc-l3g 8 днів тому

      My answer is: For example, loading the fact table every 1 hour and dimensions every 1 week So we need to insert zero sk But in addition price changes and quantity changes we need to consider sk changes To update zero value sk I think the conditional split can have another condition to check for sk changes thanks

  • @tonyp35
    @tonyp35 8 днів тому

    Very informative video. In the FilePath variable, how can you make it find a dynamic file. For example: the name of the .csv file can change, but how can you make that a variable?

    • @learnssis
      @learnssis 8 днів тому

      We are using a foreach loop container here, So the foreach loop container can loop through files in a folder and can assign the FilePath with the value of a File Path that is available in a folder.

  • @Prashantbaurai
    @Prashantbaurai 9 днів тому

    nothing happening after executing mysql command

  • @user-jh2yv2jz5s
    @user-jh2yv2jz5s 9 днів тому

    Sir. My SSIS package is writing 0 rows for 1-2 columns after running for 2-3 days. what will be the reason

    • @learnssis
      @learnssis 9 днів тому

      it totally depends what is written in the SSIS package. Is it a simple load or incremental load. What is your source? Are you reading data from a single table or multiple table ? Is enough data available in source or not ?

    • @user-jh2yv2jz5s
      @user-jh2yv2jz5s 9 днів тому

      @@learnssis it is a cte which has subqueries, joins . data is available in source and it is incremental load by using staging table

    • @learnssis
      @learnssis 9 днів тому

      @@user-jh2yv2jz5s Try to run the cte queries on the source system whether it is fetching data or not. If it fetching data then that data might be available in destination table.

    • @user-jh2yv2jz5s
      @user-jh2yv2jz5s 9 днів тому

      @@learnssis i have checked with cte the data is coming

    • @learnssis
      @learnssis 9 днів тому

      @@user-jh2yv2jz5s Maybe that data already exists in the destination table. Can you insert that data to a staging table and see if that data is already in the destination table ?

  • @lifeisawesome4566
    @lifeisawesome4566 10 днів тому

    Thanks for this great tutorial. I have a question: If files are in SharePoint, is this approach will work?

    • @learnssis
      @learnssis 10 днів тому

      No. If the files are at sharepoint then first you would need to download the files from sharepoint to a folder on the server and then you can use this method.

  • @MalleswariK-kg6eb
    @MalleswariK-kg6eb 10 днів тому

    Ssis error code: dts_e_oledb error oledb error has occurred Error code : 0x80004005 Please provide the solution for above mentioned error

    • @learnssis
      @learnssis 10 днів тому

      Sorry this is very limited error message. Can you go to sql job and if the ssis package is deployed to ssis catalog then please check the error message there. And in the sql agent job if you are using the ssis package from file system then please go to history of the job and try to get the complete error message from there.

  • @MalleswariK-kg6eb
    @MalleswariK-kg6eb 10 днів тому

    Hi

  • @verdigin.kadar.alirsin1453
    @verdigin.kadar.alirsin1453 11 днів тому

    THERE ARE TOO MANY PROBLEMS LIKE THAT. PLEASE HELP US. VARIABLES DONT WORK LIKE YOU Error at Employee [SSIS.Pipeline]: OLE DB Destination.Inputs[OLE DB Destination Input].Columns[first_name] has lineage ID 18 that was not previously used in the Data Flow task. Error at Employee [SSIS.Pipeline]: "OLE DB Destination" failed validation and returned validation status "VS_NEEDSNEWMETADATA". Error at Employee [SSIS.Pipeline]: One or more component failed validation. Error at Employee: There were errors during task validation.

  • @JayanthJohn
    @JayanthJohn 11 днів тому

    Is their any way to get the same task done without using the script task?

    • @learnssis
      @learnssis 11 днів тому

      Sorry I am not aware about any other method. There are very minor chances that it can be done by some other method.

  • @Buddyboy-zj7hh
    @Buddyboy-zj7hh 12 днів тому

    I need one doubt please can you provide information,I have a job in SQL server agent I need to pass parameter through the dynamic how is it please can you explain sir.

    • @learnssis
      @learnssis 12 днів тому

      I think I already replied to you.

  • @NandhaKumar-ev9sj
    @NandhaKumar-ev9sj 12 днів тому

    Hi Sir Good Day !! Good Explanation :) I never know before these deployment methods now i can understand I'm planning to do deployment in servers from git hub branch I don't know what to do if u have any idea , kindly provide some links

    • @learnssis
      @learnssis 12 днів тому

      You need to get the ssis packages from github to a folder on the machine and then you can deploy it. In this video you can learn how to get the code from github ua-cam.com/video/ZpBoUntYzoM/v-deo.html

  • @Buddyboy-zj7hh
    @Buddyboy-zj7hh 12 днів тому

    I need one doubt please can you provide information,I have a job in SQL server agent I need to pass parameter through the dynamic how is it please can you explain sir.

    • @learnssis
      @learnssis 12 днів тому

      Please take a look at this video. ua-cam.com/video/1GBrMBZSAoA/v-deo.html

  • @Buddyboy-zj7hh
    @Buddyboy-zj7hh 12 днів тому

    Sir thank you nice content.

    • @learnssis
      @learnssis 12 днів тому

      You are most welcome.

  • @ArwaAldoudOmer
    @ArwaAldoudOmer 12 днів тому

    Thank you for your help with that. I'm very grateful 💛

    • @learnssis
      @learnssis 12 днів тому

      Thank you Arwa Omer.

  • @keithmellor9238
    @keithmellor9238 12 днів тому

    Thank you for the clear tutorial, this is very useful for my work project. Can you please tell me how i could add adapt the script to add a dynamic timestamp to the zip file in the format YYYYMMDDHH24MISS ? With it being a C# script im unfamiliar with this syntax. Many Thanks in advance :-)

    • @learnssis
      @learnssis 12 днів тому

      this is the code to zip a single file. string currentdatetime = DateTime.Now.ToString("yyyyMMddHHmmss"); string LogFolder = @"D:\Files\Logs"; // string sourceDirectory = @"D:\Files\Apple"; string zipFilePath = @"D:\Files\Data.zip"; // string zipFilePath_Folder = @"D:\Files\Apple.zip"; try { // ZipFile.CreateFromDirectory(sourceDirectory, zipFilePath_Folder); string formattedDate = DateTime.Now.ToString("yyyyMMddHHmmss"); string newZipFilePath = Path.Combine(Path.GetDirectoryName(zipFilePath), Path.GetFileNameWithoutExtension(zipFilePath) + "_" + formattedDate + Path.GetExtension(zipFilePath)); string sourceFilePath = @"D:\Files\Email.csv"; using (FileStream zipToCreate = new FileStream(newZipFilePath, FileMode.Create)) { using (ZipArchive archive = new ZipArchive(zipToCreate, ZipArchiveMode.Create)) { archive.CreateEntryFromFile(sourceFilePath, Path.GetFileName(sourceFilePath)); } } } catch (Exception exception) { using (StreamWriter sw = File.CreateText(LogFolder + "\\" + "ErrorLog_" + currentdatetime + ".log")) { sw.WriteLine(exception.ToString()); } }

  • @verdigin.kadar.alirsin1453
    @verdigin.kadar.alirsin1453 13 днів тому

    İf someone got a problem with finding the dtexecui, can look at this path: C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\CommonExtensions\Microsoft\SSIS\150\Binn

  • @verdigin.kadar.alirsin1453
    @verdigin.kadar.alirsin1453 14 днів тому

    My SQL task doesnt work cause of the result set "Single Row". what can ı do that for handle this problem

    • @verdigin.kadar.alirsin1453
      @verdigin.kadar.alirsin1453 14 днів тому

      Error: 0xC00291E2 at GET Max RunId, Execute SQL Task: There is an invalid number of result bindings returned for the ResultSetType: "ResultSetType_SingleRow".

    • @learnssis
      @learnssis 13 днів тому

      @@verdigin.kadar.alirsin1453 This means the sql query in the execute sql task is not returning the single row. Watch this video for more details ua-cam.com/video/_8nbAMHXGIQ/v-deo.html

  • @masroor6635
    @masroor6635 16 днів тому

    You are awesome and life saver.

  • @user-qs1cc6fq9y
    @user-qs1cc6fq9y 16 днів тому

    Hi Aqil, Thanks for your amazing video which help us lot. I have one question can you please resolve if possible. Can we open,save and close the excel file using SSIS @scheduled time. Like every day 3 PM that package execute and open the excel file which is in particular folder and save and close the file. Awaiting for your response Thanks in advance

    • @learnssis
      @learnssis 16 днів тому

      You can do that using C#. Below is the C# code which can work here. You can put this code in Main method and provide the values to LogFolder path variable, FolderPath variable, and FilePath variables, rest of the code will remain same. string currentdatetime = DateTime.Now.ToString("yyyyMMddHHmmss"); string LogFolder = @"D:\Files\Logs"; string FolderPath = @"D:\Files"; string FilePath = @"D:\Files\sdf 3.xlsx"; string FileName = Path.GetFileNameWithoutExtension(FilePath); try { Microsoft.Office.Interop.Excel.Application app = new Microsoft.Office.Interop.Excel.Application(); string execPath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().CodeBase); Workbook book = app.Workbooks.Open(FilePath); Worksheet sheet = (Worksheet)book.Worksheets[1]; if (File.Exists(FolderPath + "\\" + FileName + "_New.xlsx")) { File.Delete(FolderPath + "\\" + FileName + "_New.xlsx"); } book.SaveAs(FolderPath + "\\" + FileName + "_New.xlsx"); if (File.Exists(FilePath)) { File.Delete(FilePath); } book.Close(); app.Quit(); if (File.Exists(FolderPath + "\\" + FileName + "_New.xlsx")) { File.Move(FolderPath + "\\" + FileName + "_New.xlsx", FilePath); } } catch (Exception ex) { using (StreamWriter sw = File.CreateText(LogFolder + "\\" + "ErrorLog_" + currentdatetime + ".log")) { sw.WriteLine(ex.ToString()); } }

    • @user-qs1cc6fq9y
      @user-qs1cc6fq9y 16 днів тому

      @@learnssis can you please share an video with apply this code. Thanks in advance

    • @learnssis
      @learnssis 16 днів тому

      @@user-qs1cc6fq9y I don't have a video at the moment, I will try to make a video this weekend and will share it on Monday.

    • @user-qs1cc6fq9y
      @user-qs1cc6fq9y 16 днів тому

      @@learnssis in this code have to add excel app reference in namespace..like using excel.interop ..is it?

    • @user-qs1cc6fq9y
      @user-qs1cc6fq9y 16 днів тому

      @@learnssis will wait for your video till the time I will try my end. Thanks 🙏 Your knowledge is really mind-blowing.thanks a lot

  • @shailjabanka9512
    @shailjabanka9512 16 днів тому

    It gives me this error when i call the ssis pkg with this script Retrieving the com class factory for component with clsid xxx failed due to following error 80040154 Class not registered regdb_e_classnotreg... can you please help

    • @learnssis
      @learnssis 16 днів тому

      Can you try to run the package in 32-bit mode and see if it helps.

  • @ipelengmekgwe834
    @ipelengmekgwe834 16 днів тому

    Thank you!

    • @learnssis
      @learnssis 16 днів тому

      You are most welcome.