{"id":1403,"date":"2017-01-19T17:46:12","date_gmt":"2017-01-19T12:16:12","guid":{"rendered":"http:\/\/stepbystepschools.net\/?p=1403"},"modified":"2017-01-19T17:46:12","modified_gmt":"2017-01-19T12:16:12","slug":"execute-sql-task-in-ssis","status":"publish","type":"post","link":"https:\/\/www.stepbystepschools.net\/?p=1403","title":{"rendered":"Execute SQL Task in SSIS"},"content":{"rendered":"<p>In this write\u2013up we will demonstrate error and solution caused while using SQL Execute Task component in SSIS. This error occurred when candidate of<br \/>\n<a href=\"http:\/\/www.learnmsbitutorials.net\/training.php\" target=\"_blank\">MSBI training<\/a> was trying to perform \u201cSelect\u201d query through Execute SQL Task.<\/p>\n<p><b>Error:<\/b><\/p>\n<p>The error occurred when trying to perform Execute SQL Task. As the name itself says it is a component using which we can execute any SQL tasks whether they are queries or whether they are stored procedures.<\/p>\n<p><a href=\"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2017\/01\/1-10.jpg\" rel=\"attachment wp-att-1404\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1404\" src=\"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2017\/01\/1-10.jpg\" alt=\"1\" width=\"602\" height=\"203\" srcset=\"https:\/\/www.stepbystepschools.net\/wp-content\/uploads\/2017\/01\/1-10.jpg 602w, https:\/\/www.stepbystepschools.net\/wp-content\/uploads\/2017\/01\/1-10-300x101.jpg 300w\" sizes=\"(max-width: 602px) 100vw, 602px\" \/><\/a><\/p>\n<p>Go to \u201cProgress\u201d tab to see error in more detail.As the error here says that \u201cThe result binding name must be set to zero for full result set and XML results\u201d<\/p>\n<p><a href=\"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2017\/01\/2-10.jpg\" rel=\"attachment wp-att-1405\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1405\" src=\"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2017\/01\/2-10.jpg\" alt=\"2\" width=\"627\" height=\"201\" srcset=\"https:\/\/www.stepbystepschools.net\/wp-content\/uploads\/2017\/01\/2-10.jpg 627w, https:\/\/www.stepbystepschools.net\/wp-content\/uploads\/2017\/01\/2-10-300x96.jpg 300w\" sizes=\"(max-width: 627px) 100vw, 627px\" \/><\/a><\/p>\n<p>Now the error describes itself and there is no further easier way we can describe the error. While configuring the Execute SQL Task component there is an option known as Result Set. Now there are different options which we can select as our Result Set.<\/p>\n<p>Result Set Contains 4 options:<\/p>\n<ul>\n<li>None<\/li>\n<li>Single Row<\/li>\n<li>Full Result Set<\/li>\n<li>XML<\/li>\n<\/ul>\n<p>So here we have selected our option as \u201cFull Result Set\u201d as we will be handling bunch of records.<\/p>\n<p><a href=\"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2017\/01\/3-10.jpg\" rel=\"attachment wp-att-1406\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1406\" src=\"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2017\/01\/3-10.jpg\" alt=\"3\" width=\"627\" height=\"373\" srcset=\"https:\/\/www.stepbystepschools.net\/wp-content\/uploads\/2017\/01\/3-10.jpg 627w, https:\/\/www.stepbystepschools.net\/wp-content\/uploads\/2017\/01\/3-10-300x178.jpg 300w\" sizes=\"(max-width: 627px) 100vw, 627px\" \/><\/a><\/p>\n<p>And then we have given some name to our result set,<\/p>\n<p><a href=\"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2017\/01\/4-9.jpg\" rel=\"attachment wp-att-1407\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1407\" src=\"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2017\/01\/4-9.jpg\" alt=\"4\" width=\"628\" height=\"298\" srcset=\"https:\/\/www.stepbystepschools.net\/wp-content\/uploads\/2017\/01\/4-9.jpg 628w, https:\/\/www.stepbystepschools.net\/wp-content\/uploads\/2017\/01\/4-9-300x142.jpg 300w\" sizes=\"(max-width: 628px) 100vw, 628px\" \/><\/a><\/p>\n<p>And here is where the error is occurring as the error in the above image said that the name should be Zero for result binding set.<\/p>\n<p><b>Solution:<\/b><\/p>\n<p>The solution to this error is very simple, just put the Result name to Zero for Result Set options like Full Result Set and XML.<\/p>\n<p><a href=\"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2017\/01\/5-8.jpg\" rel=\"attachment wp-att-1408\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1408\" src=\"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2017\/01\/5-8.jpg\" alt=\"5\" width=\"628\" height=\"265\" srcset=\"https:\/\/www.stepbystepschools.net\/wp-content\/uploads\/2017\/01\/5-8.jpg 628w, https:\/\/www.stepbystepschools.net\/wp-content\/uploads\/2017\/01\/5-8-300x127.jpg 300w\" sizes=\"(max-width: 628px) 100vw, 628px\" \/><\/a><\/p>\n<p>As this is done we will see that our component is executing successfully.<\/p>\n<p><a href=\"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2017\/01\/6-6.jpg\" rel=\"attachment wp-att-1409\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-1409\" src=\"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2017\/01\/6-6.jpg\" alt=\"6\" width=\"596\" height=\"240\" srcset=\"https:\/\/www.stepbystepschools.net\/wp-content\/uploads\/2017\/01\/6-6.jpg 596w, https:\/\/www.stepbystepschools.net\/wp-content\/uploads\/2017\/01\/6-6-300x121.jpg 300w\" sizes=\"(max-width: 596px) 100vw, 596px\" \/><\/a><\/p>\n<p>As said in the error of Progress tab that Result set should be set \u201c0\u201d once that is done error of\u00a0<a href=\"http:\/\/www.learnmsbitutorials.net\/training.php\" target=\"_blank\">MSBI training<\/a> candidate got resolved.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this write\u2013up we will demonstrate error and solution caused while using SQL Execute Task component in SSIS. This error occurred when candidate of MSBI training was trying to perform \u201cSelect\u201d query through Execute SQL Task. Error: The error occurred &hellip; <a href=\"https:\/\/www.stepbystepschools.net\/?p=1403\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":40,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[106],"tags":[121,165,132,166,109,108,120],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v18.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Execute SQL Task in SSIS - Learn MVC, Angular, Architecture, MSBI, Data Science in Mumbai<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.stepbystepschools.net\/?p=1403\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Execute SQL Task in SSIS - Learn MVC, Angular, Architecture, MSBI, Data Science in Mumbai\" \/>\n<meta property=\"og:description\" content=\"In this write\u2013up we will demonstrate error and solution caused while using SQL Execute Task component in SSIS. This error occurred when candidate of MSBI training was trying to perform \u201cSelect\u201d query through Execute SQL Task. Error: The error occurred &hellip; Continue reading &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.stepbystepschools.net\/?p=1403\" \/>\n<meta property=\"og:site_name\" content=\"Learn MVC, Angular, Architecture, MSBI, Data Science in Mumbai\" \/>\n<meta property=\"article:published_time\" content=\"2017-01-19T12:16:12+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2017\/01\/1-10.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"StepByStepSchoolsSupport\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.stepbystepschools.net\/#website\",\"url\":\"https:\/\/www.stepbystepschools.net\/\",\"name\":\"Learn MVC, Angular, Architecture, MSBI, Data Science in Mumbai\",\"description\":\"MVC 5\/Core, AngularJS 1.x, 2.0, 4.0, Design Pattern, Architecture, SSIS, SSAS, SSRS, Data Science, Big data, Hadoop classroom training\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.stepbystepschools.net\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.stepbystepschools.net\/?p=1403#primaryimage\",\"url\":\"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2017\/01\/1-10.jpg\",\"contentUrl\":\"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2017\/01\/1-10.jpg\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.stepbystepschools.net\/?p=1403#webpage\",\"url\":\"https:\/\/www.stepbystepschools.net\/?p=1403\",\"name\":\"Execute SQL Task in SSIS - Learn MVC, Angular, Architecture, MSBI, Data Science in Mumbai\",\"isPartOf\":{\"@id\":\"https:\/\/www.stepbystepschools.net\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.stepbystepschools.net\/?p=1403#primaryimage\"},\"datePublished\":\"2017-01-19T12:16:12+00:00\",\"dateModified\":\"2017-01-19T12:16:12+00:00\",\"author\":{\"@id\":\"https:\/\/www.stepbystepschools.net\/#\/schema\/person\/7131e4ee1c5673879e6029d14ec2f655\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.stepbystepschools.net\/?p=1403#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.stepbystepschools.net\/?p=1403\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.stepbystepschools.net\/?p=1403#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.stepbystepschools.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Execute SQL Task in SSIS\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.stepbystepschools.net\/#\/schema\/person\/7131e4ee1c5673879e6029d14ec2f655\",\"name\":\"StepByStepSchoolsSupport\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.stepbystepschools.net\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cecaf2a0ee369391127b0159c266979d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cecaf2a0ee369391127b0159c266979d?s=96&d=mm&r=g\",\"caption\":\"StepByStepSchoolsSupport\"},\"url\":\"https:\/\/www.stepbystepschools.net\/?author=40\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Execute SQL Task in SSIS - Learn MVC, Angular, Architecture, MSBI, Data Science in Mumbai","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.stepbystepschools.net\/?p=1403","og_locale":"en_US","og_type":"article","og_title":"Execute SQL Task in SSIS - Learn MVC, Angular, Architecture, MSBI, Data Science in Mumbai","og_description":"In this write\u2013up we will demonstrate error and solution caused while using SQL Execute Task component in SSIS. This error occurred when candidate of MSBI training was trying to perform \u201cSelect\u201d query through Execute SQL Task. Error: The error occurred &hellip; Continue reading &rarr;","og_url":"https:\/\/www.stepbystepschools.net\/?p=1403","og_site_name":"Learn MVC, Angular, Architecture, MSBI, Data Science in Mumbai","article_published_time":"2017-01-19T12:16:12+00:00","og_image":[{"url":"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2017\/01\/1-10.jpg"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"StepByStepSchoolsSupport","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/www.stepbystepschools.net\/#website","url":"https:\/\/www.stepbystepschools.net\/","name":"Learn MVC, Angular, Architecture, MSBI, Data Science in Mumbai","description":"MVC 5\/Core, AngularJS 1.x, 2.0, 4.0, Design Pattern, Architecture, SSIS, SSAS, SSRS, Data Science, Big data, Hadoop classroom training","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.stepbystepschools.net\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.stepbystepschools.net\/?p=1403#primaryimage","url":"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2017\/01\/1-10.jpg","contentUrl":"http:\/\/stepbystepschools.net\/wp-content\/uploads\/2017\/01\/1-10.jpg"},{"@type":"WebPage","@id":"https:\/\/www.stepbystepschools.net\/?p=1403#webpage","url":"https:\/\/www.stepbystepschools.net\/?p=1403","name":"Execute SQL Task in SSIS - Learn MVC, Angular, Architecture, MSBI, Data Science in Mumbai","isPartOf":{"@id":"https:\/\/www.stepbystepschools.net\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.stepbystepschools.net\/?p=1403#primaryimage"},"datePublished":"2017-01-19T12:16:12+00:00","dateModified":"2017-01-19T12:16:12+00:00","author":{"@id":"https:\/\/www.stepbystepschools.net\/#\/schema\/person\/7131e4ee1c5673879e6029d14ec2f655"},"breadcrumb":{"@id":"https:\/\/www.stepbystepschools.net\/?p=1403#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.stepbystepschools.net\/?p=1403"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.stepbystepschools.net\/?p=1403#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.stepbystepschools.net\/"},{"@type":"ListItem","position":2,"name":"Execute SQL Task in SSIS"}]},{"@type":"Person","@id":"https:\/\/www.stepbystepschools.net\/#\/schema\/person\/7131e4ee1c5673879e6029d14ec2f655","name":"StepByStepSchoolsSupport","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.stepbystepschools.net\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cecaf2a0ee369391127b0159c266979d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cecaf2a0ee369391127b0159c266979d?s=96&d=mm&r=g","caption":"StepByStepSchoolsSupport"},"url":"https:\/\/www.stepbystepschools.net\/?author=40"}]}},"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"_links":{"self":[{"href":"https:\/\/www.stepbystepschools.net\/index.php?rest_route=\/wp\/v2\/posts\/1403"}],"collection":[{"href":"https:\/\/www.stepbystepschools.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.stepbystepschools.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.stepbystepschools.net\/index.php?rest_route=\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.stepbystepschools.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1403"}],"version-history":[{"count":1,"href":"https:\/\/www.stepbystepschools.net\/index.php?rest_route=\/wp\/v2\/posts\/1403\/revisions"}],"predecessor-version":[{"id":1410,"href":"https:\/\/www.stepbystepschools.net\/index.php?rest_route=\/wp\/v2\/posts\/1403\/revisions\/1410"}],"wp:attachment":[{"href":"https:\/\/www.stepbystepschools.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1403"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.stepbystepschools.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1403"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.stepbystepschools.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1403"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}