473,412 Members | 5,361 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,412 software developers and data experts.

ssis execute sql task

1
Hi friends, small clarification in execute sql task.


First i execute stored procedure in sql server create procedure sample (@empno int)
as
begin
select * from sample where empno=@empno
end
and execute procedure exec dbo.sample 7369
That time it retrive what evere 7369 empno that record it retrive. its fine

so iam try to execute this same procedure in ssis by useing execute sql task.
firse i take one variable for empno name scope datatype value
empno package int 0

then i drag and drop execute sql task then in execute sql task in general tab Result set=none and conection type =oledb and connection=localhost.sam.sa and sql source type =direct input and sql statement=exec dbo.sample ?
and in parameter mapping i do mapping ther empno like
variable name direction datatype parametername parametersize
user::empno input long newparameter 0
then after i clikck ok then i execute sql task. that time it doesnot given output its given errore.how to i acchive that task plz tell me
May 8 '12 #1
0 1695

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: stant | last post by:
I am trying to call a mainframe cobol DB2 Stored Procedure from an SSIS 2005 SQL Task in BIDS. I believe that privileges and the number of parameters (6) are fine. I've tried casting and still have...
0
by: AMAN | last post by:
Hi all, I am a newbie to SSIS.Need a solution to couple of issues I am currently facing while developing ETL in SSIS 1) Under SSIS Package Folder I have defined mappings for 17 dimensions....
0
by: Rodrigo Bellusci | last post by:
I´m using the following code to execute a SSIS package: string pkgLocation; Package pkg; Microsoft.SqlServer.Dts.Runtime.Application app; DTSExecResult pkgResults; pkgLocation =...
0
by: gelangov | last post by:
I have a table, that has a column which determines the file name. I want to export a file and rename it immediately. For Ex: Select Id, count(*) from Mytable group by ID gives the...
0
by: johnlim20088 | last post by:
Can anyone tell me? on SSIS Script task manager, is it have a on-Closed or end function? I want put a final task at this
0
by: loudfish | last post by:
Hi there, I'm looking to get SSIS to run database backup and restore tasks as part of an overall process. But I have a few problems. 1. The "Backup Database Task" does not seem to allow...
9
by: gelangov | last post by:
I have 2 variables, one is the column name of the table and the other one is the table name and I need to write this in the "Execute SQL task" of a "For each loop" container in a ssis package like...
1
by: leofdz | last post by:
I tried calling an AS400 stored procedure in SSIS using an execute sql task. The task started executing but never completes and I am not getting any error messsage. There is no problem with AS400...
0
by: jags_32 | last post by:
Hello We use MFG-PRO as our ERP system which in turn uses Progress databases. In the old version of SQL 2000, using DTS packages, we used to set the code page via command prompts and execute DTS...
2
by: karen.google | last post by:
I have an SSIS package that I'm converting from DTS (SQLServer 2005), and the ActiveX Script Task (in VBScript) is deprecated, so I'm trying to convert things to Script tasks (in VB .net). I...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.