{"id":25593,"date":"2023-05-08T06:25:00","date_gmt":"2023-05-08T04:25:00","guid":{"rendered":"https:\/\/expert-only.com\/?p=25593"},"modified":"2023-05-16T13:47:28","modified_gmt":"2023-05-16T11:47:28","slug":"create-pause-in-ssis-using-t-sql","status":"publish","type":"post","link":"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/","title":{"rendered":"Create a pause in an SSIS package using T-SQL"},"content":{"rendered":"\n<h4 class=\"wp-block-heading has-text-align-center\" id=\"h-create-a-break-in-an-ssis-package-with-a-t-sql-query-and-the-wait-for-delay-function\"><strong><em>Create a break in an SSIS package with a T-SQL query and the WAIT FOR DELAY function.<\/em><\/strong><\/h4>\n\n\n\n<p>The Microsoft SSIS ETL does not offer a dedicated native component to create a pause in an SSIS package. Whether it is a few seconds or a few minutes in a control flow between 2 sequences for example. To mark a pause between the execution of several SSIS tasks, SQL queries, or containers, a good alternative is to create a loop in C# code, based on time. Similarly, with the SSIS Script Task component, it is possible to use time functions to set the pause and wait for the desired time.<\/p>\n\n\n\n<p>However, a simpler solution is to use the <strong><em>Execute SQL Task<\/em><\/strong> and the <strong><em>T-SQL WAITFOR DELAY<\/em><\/strong> function. Or to schedule the time when the package should be finished executing. This page lists all the <a href=\"https:\/\/expert-only.com\/en\/ssis-tutorials\/\">tutorials for learning the basics of Microsoft SSIS<\/a>.<\/p>\n\n\n\n<p>Here is an example of a <a href=\"https:\/\/en.wiktionary.org\/wiki\/T-SQL\" target=\"_blank\" rel=\"noreferrer noopener\">Transact-SQL script<\/a> to simply add a pause of a few seconds, minutes or hours before moving on to the next component. For example, it allows you to wait for a file copy or load to finish completely. To do this, set the hours, minutes and seconds directly in the SQL code or hard-coded in an SSIS variable.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-1-add-and-set-up-the-ssis-components\">1. Add and set up the SSIS components<\/h2>\n\n\n\n<p>To start, <a href=\"https:\/\/expert-only.com\/lessons\/create-an-ssis-project-and-a-package-with-visual-studio-2019\/\"><strong>create an SSIS project<\/strong><\/a> with Visual Studio 2019. Then <a href=\"https:\/\/expert-only.com\/lessons\/connect-to-sql-server-using-the-ssis-connection-manager\/\"><strong>configure an OLE DB connection<\/strong><\/a> to a SQL Server database, in this case it is a local database so <em>localhost<\/em> is used as the server. Then add the following components:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>A first data flow.<\/li>\n\n\n\n<li>The <em><strong>Execute SQL Task<\/strong><\/em> component between the two data streams to time the execution.<\/li>\n\n\n\n<li>The second SSIS data flow.<\/li>\n<\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/06\/ssis_pause_ajout_execute_sql_task-1.jpg\" alt=\"Add a SQL task to create a pause  in an SSIS package\" class=\"wp-image-8102\" width=\"601\" height=\"580\" srcset=\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/06\/ssis_pause_ajout_execute_sql_task-1.jpg 601w, https:\/\/expert-only.com\/wp-content\/uploads\/2022\/06\/ssis_pause_ajout_execute_sql_task-1-300x290.jpg 300w\" sizes=\"auto, (max-width: 601px) 100vw, 601px\" \/><figcaption class=\"wp-element-caption\"><em>Add a SQL task to create a pause in an SSIS package<\/em><\/figcaption><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-2-set-up-the-ssis-execute-sql-task\">2. Set up the SSIS Execute SQL task<\/h2>\n\n\n\n<p>Configure the component with a T-SQL query to wait for the desired time, with a format of type: <strong>HH:MM:SS<\/strong>, in this order:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Hours<\/li>\n\n\n\n<li>Minutes<\/li>\n\n\n\n<li>Seconds<\/li>\n<\/ul>\n\n\n\n<p>Use this sample SQL code to create a 5 second pause with a T-SQL script, i.e., no hours, no minutes, but a break of 5 seconds.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">WAITFOR DELAY '00:00:05'; \n<\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"673\" height=\"591\" src=\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/06\/ssis_pause_execute_sql_task.jpg\" alt=\"Select the database and add the SQL code to create a 5 second pause\" class=\"wp-image-8108\" srcset=\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/06\/ssis_pause_execute_sql_task.jpg 673w, https:\/\/expert-only.com\/wp-content\/uploads\/2022\/06\/ssis_pause_execute_sql_task-300x263.jpg 300w\" sizes=\"auto, (max-width: 673px) 100vw, 673px\" \/><figcaption class=\"wp-element-caption\"><em>Select the database and add the SQL code to create a 5 second pause<\/em><\/figcaption><\/figure><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"h-3-run-the-ssis-package-and-observe-the-pause-time\">3. Run the SSIS package and observe the pause time<\/h2>\n\n\n\n<p>Once the pause task is linked and configured, run the SSIS package containing the data flow and observe the 5 second pause time.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"587\" src=\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/06\/ssis_pause_execution_5_secondes_delai.jpg\" alt=\"The SSIS package pauses for 5 seconds and then proceeds to the next task\" class=\"wp-image-8117\" srcset=\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/06\/ssis_pause_execution_5_secondes_delai.jpg 600w, https:\/\/expert-only.com\/wp-content\/uploads\/2022\/06\/ssis_pause_execution_5_secondes_delai-300x294.jpg 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><figcaption class=\"wp-element-caption\">The SSIS package pauses for 5 seconds and then proceeds to the next task<\/figcaption><\/figure><\/div>\n\n\n<p>Once the pause is over, the following tasks run normally, i.e., immediately. It is also possible to manage this script also with SSIS variables for more flexibility to use a dynamic timing pause, like a predefined time store in a configuration SQL Server table.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"601\" height=\"584\" src=\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/06\/ssis_pause_execution_terminee.jpg\" alt=\"Successful completion of the SSIS package with a pause\" class=\"wp-image-8123\" srcset=\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/06\/ssis_pause_execution_terminee.jpg 601w, https:\/\/expert-only.com\/wp-content\/uploads\/2022\/06\/ssis_pause_execution_terminee-300x292.jpg 300w\" sizes=\"auto, (max-width: 601px) 100vw, 601px\" \/><figcaption class=\"wp-element-caption\"><em>Successful completion of the SSIS package with a pause<\/em><\/figcaption><\/figure><\/div>\n\n\n<h3 class=\"wp-block-heading\" id=\"h-conclusion-on-breaks-between-tasks-in-ssis\">Conclusion on breaks between tasks in SSIS<\/h3>\n\n\n\n<p>Using a SQL Server script is the simplest way to implement a break in an SSIS package. It does not address more complex needs such as waiting for a text file to be dropped for example. But the script can be used in a loop with precedence constraints and variables to achieve the solution.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-sql-and-it-tutorials wp-block-embed-sql-and-it-tutorials\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"xuyQXJz12R\"><a href=\"https:\/\/expert-only.com\/en\/ssis\/run-ssis-package-from-command-line\/\">Run an SSIS package from the command line using the DTExec utility<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Run an SSIS package from the command line using the DTExec utility&#8221; &#8212; SQL and IT Tutorials\" src=\"https:\/\/expert-only.com\/en\/ssis\/run-ssis-package-from-command-line\/embed\/#?secret=uawSs0bzHe#?secret=xuyQXJz12R\" data-secret=\"xuyQXJz12R\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-ressources-on-ssis-package-management\">Ressources on SSIS package management<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/expert-only.com\/en\/ssis\/enable-ssis-package-logging-sql-server\/\"><strong>Enable and configure SSIS package logging in SQL Server<\/strong><\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/expert-only.com\/en\/ssis\/run-ssis-package-from-command-line\/\"><strong>Run an SSIS package from the Windows command line<\/strong><\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/expert-only.com\/en\/ssis\/deploy-ssis-packages-with-cmd-and-dtutil\/\"><strong>Deploy SSIS packages to servers with the cmd dtutil tool<\/strong><\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Create a break in an SSIS package with a T-SQL query and the WAIT FOR DELAY function. The Microsoft SSIS ETL does not offer a dedicated native component to create a pause in an SSIS package. Whether it is <a class=\"mh-excerpt-more\" href=\"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/\" title=\"Create a pause in an SSIS package using T-SQL\">&#8230;<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":10829,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[516],"tags":[],"class_list":{"0":"post-25593","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-ssis"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.7 (Yoast SEO v26.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Create a pause in an SSIS package using T-SQL - MS BI<\/title>\n<meta name=\"description\" content=\"Step by step tutorial to create a pause between tasks in an SSIS package, using a SQL Server script and the WAIT FOR DELAY function.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create a pause in an SSIS package using T-SQL\" \/>\n<meta property=\"og:description\" content=\"Step by step tutorial to create a pause between tasks in an SSIS package, using a SQL Server script and the WAIT FOR DELAY function.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/\" \/>\n<meta property=\"og:site_name\" content=\"SQL and IT Tutorials\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ExpertOnlyCom\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-08T04:25:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-05-16T11:47:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/pocket-watch-on-black-46ECE144EB3_1920x1080.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Expert-Only\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@expert_only\" \/>\n<meta name=\"twitter:site\" content=\"@expert_only\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Expert-Only\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/\"},\"author\":{\"name\":\"Expert-Only\",\"@id\":\"https:\/\/expert-only.com\/en\/#\/schema\/person\/406a9576b52944f018739a42046873ef\"},\"headline\":\"Create a pause in an SSIS package using T-SQL\",\"datePublished\":\"2023-05-08T04:25:00+00:00\",\"dateModified\":\"2023-05-16T11:47:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/\"},\"wordCount\":573,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/expert-only.com\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/pocket-watch-on-black-46ECE144EB3_1920x1080.jpg\",\"articleSection\":[\"SSIS\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/\",\"url\":\"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/\",\"name\":\"Create a pause in an SSIS package using T-SQL - MS BI\",\"isPartOf\":{\"@id\":\"https:\/\/expert-only.com\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/pocket-watch-on-black-46ECE144EB3_1920x1080.jpg\",\"datePublished\":\"2023-05-08T04:25:00+00:00\",\"dateModified\":\"2023-05-16T11:47:28+00:00\",\"description\":\"Step by step tutorial to create a pause between tasks in an SSIS package, using a SQL Server script and the WAIT FOR DELAY function.\",\"breadcrumb\":{\"@id\":\"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/#primaryimage\",\"url\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/pocket-watch-on-black-46ECE144EB3_1920x1080.jpg\",\"contentUrl\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/pocket-watch-on-black-46ECE144EB3_1920x1080.jpg\",\"width\":1920,\"height\":1080},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"en\",\"item\":\"https:\/\/expert-only.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a pause in an SSIS package using T-SQL\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/expert-only.com\/en\/#website\",\"url\":\"https:\/\/expert-only.com\/en\/\",\"name\":\"SQL and IT Tutorials\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/expert-only.com\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/expert-only.com\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/expert-only.com\/en\/#organization\",\"name\":\"Expert-Only\",\"url\":\"https:\/\/expert-only.com\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/expert-only.com\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2017\/09\/cropped-logo_Expert-Only.jpg\",\"contentUrl\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2017\/09\/cropped-logo_Expert-Only.jpg\",\"width\":381,\"height\":174,\"caption\":\"Expert-Only\"},\"image\":{\"@id\":\"https:\/\/expert-only.com\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/ExpertOnlyCom\/\",\"https:\/\/x.com\/expert_only\",\"https:\/\/www.youtube.com\/channel\/UCMS5sR_FwAetB0FmciNvUaA\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/expert-only.com\/en\/#\/schema\/person\/406a9576b52944f018739a42046873ef\",\"name\":\"Expert-Only\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/expert-only.com\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/084b15660763ff5b13bb60b2f52f97bb?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/084b15660763ff5b13bb60b2f52f97bb?s=96&d=identicon&r=g\",\"caption\":\"Expert-Only\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Create a pause in an SSIS package using T-SQL - MS BI","description":"Step by step tutorial to create a pause between tasks in an SSIS package, using a SQL Server script and the WAIT FOR DELAY function.","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:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/","og_locale":"en_US","og_type":"article","og_title":"Create a pause in an SSIS package using T-SQL","og_description":"Step by step tutorial to create a pause between tasks in an SSIS package, using a SQL Server script and the WAIT FOR DELAY function.","og_url":"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/","og_site_name":"SQL and IT Tutorials","article_publisher":"https:\/\/www.facebook.com\/ExpertOnlyCom\/","article_published_time":"2023-05-08T04:25:00+00:00","article_modified_time":"2023-05-16T11:47:28+00:00","og_image":[{"width":1920,"height":1080,"url":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/pocket-watch-on-black-46ECE144EB3_1920x1080.jpg","type":"image\/jpeg"}],"author":"Expert-Only","twitter_card":"summary_large_image","twitter_creator":"@expert_only","twitter_site":"@expert_only","twitter_misc":{"Written by":"Expert-Only","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/#article","isPartOf":{"@id":"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/"},"author":{"name":"Expert-Only","@id":"https:\/\/expert-only.com\/en\/#\/schema\/person\/406a9576b52944f018739a42046873ef"},"headline":"Create a pause in an SSIS package using T-SQL","datePublished":"2023-05-08T04:25:00+00:00","dateModified":"2023-05-16T11:47:28+00:00","mainEntityOfPage":{"@id":"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/"},"wordCount":573,"commentCount":0,"publisher":{"@id":"https:\/\/expert-only.com\/en\/#organization"},"image":{"@id":"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/#primaryimage"},"thumbnailUrl":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/pocket-watch-on-black-46ECE144EB3_1920x1080.jpg","articleSection":["SSIS"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/","url":"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/","name":"Create a pause in an SSIS package using T-SQL - MS BI","isPartOf":{"@id":"https:\/\/expert-only.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/#primaryimage"},"image":{"@id":"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/#primaryimage"},"thumbnailUrl":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/pocket-watch-on-black-46ECE144EB3_1920x1080.jpg","datePublished":"2023-05-08T04:25:00+00:00","dateModified":"2023-05-16T11:47:28+00:00","description":"Step by step tutorial to create a pause between tasks in an SSIS package, using a SQL Server script and the WAIT FOR DELAY function.","breadcrumb":{"@id":"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/#primaryimage","url":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/pocket-watch-on-black-46ECE144EB3_1920x1080.jpg","contentUrl":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/09\/pocket-watch-on-black-46ECE144EB3_1920x1080.jpg","width":1920,"height":1080},{"@type":"BreadcrumbList","@id":"https:\/\/expert-only.com\/en\/ssis\/create-pause-in-ssis-using-t-sql\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"en","item":"https:\/\/expert-only.com\/en\/"},{"@type":"ListItem","position":2,"name":"Create a pause in an SSIS package using T-SQL"}]},{"@type":"WebSite","@id":"https:\/\/expert-only.com\/en\/#website","url":"https:\/\/expert-only.com\/en\/","name":"SQL and IT Tutorials","description":"","publisher":{"@id":"https:\/\/expert-only.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/expert-only.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/expert-only.com\/en\/#organization","name":"Expert-Only","url":"https:\/\/expert-only.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/expert-only.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/expert-only.com\/wp-content\/uploads\/2017\/09\/cropped-logo_Expert-Only.jpg","contentUrl":"https:\/\/expert-only.com\/wp-content\/uploads\/2017\/09\/cropped-logo_Expert-Only.jpg","width":381,"height":174,"caption":"Expert-Only"},"image":{"@id":"https:\/\/expert-only.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ExpertOnlyCom\/","https:\/\/x.com\/expert_only","https:\/\/www.youtube.com\/channel\/UCMS5sR_FwAetB0FmciNvUaA"]},{"@type":"Person","@id":"https:\/\/expert-only.com\/en\/#\/schema\/person\/406a9576b52944f018739a42046873ef","name":"Expert-Only","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/expert-only.com\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/084b15660763ff5b13bb60b2f52f97bb?s=96&d=identicon&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/084b15660763ff5b13bb60b2f52f97bb?s=96&d=identicon&r=g","caption":"Expert-Only"}}]}},"_links":{"self":[{"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/posts\/25593","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/comments?post=25593"}],"version-history":[{"count":0,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/posts\/25593\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/media\/10829"}],"wp:attachment":[{"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/media?parent=25593"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/categories?post=25593"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/tags?post=25593"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}