﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / SQL Server 2005 Integration Services  / Using OLEDB provider in Execute SQL task / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 19 Jun 2013 01:45:15 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Using OLEDB provider in Execute SQL task</title><link>http://www.sqlservercentral.com/Forums/Topic870187-148-1.aspx</link><description>By looking at your post all i can think of is that your getting an error while parameters to the Execute SQL Task bcz you are using "?" parameters before an = sign.. which is not allowed (as per my knowledge)...The best approach would be to use expressions and replace your execute SQL statement with a variable which will hold your expression....This is what i have figured out.. dont exactly know what your question is.... AS Jack said Post more information without which nobody can guide you in the right way...</description><pubDate>Wed, 24 Feb 2010 12:01:12 GMT</pubDate><dc:creator>divyanth</dc:creator></item><item><title>RE: Using OLEDB provider in Execute SQL task</title><link>http://www.sqlservercentral.com/Forums/Topic870187-148-1.aspx</link><description>What is the problem you are having?  You do not provide an error message or a question really so I don't know what to help with.</description><pubDate>Mon, 22 Feb 2010 07:22:04 GMT</pubDate><dc:creator>  Jack Corbett</dc:creator></item><item><title>Using OLEDB provider in Execute SQL task</title><link>http://www.sqlservercentral.com/Forums/Topic870187-148-1.aspx</link><description>Hello,I want to use OLEDB provide in execute sql task. (Reason why not ADO.NET is that I am not able to set connection string property from a front end which is calling the package). I have requirement of calling a SP which returns a VARCHAR Output parameter.I set,ConnectionType - OLE DBConnection - (1 new OLE DB Connection by choosing new connection)SQL Source Type - Direct InputSQL Statement - EXEC ? = dbo.USPValidateReferencePorts ? 0In the parameter mapping tab I have added 1 output parameter mapped to one of the decalred variable. Parameter Name - 0Parameter size - 255Direction - OutputData Type - VARCHARCan you please assist ASAP?ThanksVishal</description><pubDate>Mon, 22 Feb 2010 03:21:27 GMT</pubDate><dc:creator>vishal.shinde</dc:creator></item></channel></rss>