Input, Output and Return Values in SSIS Execute Sql Task

return values


In this post we are gonna discuss about all the THREE Parameter directions INPUT,OUTPUT and RETURN VALUE in Execute Sql Task. I am pretty sure that most of the SSIS developers might have used this task many times but at least few of them still not clear about how to use the three directions of Parameter and this post is for that set of people.

I can explain the INPUT direction by using any Sql Statement but to explain all the three Stored Procedure is the best option to choose. So, in this post I am gonna use SP to demonstrate the same.

I have created a damn simple SP with one parameter to demonstrate INPUT parameter and you can see the same in the below given SC.

Here I created a Stored Procedure “test” with a  Input Parameter @PrdKey

Now let’s see how to call the same in the Execute Sql Task.

1)     Drag and drop an Execute Sql Task to control flow and double click or right click and select Edit to set the properties.

2)     Once the properties wizard opens then set the connection to the database and use the following query for Sql Statement.

Exec test ?

3)     The ? in the above query means, it is a parameter for which the value will be assigned at runtime using variable.


4)     Now go to the Parameter Mapping page to map the parameter (variable) which will provide value to the “?” provided in the query.

5)     Under variable name select the variable which provides value to the query parameter.

6)     Under direction we will have THREE options and select INPUT as we are inputting the value to the parameter.

7)     Under datatype select the appropriate datatype and in this case I have selected LONG as the parameter for the SP.

8)    Under parameter Name property set 0 (Zero) as we have only one parameter in our query.

The parameter name values will be as given below –

? –> 0

?,? –> 0,1

?,?,? –> 0,1,2

The parameter name will be interger values starting from ZERO and it will be mapped in such a way that first ? will be replaced with first parameter (parameter name 0) and second one with second parameter ( parameter name 1) ….

9)     Now select OK and Execute.

10)  Now I created a SP with all the three values i.e Input Parameter, Output Parameter and also RETURN Value as shown below.

11)   Here @ProductKey is input , @ProductName is Output and “16” is Return Value parameter created stored procedure. Remember that SP can return ONLY Integer values.

12)  Now the query for this SP will be like given below in Execute Sql Task –

Exec ? = Test_sp ? , ? OUTPUT  

13) Here first ? is Return Value parameter, second ‘?’ Is Input parameter and third ‘?’ with OUTPUT keyword is output parameter

14)   Now Open Parameter Mapping and create Variable and Map it to the ‘?’ as explained above Section. Remember that the parameters assigning should follow sequence and in our example first one should be RETURN VALUE Parameter then INPUT and finally OUTPUT.

INPUT – Used for Input variables. The value will be passed from calling environment.

OUTPUT – Used for Output variable and value will be returned to calling environment.

RETURN VALUE – The value which is returned by SP.

15)  Here I created three variable Count for returnValue ,MinValue for Input and ProductName for the output and order them as 0,1,2 as per there occurrence.

16)  Click Ok and now we can pass values to the variables in the Variable window and run the package.

Note – We can configure OUTPUR (Result set) to return Table/XML/Single Row which will be discussed in next post.

Thanks a lot to Swati Srivastava for providing most of the content and SC to draft this post.

