{"id":1753,"date":"2022-02-13T09:46:29","date_gmt":"2022-02-13T09:46:29","guid":{"rendered":"https:\/\/swatilathia.com\/?page_id=1753"},"modified":"2023-01-05T02:42:35","modified_gmt":"2023-01-05T02:42:35","slug":"assignment-data-warehousing-using-sql-server-2012","status":"publish","type":"page","link":"https:\/\/swatilathia.com\/?page_id=1753","title":{"rendered":"Assignments"},"content":{"rendered":"<body>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69d0307c3af76\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69d0307c3af76\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/swatilathia.com\/?page_id=1753\/#Assignment_%E2%80%93_1_ETL_with_SSIS_Data_Flow\" >Assignment \u2013 1 ETL with SSIS (Data Flow)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/swatilathia.com\/?page_id=1753\/#Assignment_%E2%80%93_2_ETL_with_SSIS_Control_Flow\" >Assignment \u2013 2 ETL with SSIS (Control Flow)<\/a><\/li><\/ul><\/nav><\/div>\n<h4 class=\"has-text-align-center wp-block-heading\" id=\"assignment-1-etl-with-ssis-data-flow\"><span class=\"ez-toc-section\" id=\"Assignment_%E2%80%93_1_ETL_with_SSIS_Data_Flow\"><\/span>Assignment \u2013 1 ETL with SSIS (Data Flow)<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/blog.bismart.com\/hubfs\/Imported_Blog_Media\/ETL\/20190604_imagen2.jpg?resize=402%2C174&#038;ssl=1\" alt=\"What Do We Do? - ETL\" width=\"402\" height=\"174\" loading=\"lazy\"><\/figure>\n\n\n\n<ol class=\"has-medium-font-size wp-block-list\">\n<li>Create an SSIS package that merges 4 different sources into one destination table<\/li>\n\n\n\n<li>Create an SSIS package that stores maximum &amp; minimum marks from each subject of BCA semester 6 of a student list (Data Warehousing, Android, Python) <\/li>\n\n\n\n<li>Create an SSIS package that creates two new columns as \u201cFirstname\u201d &amp; \u201cLastname\u201d from \u201cFullname\u201d column of a student data &amp; store all these columns in a destination table <\/li>\n\n\n\n<li>Create an SSIS package that generate total of all three subjects of individual records (for each student) &amp; percentage. Store these columns in a destination table (Student name, Sub1, Sub2, Sub3, Total, Percentage)<\/li>\n\n\n\n<li>Create an SSIS package that generate a new column after giving 10% of discount on a given product price. Store them in a destination table (Product name, Product Price, Discounted Price). You have to use copy column transformation to create a copy of product price first &amp; then replace it with discounted price<\/li>\n\n\n\n<li>Create an SSIS package that splits students data into different tables (destination) according to their percentage. (Eg. per&gt;65 and per&lt;100 then they must be in a different table &amp; so on)<\/li>\n\n\n\n<li>Create an SSIS package that merges author_name from tbl_author to tbl_book &amp; join them using author_id (Table 1 : book_id,book_name,price,author_id | Table 2 : author_id,author_name)<\/li>\n\n\n\n<li>Create an SSIS package that pivots the following source table<\/li>\n\n\n\n<li>Create an SSIS package that unpivot the previous resultant table into original table<\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-columns has-black-color has-pale-cyan-blue-background-color has-text-color has-background is-layout-flex wp-container-core-columns-is-layout-2 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-1 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<figure class=\"wp-block-table is-style-regular\"><table><tbody><tr><td>rollno<\/td><td>stud_name<\/td><td>subject<\/td><td>marks<\/td><\/tr><tr><td>1<\/td><td>AAAA<\/td><td>J2EE<\/td><td>80<\/td><\/tr><tr><td>1<\/td><td>AAAA<\/td><td>ASP.Net<\/td><td>90<\/td><\/tr><tr><td>1<\/td><td>AAAA<\/td><td>SEO<\/td><td>85<\/td><\/tr><tr><td>2<\/td><td>BBBB<\/td><td>J2EE<\/td><td>70<\/td><\/tr><tr><td>2<\/td><td>BBBB<\/td><td>ASP.Net<\/td><td>70<\/td><\/tr><tr><td>2<\/td><td>BBBB<\/td><td>SEO<\/td><td>80<\/td><\/tr><tr><td>3<\/td><td>CCCC<\/td><td>J2EE<\/td><td>50<\/td><\/tr><tr><td>3<\/td><td>CCCC<\/td><td>SEO<\/td><td>60<\/td><\/tr><tr><td>4<\/td><td>DDDD<\/td><td>ASP.Net<\/td><td>70<\/td><\/tr><\/tbody><\/table><\/figure>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<h4 class=\"has-text-align-center wp-block-heading\" id=\"assignment-2-etl-with-ssis-control-flow\"><span class=\"ez-toc-section\" id=\"Assignment_%E2%80%93_2_ETL_with_SSIS_Control_Flow\"><\/span>Assignment \u2013 2 ETL with SSIS (Control Flow)<span class=\"ez-toc-section-end\"><\/span><\/h4>\n\n\n\n<ol class=\"has-medium-font-size wp-block-list\">\n<li>Create an SSIS package that deletes all the records from SQL table tbl_emp using Execute SQL task &amp; For Loop container. Table information : fields -&gt; emp_id, emp_name, designation (Take at least 10 records). For loop must be executed dynamically.<\/li>\n\n\n\n<li>Create an SSIS package that combines all .CSV files (emp_id,emp_name,basic_sal,HRA,DA,medical) into single SQL server table tbl_emp using foreach loop container. SQL Table information : emp_id,emp_name,basic_sal,HRA,DA,medical,gross_salary. Gross salary must be calculated when data is being loaded from source to destination table.<\/li>\n<\/ol>\n\n\n\n<p class=\"has-vivid-red-color has-text-color has-medium-font-size\">Note : Clear table before executing any package<\/p>\n<\/body>","protected":false},"excerpt":{"rendered":"<p>Assignment \u2013 1 ETL with SSIS (Data Flow) rollno stud_name subject marks 1 AAAA J2EE 80 1 AAAA ASP.Net 90 1 AAAA SEO 85 2 BBBB J2EE 70 2 BBBB ASP.Net 70 2 BBBB SEO 80 3 CCCC J2EE 50 3 CCCC SEO 60 4 DDDD ASP.Net 70 Assignment \u2013 2 ETL with SSIS (Control [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"zakra_page_container_layout":"customizer","zakra_page_sidebar_layout":"customizer","zakra_remove_content_margin":false,"zakra_sidebar":"customizer","zakra_transparent_header":"customizer","zakra_logo":0,"zakra_main_header_style":"default","zakra_menu_item_color":"","zakra_menu_item_hover_color":"","zakra_menu_item_active_color":"","zakra_menu_active_style":"","zakra_page_header":true,"om_disable_all_campaigns":false,"footnotes":""},"class_list":["post-1753","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/swatilathia.com\/index.php?rest_route=\/wp\/v2\/pages\/1753","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/swatilathia.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/swatilathia.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/swatilathia.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/swatilathia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1753"}],"version-history":[{"count":6,"href":"https:\/\/swatilathia.com\/index.php?rest_route=\/wp\/v2\/pages\/1753\/revisions"}],"predecessor-version":[{"id":2669,"href":"https:\/\/swatilathia.com\/index.php?rest_route=\/wp\/v2\/pages\/1753\/revisions\/2669"}],"wp:attachment":[{"href":"https:\/\/swatilathia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}