Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
120 views

I have SSIS package which consist Execute SQL Task step. Where package variable contains SQL query that executes on predefined SQL Server. There is no parameter mapping nor any more complex config. ...
meekash55's user avatar
  • 327
1 vote
1 answer
789 views

I have two tasks in control flow. The first task is in sequence container and creates multiple global temp tables. The second task uses these temp tables. Both the tasks are in 'Execute SQL Task'. ...
mk SQL's user avatar
  • 11
0 votes
1 answer
116 views

I am getting this error, while calling stored procedure of Redshift. we are using oledb connection Error: 0xC002F210 at Execute SQL Task 1, Execute SQL Task: Executing the query "call dev....
Saranya's user avatar
0 votes
1 answer
99 views

Trying to build a query on Execute SQL Task Editor. SELECT ? = CONVERT(VARCHAR(10), COUNT(DISTINCT Email)) FROM [xxx].[dbo].[DataTEST] AS D_Test INNER JOIN [xxx].[...
Lulu's user avatar
  • 1
0 votes
1 answer
260 views

I am creating a similar package to this package but I don't know the meaning of the red mark in the pic below:
Tran Tuyet's user avatar
0 votes
1 answer
219 views

I have an SSIS/DTSX/ETL which is giving me the following error in a "Task" in the "Control Flow": [Execute SQL Task] Error: Executing the query "" failed with the ...
Iñaki L.'s user avatar
3 votes
1 answer
8k views

Using a parameter, @IsSuccess in stored proc. How to use that @IsSuccess parameter in SSIS Execute SQL Task and take that as output from that component to another component?
niveditha's user avatar
2 votes
1 answer
641 views

I have a CSV file that successfully moves from Source File to a staging table in a Data Flow Task from a sequence container. There will be a few sequences of this. I then need to move this data from ...
Boltz's user avatar
  • 155
2 votes
1 answer
2k views

The Execute SQL task calls a procedure that has a PRINT command inside. How can I display these messages at once in the progress tab (or in output)?
Vexator's user avatar
  • 191
1 vote
1 answer
459 views

I have a console application in c# that downloads files from a website. I have created a variable named Filecount that counts the number of files downloaded in that instance. In SSIS, I have set the ...
PatBentley921's user avatar
2 votes
1 answer
3k views

I have an SSIS package that has this Foreach Loop Container(with File Enumerator) that reads from a folder with multiple CSVs file and then upload the data into a flat table. This is working fine but ...
eloga's user avatar
  • 71
1 vote
1 answer
382 views

I changed an Execute SQL Task targeting my default, local SQL Server instance from OLE DB to ODBC. The SQL is delete from tablename The ODBC version works fine when the table has records but fails ...
stumit63's user avatar
2 votes
2 answers
2k views

I want to retrieve the latest date from a SQL Server table. In an "Execute SQL task" I have the following SQL Statement: SELECT ? = MAX(MYDATE) --SQL data type of this column is datetime ...
variable's user avatar
  • 9,886
1 vote
1 answer
248 views

I have an Executed SQL Task with SQL query to delete the data from table. I am using while loop to delete the data in batch and try/catch to handle the failure. In Execute SQL Task I want to return ...
Sql Programmer's user avatar
0 votes
0 answers
324 views

I am trying to execute the SSIS package using TSQL commands (as a part of asynchronous execution testing) using Execute SQL task but I am getting error with related to server authentication and ...
Spoorthi Tejasvi's user avatar
0 votes
1 answer
433 views

In my SSIS pacakge I have an Execute SQL Task with 2 statements: statement 1: select coalesce ( max (id), 0)+1 as ID from AAA statement 2: Insert into BBB (id) values (?) In the first statement, I ...
Kay's user avatar
  • 195
0 votes
1 answer
892 views

I have the below code: IF OBJECT_ID(N'tempdb..#VALS') IS NOT NULL BEGIN DROP TABLE #VALS END IF OBJECT_ID(N'tempdb..#Tbl_Eval_Temp') IS NOT NULL BEGIN DROP TABLE #Tbl_Eval_Temp END IF exists (select ...
Meen's user avatar
  • 119
0 votes
1 answer
2k views

I have a execute SQL task, that needs two input variables and a output variable to run. The SP returns a table that i'm storing in ResultSet parameter. I want to store the values in this ResultSet ...
Arpit Chinmay's user avatar
0 votes
1 answer
533 views

I have created a stored procedure. While trying to execute it through SSIS I'm running into problems. The definition of my stored procedure looks something like this: CREATE PROCEDURE dbo.[...
Arpit Chinmay's user avatar
1 vote
1 answer
2k views

I have one EXECUTE SQL TASK in SSIS package , Task Type: Execute SQL TASK Data Source Type: ODBC for MySql (DSN) Error : [Execute SQL Task] Error: Executing the query "select * from nasb_dev....
Ali's user avatar
  • 99
0 votes
1 answer
593 views

I have a massive SSIS package with an Execute SQL task that reads data from 14 different sources, runs them through a Union All, and then through all the same transformations. Problem is, running 14 ...
Ethan1701's user avatar
  • 193
1 vote
1 answer
4k views

I am working on a SSIS package that rejects already loaded files & load only new files to table. I used for each loop and exceute SSQL to validate if the files are already loaded. When I ...
Barak's user avatar
  • 11
0 votes
1 answer
618 views

I am trying to run a SQL script to create a user role in Azure SQL Database using the task Azure SQL database deployment by specifying the connection string with JWT token. From the Microsoft ...
Mond007's user avatar
1 vote
1 answer
1k views

I really hope I can get some input on this. I'm trying to create an SSIS package with SQL Statement with "IN" in WHERE clause (ex: SELECT * FROM Oracle.Table1 WHERE Col1 IN (?) ). Basically,...
Jaji's user avatar
  • 55
2 votes
2 answers
9k views

What is the alternative to SSIS' Execute SQL Task in ADF? I've created a Pipeline parameter called ExtractDate (i know there isn't a date datatype option so I'm using a string datatype here) that I ...
Geezer's user avatar
  • 507
0 votes
1 answer
379 views

I am trying to make an Excel-like 'pivot table' in Filemaker using a Virtual List as the source of the data. The issue is I want to be able to have 'categories' down the first column that aren't fixed....
bdphifer's user avatar
0 votes
0 answers
813 views

Problem Statement I have a lot of SQL Server environments locally. When trying to parse a SQL task with very basic truncate table dbo.table syntax, I get the following error message. I should note ...
Ray's Web Presence's user avatar
0 votes
1 answer
966 views

I need to map 1 column frmm multiple result rows of SQL query with different variables in the same SSIS package. For example, the output of my query is: Category, Count A, 16 B, 23 C, 41 D, ...
user avatar
2 votes
2 answers
880 views

I have an Execute SQL Task which tries to execute a stored procedure, like this: EXEC usp_stored_proc ?, ?, ? OUTPUT, ? OUTPUT; I have 4 variables mapped to parameters. Ignoring the output parameters,...
TurgidWizard's user avatar
3 votes
1 answer
2k views

This very strange issue. When I press the start button to execute the SSIS project it shows "Package part debugging is not supported" and nothing else. I create a control flow with the data flow task ...
user3323487's user avatar
1 vote
1 answer
633 views

I need to use a result from SQL SELECT which should return an array of IDs to iterate through it in my foreach loop. I'm quite new to SSIS. I created Execute SQL Task, connect to DB and write SELECT ...
soldous's user avatar
  • 163
0 votes
0 answers
773 views

Actually I have designed the package to overwrite the excel destination with OLEDB data source. I have 5000 records in my SQL server DB table. First time when the SISS package executed same numbers of ...
PRAMOD MALLICK's user avatar
0 votes
0 answers
76 views

I'm Using Execute Sql Task To Update Time Dimension I'm Using This Code declare @i int=isnull((select max(id) from DIM_DATE)+1,1) declare @Date Date=isnull((select [date] from dim_date where ID=@i-1)...
Ammar Kamil's user avatar
2 votes
1 answer
2k views

I have a Variable User:AllBatches (ObJect) populated from an ADO.NET SQL Query. The SQL query returns a single column of Integers. That part of my package is working. The next step is a ForEach Loop ...
iainc's user avatar
  • 868
2 votes
1 answer
801 views

I have an Execute SQL Task placed before a Foreach Loop Container so that for every row returned by the Full Result Set a Script Tasks Inserts this into an Excel row. However, on one particular ...
Shaye's user avatar
  • 543
0 votes
0 answers
714 views

I am encountering a frustrating problem with SSIS. The background is as follows: I have an excel file with 5 sheets - the first sheet is named "Meta" (the remaining 4 sheets are not relevant to this ...
Mangésh Méhendalé's user avatar
3 votes
1 answer
772 views

I have a DTSX file that has an update statement that is selecting from itself in the update statement and it is filling up the temp DB. It is using parameter mapping for a variable in the update ...
markmccoid's user avatar
3 votes
1 answer
5k views

We have parameter direction as output in parameter binding and at the same time we do have result binding. So if we are having output variable or return type variable which will be available at output,...
Kashish Aneja's user avatar
3 votes
1 answer
809 views

I have a package that has a foreach file enumerator. Now I have a variable called EmailTo which is populated by an execute sql task outside the foreach container placed just before the loop container ...
Errol Paleracio's user avatar
0 votes
0 answers
455 views

Stored Procedure on SQL Server 2017 calls an OPENROWSET command to load a file from an .xlsx file. When running the Stored Procedure on the server it works fine and will load the xlsx rows into data ...
mattjowen's user avatar
1 vote
1 answer
1k views

I write in three variables values from a DataBase using an Execute SQL task and if I check if values was correctly written with the breakpoint, everything seems to be correct. Now I want use the ...
MrCaptain Alex's user avatar
2 votes
1 answer
395 views

I declare two variables as "Object" named a and b, and have a simple SQL task:. select code from code_list Using Full result set, I'm trying to pass the result to the variables declared(a and b), ...
biasic's user avatar
  • 21
2 votes
1 answer
364 views

I have written a stored procedure which will return the columns BEID, Date_of_txn, Txn_Amount as a result after the execution. I am getting the result manually when I run the stored procedure in SQL ...
Vishal Mishr's user avatar
3 votes
2 answers
6k views

My SSIS projects tend to run queries that require changes as they move between environments, like the table schema might change or a value in the Where clause. I've always either put my SQL into a ...
Sam Alex's user avatar
  • 121
1 vote
2 answers
228 views

Using SSIS and MS-SQL Server 2012 I have a SQL Task executing: SELECT COUNT(id) as id FROM PORG_Files WHERE filename = ? It never returns anything except 0 because the SSIS filename looks like: \\\\...
Dizzy49's user avatar
  • 1,550
2 votes
2 answers
2k views

I am using SSIS to create a data flow task to a postgresql server database. I get the Error with SQL query: The query failed to parse. Exception from HResult: 0x80040E14 See below screenshot: ...
mampoa's user avatar
  • 51
3 votes
2 answers
260 views

I have created a variable in ssis called Vpop_summary_table. I have used this variable in a sql statement. my variable Vpop_summary_table is expected to give value [dbo].[2019-02-02_pop_table] ...
prabhu prasad's user avatar
-2 votes
1 answer
1k views

I have a SSIS package in which Data is loaded from Sql server to Excel sheet. Now, whenever I run the package data got loaded with the previous loaded data. Requirement is to load only the fresh data ...
Vishal Mishr's user avatar
2 votes
3 answers
2k views

I'am using SSIS with an ADO.NET connection to Azure. Within SSIS I want to execute a procedure with one input and 2 output parameters. The input parameter is a static value. The Procedure works with T-...
Erik hoeven's user avatar
  • 1,650
3 votes
1 answer
2k views

I use SSIS in VS 2017 and SQL Server 2016. I would like to know what is the difference between the following methods to for setting SQLStatement's value in Execute SQL Task: First Way Declare a ...
Ardalan Shahgholi's user avatar