Roopesh Babu V


  1. Lasix (Furosemide) helps people with edematous syndrome to reduce the amount of liquid in the body. It relieves general state of hypertensive patients because it has a hypotensive action. This is an irreplaceable diuretic which is available to everybody due to its safety, efficiency, and low cost.
    Special offer – buy lasix online Now and Get Discount for all Purchased! – No Prescription Required.
    Safe & Secure Payments. Fast & Free Delivery.
    Two Free Pills (Viagra or Cialis or Levitra) available With Every Order.

  2. I am not sure where you’re getting your info, but good topic. I needs to spend some time learning much more or understanding more.
    Thanks for fantastic information I was looking for this information for my mission.

  3. writing dissertation abstract
    [url=””]dissertation writing service online[/url]
    dissertation template

  4. buy dissertation online
    [url=””]professional dissertation help[/url]
    doctoral dissertation help your

  5. dissertation proofreading services
    [url=””]dissertation chapters[/url]
    acknowledgements dissertation

  6. live online casino usa
    [url=””]online casinos for usa players[/url]
    online casinos real money no deposit

  7. gay dating a macho
    [url=””]gay dating long term relationship oriented guys into spanish[/url]
    women veteran dating sites gay

  8. In a second pharmacokinetic study, single doses and multiple doses of dapoxetine 30, 60 mg were evaluated in a randomized, open-label, 2-treatment, 2-period, crossover study of 42 healthy male volunteers over 9 days buy cialis uk His tone says check his expression

  9. Искусственные гипоаллергенные сверхлёгкие ресницы хороший мастер подберёт с учётом особенностей и состояния ваших родных ресничек. Если ресницы тонкие и слабые, то вам подойдут самые лёгкие искусственные ресницы. Мастер порекомендует вам не делать их слишком длинными и не использовать объём больше, чем 2D. Это нужно, чтобы нагрузка на свои ресницы была посильная. Сыворотки для ресниц Изгибы ресниц для наращивания марки Lovely Сегодня наращивание ресниц остается самой востребованной процедурой в салонах, а броу-бары неминуемо трансформируются в лаш-бары. Наращивание — идеальный вариант для тех, кому лень краситься по утрам и смывать косметику по вечерам. К тому же это ухоженный вид 24 часа в сутки. Все еще сомневаетесь, выбирая подходящий вид ресничек и техники наращивания? Напоследок мы поможем вам окончательно определиться с оптимальным вариантом, который сделает ваш взгляд выразительнее, а сами реснички намного пышнее и привлекательнее. Все, что для этого нужно, – это понимать, какие виды наращивания подходят разным формам и разрезам глаз. Новая услуга бесплатной гравировки кистей при заказе кистей на сумму от 10 000 руб и условии предоплаты на сайте БрендJEANMISHEL Издательство Эксмо Хочу и буду. 6 правил счастливой жизни, или Метод Лабковского в действии, Михаил Лабковский Мы получаем и обрабатываем персональные данные посетителей нашего сайта в соответствии с официальной политикой. Если вы не даете согласия на обработку своих персональных данных, вам необходимо покинуть наш сайт. Продукцию Mary Kay® можно приобрести через Независимого Консультанта по красоте. В корзине Корзина пуста Скажите «привет» вашим новым помощникам — революционным спиралевидным резинкам-браслетам для волос Круглосуточная горячая линия Издательство Эксмо Хочу и буду. 6 правил счастливой жизни, или Метод Лабковского в действии, Михаил Лабковский Самовывоз Старейшая интернет-аптека в России. Работаем для вас eжедневно с 2000 года.

  10. Amoxicillin is used to treat many different types of infections caused by bacteria, such as ear infections, bladder infections, pneumonia, gonorrhea, and E. coli or salmonella infection.
    Order amoxicillin in Essex online – Save UP to 201.99$ and get two free pills Viagra or Cialis or Levitra (available with every order).
    Highest Quality Generic Drugs. Safe & Secure Payments. Fast & Free Delivery.

  11. com is for informational purposes only, and is not a substitute for medical advice, diagnosis, or treatment provided by a qualified healthcare provider. clomid canada pharmacy Clinical outcome variables, such as embryo quality, implantation rate, and clinical pregnancy rate were also noted.

  12. Ampicillin is used to treat many different types of infections caused by bacteria, such as ear infections, bladder infections, pneumonia, gonorrhea, and E. coli or salmonella infection.This is an irreplaceable diuretic which is available to everybody due to its safety, efficiency, and low cost – only $0.25 per pill.
    Special offer – Buy Ampicillin On Line and Get Discount for all Purchased! – No Prescription Required.
    Safe & Secure Payments. Fast & Free Delivery.
    Two Free Pills (Viagra or Cialis or Levitra) available With Every Order.

  13. Appreciate it. Quite a lot of write ups.
    online pharmacies [url=]order prescriptions online without doctor[/url] best online canadian pharmacy

  14. Many thanks. Very good information.
    college application essay editing services [url=]essays on service[/url] high quality article writing service

  15. Terrific information. Thanks a lot!
    how to write an introduction for a narrative essay [url=][/url] essay writing website

  16. You have made your position quite effectively.!
    writing an autobiography essay [url=]how to write a college entry essay[/url] urgent essay writing service

  17. Seriously all kinds of useful facts.
    canadian pharmacy online [url=]best online international pharmacies[/url] best online pharmacy stores

  18. Valuable write ups. Cheers.
    how to write a conclusion paragraph for an essay [url=]essay writing service[/url] academic writers online review

  19. You actually expressed it adequately!
    essay homework help online [url=][/url] i need help writing a personal statement

  20. You actually revealed that very well!
    reputable canadian mail order pharmacies [url=]medicine online shopping[/url] canadian pharmacy online

  21. Thanks a lot, I enjoy it.
    mexican online pharmacies [url=]canadian online pharmacies prescription drugs[/url] canadian pharmacies-24h

  22. สล็อต เว็บ ตรง แตกง่ายแตกหนักแจกจริง ไม่ผ่านเอเยนต์ต้องที่นี่กับ PGSLOT-TH.COM เว็บเกมคุณภาพจากค่ายชื่อดังอย่าง PG SLOT ที่มีลูกค้าเล่นอย่างมากมายทั่วโลก มาแรงปี2022

  23. Fantastic stuff. Appreciate it.
    how to write a concept essay [url=][/url] professional letter writing services

  24. Amazing quite a lot of good information.
    canada pharmaceutical online ordering [url=]trust pharmacy canada[/url] online canadian pharmacies

  25. You actually suggested it exceptionally well.
    best online pharmacy stores [url=]order prescriptions online without doctor[/url] ed meds online

  26. The Free Extra Chips team makes sure that every casino listed meets our very strict set of standards and requirements. We listen to players and casinos alike to ensure that every player can access the best games, the best free spins, no deposit bonuses, and the safest, most secure online casinos around. Love a freebie? Sign-up then verify your account today and you will receive 77 FREE slots spins with no deposit required. The $25 no-deposit bonus is exactly what it sounds like, free money with no risk. Feel free to use it on slots, table games, live dealer games, and more. Free slots no deposit can be found on some sites, and we have investigated the offers provided to the UK players. These promotions are usually available upon registration. In such a way, casinos attract new customers. For players, this means they get a free possibility to win some cash and easily get it to their accounts. Below, you will see some of the best sites with free online slots no deposit in the UK. US players can use different bonus codes to claim different No Deposit Bonuses. Usually, online casinos make sure to provide several bonus offers that would fit any type of casino player. Some no deposit bonuses simply require you to input a special code or use a coupon to unlock them. As with all other casino bonuses, no deposit bonus codes are not concealed or difficult to find. You’ll find them promoted on the homepage or the bonus page. You might even get codes sent by email in the casino’s newsletter. Sometimes, an online casino sites will ask for no deposit bonus codes to redeem your no deposit casino bonus. Below is a list of all legit US online casino bonus codes that help you take advantage of the best no deposit casino offers. Visit our directory and claim any of our featured USA no deposit bonuses with codes to find out. All our codes are the best and we stand behind every one.

  27. Nicely put. Regards.
    online medicine tablets shopping [url=]list of approved canadian pharmacies[/url] mexican pharmacies online

  28. Wolf Gold spielen Sie grundsätzlich mit 25 festen Gewinnlinien auf einem Walzennetz von 5×3. Das bedeutet, dass jeder Spieler unabhängig des Einsatzes dieselben Gewinnchancen erhält, und die sind mit einer Auszahlungsquote von 96% wirklich gut. Man kann sich dafür entscheiden, Wolf Gold gratis spielen zu wollen, oder aber einen Echtgeld-Einsatz machen, um die Möglichkeit zu erhalten, richtige Gewinne zu erzielen. Die Einsatzmöglichkeiten sind ziemlich breit gefächert, sodass Gelegenheitsspieler und Highroller gleichermaßen Gefallen an dem Spiel finden werden. Die erste Registrierung bringt Neukunden beim Ice Casino 50 Freispiele als Bonus. Sie können für den Slot Book of Fallen eingesetzt und die erzielten Gewinne in 25 Euro Echtgeld umgewandelt werden. Dann kann es direkt mit dem Ice Casino 25 Euro Bonus weitergehen. In der Saison 2011 12 der 2. Bundesliga fand die Begegnung des 1. Spieltags zwischen dem FC St. Pauli und dem FC Ingolstadt 04 aufgrund der gegen St. Pauli verhängten Platzsperre an der Lohmühle statt. Erstellt: 15.12.2021, 14:40 Uhr Pokern für einen guten Zweck: Der Reinerlös des Turniers in Rodenkirchen kommt der Schlaganfall-Selbsthilfegruppe zugute, die Marion Glasner gegründet hat. Als neuer Großstadtverein war das Ziel Aufstieg in die Bundesliga. Der Verein hatte die Infrastruktur und die Stadtbevölkerung war fußballbegeistert, das über 80.000 Zuschauer fassende Südweststadion hatte Bundesligaformat. Die Mitglieder hatten im Gegensatz Probleme miteinander. Die Fusion war keine Liebesheirat und bei den Derbys ging es zu Oberligazeiten immer hoch her. Vielleicht wurden die hochgesteckten Ziele deshalb verfehlt.

  29. This sleep sugar survival equation is the control mechanism on how fast we age, and how fast we age determines how fast we deplete the eggs in our ovaries digoxin and lasix acyclovir harga cefadroxil sirup anak Manning last week was found not guilty of the most seriouscharge of aiding the enemy, which carried the threat of life inprison without parole, and his lawyers have portrayed him asnaive but well intentioned

  30. There s a lot of buzz about taking NAD precursors for their antiaging effects, which is based on a lot of great science, said Albert Kim, senior author of the 2016 study, in a School of Medicine press release I don t know if taking NAD precursors makes existing tumors grow faster, but one implication of our work is that we don t yet fully understand all of the consequences of enhancing NAD levels injectable ivermectin We also examined Beclin1 mRNA expression in clinical breast cancer tissue samples, which indicated that Beclin1 expression was significantly greater in the tamoxifen resistant group than that in the tamoxifen sensitive group Fig

  31. You actually reported that exceptionally well.
    canada pharmacy coupon code [url=]recommended canadian pharmacies[/url] pharmacy in canada for viagra

  32. You actually revealed that really well.
    canadian neighbor pharmacy legit [url=]walgreens pharmacy[/url] recommended canadian online pharmacy

  33. Whoa a lot of wonderful material!
    mexican pharmacy what to buy [url=]ordering prescriptions from canada legally[/url] real rx pharmacy

  34. Amazing info. With thanks!
    canadian pharmacy cialis reviews [url=]canadian neighborhood pharmacy reviews[/url] onlinecanadianpharmacy com

  35. To this union were born a son Clint, and a daughter Sheri how long does lasix last cialis paracetamol psychonaut Hundreds of passengers were stranded outside Jomo Kenyatta International Airport in the capital Nairobi, which was cordoned off to keep the public out after the fire started early in the morning in the arrivals and immigration area, officials said

  36. Plasma levels of luteinizing hormone, sex hormone binding globulin, and antithrombin III were measured in pre and postmenopausal breast cancer patients receiving adjuvant combination chemotherapy or combination chemotherapy and long term tamoxifen therapy dose of doxycycline

  37. Hеlloǃ
    Ι aроlоgіzе for the ovеrlу ѕpeсific mеssage.
    Mу girlfriеnd and Ι love eaсh other. And we are all grеat.
    Вut… wе need a mаn.
    We аre 27 yеаrs old, from Romanіа, we alѕo knоw english.
    We nеver get bоrеd! Αnd not only in talk…
    Мy nаme іѕ Сathеrinа, my profіle iѕ hеrе:

  38. No deposit bonus for Jackpot Wheel Casino and Jumba Bet Casino Use bonus code: 50FAIRYWINS 50 free spins on Fairy Dust Forest Slot ** Good with deposit Play Jackpot Wheel Casino Play Jumba Bet Casino As always, keep in mind wagering requirements while fantasizing about hitting it big. Play through requirements at Jackpot Wheel are 40x your bonus amount. Not insanely bad or generous, par for the course in today’s online casino world. Worth noting that deposit bonuses must be claimed in the five minutes following your investment, so make sure to capitalize immediately and don’t find yourself bartering with customer service after the fact. There are many options through which you can obtain substantial deposit matches. Island Hopping, PayDay PayOut, the Welcome Offer, and each Daily Bonus all give you huge deposit matches. It’s not only that you get to claim 100% or 200%, but the maximum deposit limits go way beyond what Daddy could’ve imagined before visiting Jackpot Wheel Casino! Go check out this online casino’s promotional page and see for yourself how much money you can obtain simply by what you’d do anyway – depositing. To top it off, you get to claim many more rewards with the received money. It’s a magical cycle no one wants to get out of, and Daddy approves! We use cookies to improve your experience, power app usage analytics and enable support chat. Read our Privacy policy for more. This comprehensive guide of ours will take you through all that there is to know about bitcoin dice betting including the best sites offering the game, bitcoin dice faucet, different variants of dice games, bitcoin dice strategies, and many more. Free Bitcoin is a new successful Bitcoin Faucet. You just need to hit the roll button and you can get 200 dollars’ worth of free Bitcoins. However, once you have the hit the roll button once, you have to wait for one hour to hit it again. This is indeed the highest paying Bitcoin faucet. It is a Free Bitcoin Faucet. Cookie Policy When it comes to depositing at a Bitcoin dice casino, there are a lot of perks that come along with it. To begin, all transactions are completed immediately. Your Bitcoin deposits will be immediately available for use, contrary to promises made through more conventional means, which may take some time to complete. In addition, Bitcoin dice casinos welcome new players with various bonuses and rewards. Therefore, you may be eligible for comp points and other casino bonuses if you select Bitcoin as your payment method.

  39. In this section, we will go through the top 5 best bitcoin casinos mentioned in our list. These offshore-based casinos offer a huge range of exciting games to choose from, ongoing promotions, and the best bitcoin casino bonuses you can find online. BRD’s marketing is simple: “The first mobile wallet. The best mobile wallet.” And they definitely live up to that promise. In turn, the proliferation of crypto gambling activities has had a meaningful impact on the crypto market’s growth. While this is a given, the influx of crypto gambling sites has also increased the risks of falling victim to scams or signing up for substandard gambling services. Therefore, it has become crucial to review the best bitcoin gambling sites to make prudent choices. Bitcoin casinos are rapidly gaining traction as a new and exciting way to play casino games online. Despite a slow start – many cryptocurrency casinos featured homebrew, in-house software and no regulation or safety – Bitcoin casinos have since blossomed to become one of the fastest rising, and safest ways to bet. They are now on par with, and in some ways ahead of their FIAT currency counterparts. The experience you can have at both types of online casinos is now largely similar, and that includes bonuses and promotions, too. That’s right: free entry to a weekly Poker tourney for real money, all just for using Cryptocurrency. Your ticket will be issued on Friday if you made a qualifying deposit in the previous 7 days. Claim the Tournament Ticket from your Rewards Dashboard first, then head to the Tournament Lobby in your poker software, click on the Regular tab to use your free ticket to register.

  40. [url=]appetite suppressants over the counter[/url] over the counter erection pills

  41. [url=]over the counter essentials united healthcare[/url] best over the counter cold medicine

  42. [url=]mupirocin ointment over the counter[/url] over the counter uti medicine

  43. nolvadex And, as previously stated, any state law cause of action that duplicates, supplements, or supplants the ERISA civil enforcement remedy conflicts with the clear congressional intent to make the ERISA remedy exclusive and is therefore pre empted

  44. Може да проучите предварително и кои игри са с по-висок процент на възвръщаемост на залога, да изпробвате различни демо версии, за да разберете стратегиите и механизмът на играта и чак тогава да пристъпите към залагане на истински пари. В следващите редове ние, от Kazino Igri, ще ви запознаем с най-популярните видове, сред които да изберете своята любима! Всичките слот демо версии могат да се стартират веднага, без необходимост да се изтегля софтуер или да се прави регистрация.Видеочат_рулетка_онлайн_играть В родното онлайн казино са публикувани най-различни видове слотове, игри на живо с дилъри и видео покер с мигновени печалби. Всеки, който е навършил 18 години, може да се регистрира в сайта и да се включи в надпреварата за солидните джакпоти. Ако желаете да опознаете света на онлайн игрите без регистрация и без риск, пробвайте демо версиите с безплатни монети. Efbet разполага с модерен дизайн, който често бива адаптиран към нуждите на потребителите. Ориентацията в него е лесна и бърза. За това помагат ясно обозначените менюта. Основното меню е разположено отгоре и централно, а в него се намират разделите „Спорт“, „На Живо“, „Мултибет“, „Виртуални“, „Бонус“, „Казино“, както и отделната секция за всички техни казина.

  45. pdf pet drugs online reviews Nirvana is the youngest of this year s nominees for the Rock and Roll Hall of Fame tamoxifen Fang, MD, FACC, FAHA, Division of Cardiovascular Medicine, 30 N 1900 E, Salt Lake City, UT 84132


Please enter your comment!
Please enter your name here

91 − = 88