Quantcast
Channel: SQL Server Integration Services forum
Viewing all 24688 articles
Browse latest View live

File System Task Appears Corrupt

$
0
0

Hello Forum,

I am using Visual Studio 2015. In it I am using a File System Task to copy a file from one folder to another. To accomplish this goal I have defined the following variables:

                Name                                                     Value                                              Expression

SourcePath                                                    S:\PublicFiles\Data\

SourceFilename                                             PublicData.csv

Sourcename                                                                                  @[User::SourcePath] + @[User::SourceFileName]

DestinationPath                                              S:\PublicFiles\DataArchive\

DestinationFileName                                            PublicData_       @[User::DestinationFileName]+ Replace Substring((DT_WSTR,30)GETDATE(),1,10),"-","")+".CSV"

DestinationName                                                                         @[User::DestinationPath]+ @[User::DestinationFileName]

It continues to rename the file like this: PublicData20161206.csv20161206.csv20161206.csv

In addition, everytime I open the Variables screen, it wants to re-evaluate every expression and rename all the files.

Any help is greatly appreciated.

Thank you in advance.


Couldn't copy the file from one folder to another while I using script task in SSIS package

$
0
0

Hi there,

I am trying to migrate a SSIS package from 2008 to 2014. I run my package in my local computer using Visual Studio 2015, it is working. I deployed my package to the sql sever 2014 in windows server 2012 R2, it is not working. 

The task is simple that I copy a excel file to server and export the data to the database. Everything is working except the file couldn't copy from one folder to another. 

The first I delete the file from the destination folder, this is working. The second, I copy a file to destination folder. This is not working. The package doesn't give me any error as well.

Any help will be really appreciated,

Sheila

Script component fails after installing integration services

$
0
0
I put together a pretty simple script.  It adds a row number column to a flat file.  Very simple, very straight forward.

   [Microsoft.SqlServer.Dts.Pipeline.SSISScriptComponentEntryPointAttribute]
    public class ScriptMain : UserComponent
    {
        private int m_rownumber;
        public override void PreExecute()
        {
            base.PreExecute();
            m_rownumber = 0;
        }
        public override void PostExecute()
        {
            base.PostExecute();

        }
        public override void Input0_ProcessInputRow(Input0Buffer Row)
        {
            m_rownumber++;
            Row.rownumber = m_rownumber;
        }

    }



This ran fine in SSDT, however it bombed in SQL agent because IS was not installed.  I installed IS and now the script fails due to 'Object reference not set to an instance of an object'. If I uninstall IS, this works again.

This is all SQL Server 2012.  Any ideas?

If the file exists the package run if not i wait 20 minutes and check another time the file

$
0
0

Hi,

I have been searched in the net but i didn't found any result my scenario is :

I want to check if the file exists in the folder the reset of the package run if the file doesn't exists i want to wait 20 minutes and check another time the file .

What i did actually is i can if check the file exists in the folder or not but i want if the file the file doesn't exists i want to wait 20 minutes and check another time how can i do that with ssis i tried a boucle but it doesn't work

Thanks

How to delete files from folder based on file date value using script task in ssis

$
0
0

Hi All,

Scenario: I have one folder with 4 files, Now i want to delete 2 files which are too old files based on file date value using script task.

Examples: 

Folder Name: C:\Sample\

FileNames:

Test08122016.txt
Test07122016.txt
Test06122016.txt    ---Need to Delete
Test05122016.txt    ---Need to Delete 

Please share your suggestion on this.

Regards,


Vaishu


Programmatically Created Package - Having Difficulties Running

$
0
0

(this is also on StackOverflow at http://stackoverflow.com/questions/41046444/ssis-programmatic-package-validate-run-issue)

Hi All,

I am trying to create a simple SSIS task to load data from a SQL Server table (with one int column called [num]) to an Oracle table (with one NUMBER column called [ID]) via the .NET Interop assemblies for SSIS. I can create the package and save it to a DTSX file, however when I run (either programmatically or via dtexec), it fails. I'm following the dev guide for programmatically creating packages, and when I poke around at the properties of the various objects nothing really jumps out at me.

As a secondary issue, I see there is a Package.Validate method available but I have no idea how to call it (there are arguments and return values required). When I run the package via dtexec it does validation and provides somewhat useful validation errors, so I'm hoping to be able to hook into that programatically.

The validation error I get is:

Error: 2016-12-08 09:39:15.96
   Code: 0xC004706B
   Source: {A8E8D1A6-3826-4222-B6DC-46008A1722DF} SSIS.Pipeline
   Description: "OLE DB Destination" failed validation and returned validation status "VS_NEEDSNEWMETADATA".

From what I can tell online, the cause of this error is bad column mappings, however I've lifted the code more or less straight from the dev guide.

So my two questions are:

1. How can I troubleshoot this validation error VS_NEEDSNEWMETADATA, preferably programatically?

2. How can I call Package.Validate in order to get such validation errors programatically?

Any help is appreciated!

Full code listing (I run this in C# Interactive using Visual Studio, no exceptions are thrown, but result ends up with a value of Failure):

// these are just adding references to the context:

#r "C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.SqlServer.DTSPipelineWrap\v4.0_11.0.0.0__89845dcd8080cc91\Microsoft.SqlServer.DTSPipelineWrap.dll"
#r "C:\Windows\Microsoft.NET\assembly\GAC_64\Microsoft.SqlServer.DTSRuntimeWrap\v4.0_11.0.0.0__89845dcd8080cc91\Microsoft.SqlServer.DTSRuntimeWrap.dll"
#r "C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.SqlServer.ManagedDTS\v4.0_11.0.0.0__89845dcd8080cc91\Microsoft.SqlServer.ManagedDTS.dll"
#r "C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.SqlServer.PipelineHost\v4.0_11.0.0.0__89845dcd8080cc91\Microsoft.SqlServer.PipelineHost.dll"
#r "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.dll"
#r "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Core.dll"
#r "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Xml.Linq.dll"
#r "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Data.DataSetExtensions.dll"
#r "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\Microsoft.CSharp.dll"
#r "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Data.dll"
#r "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Net.Http.dll"
#r "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\System.Xml.dll"

// the actual code:

using dtsrt = Microsoft.SqlServer.Dts.Runtime;
using dtsp = Microsoft.SqlServer.Dts.Pipeline;
using dtspw = Microsoft.SqlServer.Dts.Pipeline.Wrapper;
using refl = System.Reflection;
private string GetHresultSymbolicName(int errorCode)
{
    dtsrt.HResults hresults = new Microsoft.SqlServer.Dts.Runtime.HResults();
    return (from refl.FieldInfo fi in hresults.GetType().GetFields() where (((int)fi.GetValue(hresults)) == errorCode) select fi.Name).Single();
}

// base setup
dtsrt.Package package = new dtsrt.Package();
dtsrt.Executable e = package.Executables.Add("STOCK:PipelineTask");
dtsrt.TaskHost thMainPipe = e as dtsrt.TaskHost;
dtspw.MainPipe dataFlowTask = thMainPipe.InnerObject as dtspw.MainPipe;
dtsrt.Application app = new Microsoft.SqlServer.Dts.Runtime.Application();
dtsrt.PipelineComponentInfos componentInfos = app.PipelineComponentInfos;

// source connection
dtsrt.ConnectionManager srcConnectionManager = package.Connections.Add("OLEDB");
srcConnectionManager.Name = "Source OLEDB Connection";
srcConnectionManager.ConnectionString = "Provider=SQLOLEDB; Address=XXX; Database=Sandbox; Trusted_Connection=yes;";

// dest connection
dtsrt.ConnectionManager destConnectionManager = package.Connections.Add("OLEDB");
destConnectionManager.Name = "Destination OLEDB Connection";
destConnectionManager.ConnectionString = "Provider=OraOLEDB.Oracle; Data Source=XXX;User Id=SANDBOX;Password=123456;";
// thanks: ole.OleDbDataReader rdr = ole.OleDbEnumerator.GetRootEnumerator();

// dest component
dtspw.IDTSComponentMetaData100 destComponent = dataFlowTask.ComponentMetaDataCollection.New();
destComponent.ComponentClassID = "DTSAdapter.OLEDBDestination.3";
destComponent.Instantiate();
dtspw.CManagedComponentWrapper destWrapper = destComponent.Instantiate();
destWrapper.ProvideComponentProperties();
destComponent.RuntimeConnectionCollection[0].ConnectionManager = dtsrt.DtsConvert.GetExtendedInterface(destConnectionManager);
destComponent.RuntimeConnectionCollection[0].ConnectionManagerID = destConnectionManager.ID;
destComponent.CustomPropertyCollection["CommandTimeout"].Value = 0; // no timeout
destComponent.CustomPropertyCollection["AccessMode"].Value = 2; // sqlcommand
destComponent.CustomPropertyCollection["SqlCommand"].Value = "select * from my_asdf";
destWrapper.AcquireConnections(null);
destWrapper.ReinitializeMetaData();
destWrapper.ReleaseConnections();

// source component
dtspw.IDTSComponentMetaData100 srcComponent = dataFlowTask.ComponentMetaDataCollection.New();
srcComponent.ComponentClassID = "DTSAdapter.OLEDBSource.3";
srcComponent.Instantiate();
dtspw.CManagedComponentWrapper srcWrapper = srcComponent.Instantiate();
srcWrapper.ProvideComponentProperties();
srcComponent.RuntimeConnectionCollection[0].ConnectionManager = dtsrt.DtsConvert.GetExtendedInterface(srcConnectionManager);
srcComponent.RuntimeConnectionCollection[0].ConnectionManagerID = srcConnectionManager.ID;
srcComponent.CustomPropertyCollection["CommandTimeout"].Value = 0; // no timeout
srcComponent.CustomPropertyCollection["AccessMode"].Value = 2; // sqlcommand
srcComponent.CustomPropertyCollection["SqlCommand"].Value = "select num from big_numbers2";
srcWrapper.AcquireConnections(null);
srcWrapper.ReinitializeMetaData();
srcWrapper.ReleaseConnections();

dtspw.IDTSPath100 path = dataFlowTask.PathCollection.New();
path.AttachPathAndPropagateNotifications(srcComponent.OutputCollection[0], destComponent.InputCollection[0]);

// Just one column mapping, as each table has just one column
dtspw.IDTSInput100 destInput = destComponent.InputCollection[0];
dtspw.IDTSVirtualInput100 vDestInput = destInput.GetVirtualInput();
destWrapper.SetUsageType(destInput.ID, vDestInput, vDestInput.VirtualInputColumnCollection[0].LineageID, dtspw.DTSUsageType.UT_READONLY);

// save it, run it
app.SaveToXml("D:\\myDtsx.dtsx", package, null);
dtsrt.DTSExecResult result = package.Execute(); // result = failure


Data import issue using Flat File excel SSIS 2012 with CozyRoc Data Flow task issue

$
0
0

Hello Experts,

I am working on SSIS 2012 with CozyRoc for Dynamic CRM data imports.

I have created a package and in that I have two Data Flow task(DFT1 & DFT2).

DFT1 imports all the prof questions using Excel file(ProfQuestions.xls) as Flat file source.

DFT2 imports all the prof questions answer using another excel file(ProfQuestionAns.xls) as Flat file source.

In DFT2 excel file(ProQuestionAns.xls) I have QuestionID and many other columns and which can be referred to DFT1 excel file(ProQuestions.xls) having QuestionID, QuestionText column.

My Requirement is-

If there is at least one answer, the system shall display all questions, including questions without answer.

a) If there are no answers, no questions shall be displayed.

Let’s say I have got 4 questions answer out of 10 Questions in ProfQuestionAns.xls data files. The questions only having any answers will be there in this file but what about other remaining 6 Questions which will not be present in this ProfQuestionAns.xls file. How can I load those questions which are not there in DFT2 ProQuestionAns.xls data files but are there in DFT1 ProQuestions.xls data files?

It looks like by calling DFT1 from DFT2 can work as I am not sure. Is it possible?

Any samples or solutions would be appreciated. Please Help me to achieve this.

Many Thanks

DK

Passing values from Ojbect data type variable to Send Mail Task

$
0
0

Hello all:

I have created an SSIS package, that works... to a point. The objective of the package is to check a FTP server directory for files that are "stale" and if so send an email to a specified group with the names of the files in the message body.

To do this, I update a table with the modified dates of the files on the FTP server. That works fine, and I'm able to update my table. But the problem comes after that. Sorry, I am not able to attache a screenshot of the control flow, but hopefully you can image it:

Control flow:

Execte SQL task> Script Task> Send Mail Task

First, the Execute SQL task queries for those stale files, and puts them in a variable. Here is the statement:

SELECT RPT_NAME
FROM [RPT].[DHC_FILE_STATUS]
WHERE DATEPART(month, RPT_MODIFIED) <> DATEPART(month, GETDATE())
AND ACTIVE = 1

It takes the results and passes them to a variable called "CheckStatusRes" which is a data type of Object.

The Script Task is my attempt to convert the data from the "CheckStatusRes" object type to String in another variable. The pertinent code in the script task is:

Dts.Variables["User::ResultsString"].Value = Dts.Variables["User::CheckStatusRes"].Value.ToString();

And then finally the Send Mail task uses this "ResultsString" variable as the MessageSource. 

The issue comes because I don't seem to be able to convert the "CheckStatusRes" to put into "ResultsString" because it appears I can't convert the object to a string. The email gets sent, but in the message body it simply has "System.__ComObject"

Can someone tell me what I am doing wrong with that step? I want the results from the SQL task to ultimately end up in the message body of the mail that's sent from the Send Mail Task

Thanks all for any help!!



XML Source issue

$
0
0

I have an XML source 

<?xml version="1.0" encoding="utf-16"?><ArrayOfChemicalProductData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><ChemicalProductData><ObservationVector xmlns="http://schemas.datacontract.org/2004/07/PriceService.DataTransferObjects"><Observation><Period>2016-12-01T00:00:00</Period><StatusId>1</StatusId><price>767.38</price></Observation></ObservationVector><PriceId xmlns="http://schemas.datacontract.org/2004/07/PriceService.DataTransferObjects">231</PriceId></ChemicalProductData><ChemicalProductData><ObservationVector xmlns="http://schemas.datacontract.org/2004/07/PriceService.DataTransferObjects"><Observation><Period>2016-12-01T00:00:00</Period><StatusId>1</StatusId><price>810.875</price></Observation></ObservationVector><PriceId xmlns="http://schemas.datacontract.org/2004/07/PriceService.DataTransferObjects">232</PriceId></ChemicalProductData></ArrayOfChemicalProductData>

I am looking for below output in my csv file


PriceID Price Period StatusID
231 67.38  2016-12-01  1
232 810.875 2016-12-01  1



when i tried generating xsd using above source i got an error: unable to infer the XSD from XML file. The XML contains multiple namespaces.

i can delete extra namepace and modify the structure of xml source manually. How can i modify the source through script task to get desired output?


what does a build in ssis accomplish

$
0
0
Hi we run 2012 enterprise. We use VS to design our pkgs.  Can u tell me the purpose of the ssis build, I guess as it applies to the dtsx file? I'm assuming "recompiles" of c#. Anything else?

Advice about code

$
0
0

How do I get the hour, minutes and, sec to show up in the following code snippet?

I've searched the forum and cannot find what I'm looking for based on this example.

SUBSTRING( @[User::FileName]  , 1, FINDSTRING(  @[User::FileName], ".", 1)-1)+"_"+(DT_STR, 4, 1252) Year (@[System::StartTime])+(DT_STR, 2, 1252) Month(@[System::StartTime])+(DT_STR, 2, 1252) Day (@[System::StartTime])+ SUBSTRING( @[User::FileName], FINDSTRING( @[User::FileName], ".",1), len( @[User::FileName]))

Check more than one file exists in different folder on ftp server

$
0
0

Hi,
I have two variable that contains the path of the file in the ftp:
the first variable called file1 contains that value : ds/product/09122016_product.csv
the second variable called file2 contains that value : ds/subproduct/09122016_subproduct.csv

what i want to check if the files exists in ftp if yes i do the next step if not i send the mail

Thanks

How change variable of package using configuration file?

$
0
0

hi,

I am deploying my package using .ispac file  so where my configuration file is store? i need to change my variable value.

so when i deploy the package at that time i use whatever variable value that is store. how i can change that variable value ?

or i need to copy that configure file where i deploye my package.

Check 3 files exists in different folder on ftp server

$
0
0

Hi,

I have 3 variable that contains the path of the file in the ftp:

the first variable called  file1 contains that value : /ds/product/Jan/09122016_product.csv
the second variable called file2 contains that value : /ds/subproduct/Jan/09122016_subproduct.csv
the third variable called  file3 contains that value : /ds/category/Jan/09122016_category.csv

each file is in different folder but the same server 

what i want is to check if the 3 files exists in the ftp in one code actually i can verify only one file in one script task in my case if i want to check the 3 files i need 3 script task but i want to optimize this how can i do that ?

string[] folderArray, fileArray;
ConnectionManager cm = Dts.Connections["FTP"];
FtpClientConnection ftpClient = new FtpClientConnection(cm.AcquireConnection(null));
ftpClient.Connect();
ftpClient.SetWorkingDirectory("/ds/product/Jan/");
ftpClient.GetListing(out folderArray, out fileArray);

foreach (String file in fileArray)
{
	if (file.Equals("09122016_product.csv"))
	{

	}
}


Thanks

Parallel Processing from AS400

$
0
0

Hello

Is There a way to configure OLEDB Native Driver to work

with Parallel processing using a specific Query library inside DB2?

i mean if there a way to customise the connection string to use

a specific Query library inside DB2?

Thanks


Insert data to excel through Execute Sql Task

$
0
0
How can i insert data into an excel sheet using an Execute Sql Task? is it possible?

[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified ISSUE IN SSIS

$
0
0

Hi All ,

I am getting below error while executing from job as well as manually ssis package.

Initially It worked fine suddenly from last 3 days I am getting issues.

[OLEDBSource [121]] Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "SOURCE_EXTRACT" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.


[Connection manager "SOURCE_EXTRACT"] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available.  Source: "Microsoft OLE DB Provider for ODBC Drivers"  Hresult: 0x80004005  Description: "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified".

When I am executing only To Generate Extract DFT manually it working fine , but when I am executing whole package manually it is not running and giving error as mentioned above,


Thankx &amp; regards, Vipin jha MCP

SSIS Packages failing to execute after the November Quality Preview Rollups

$
0
0

SQL Server 2012 (11.0.6248)

This started happening when SQLAgent job executes a SSIS package after applying the November Preview rollups KB3197875 and KB3196684 (seen as KB3195387 in installed updates).  Trying to remove them now to see if it resolves the issue.  Happy Turkey Day!

The SSIS Execution Process could not write to the IS catalog: <SERVER>\<INSTANCE>:<SSISCatalogDB>   Error details: Connection open and login was successful, but then an error occurred while enabling MARS for this connection. (provider: Shared Memory Provider, error: 15 - Function not supported);   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling)
   at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
   at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal&amp; connection)
   at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal&amp; connection)
   at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal&amp; connection)
   at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
   at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
   at System.Data.SqlClient.SqlConnection.Open()
   at Microsoft.SqlServer.IntegrationServices.Server.Shared.ExecutionSpecifier.CheckParameter(ServerOperationStatus status)
   at Microsoft.SqlServer.IntegrationServices.Server.ISServerExec.ProjectOperator.PerformOperation()







Error when trying to use OData with ?format=json in SSIS package

$
0
0

Hi,

When I run my package, I get the following error

[SSIS.Pipeline] Error: "OData Source" failed validation and returned validation status "VS_ISBROKEN".

I also get an error when  I try the Odata URL in Chrome, however when I remove the ?$format=json from the URL it works.  I am using the same use in both scenarios.  Do I need to do something in the SSIS package to get this to work?

https://www.microsoft.com/en-us/download/details.aspx?id=43736

Any ideas on what I need to do to get this to work?

Tx

Andrew


Andrew Payze

Send files from multiple folders as email attachments to multiple users.

$
0
0

Hi any help would be very much appreciated.

I have approximately 300 folders named after our users, such as James Bean, Ben Smith, Helen Jones etc.  There are several files in each folder and I would like to use an SSIS job to email the files from each of the folders to the user.  All of the user folders are in a share such as \\MyServer.com\Users.

e/g all files in folder '\\MyServer.com\Users\James Bean' sent as attachments toJames.Bean@MyDomain.com and all files in folder '\\MyServer.com\Users\Ben Smith' sent as attachements toBen.Smith@MyDomanin.com and so on through all 300 folders.

I have all the user names and email addresses stored in an SQL Server table that I can connect to and run an SQL task such as Select UserName, Email From dbo.MyTable.

I know I will need to use a ForEachLoop task but I am unsure of how to configure this and how to assign values to variables and whether I will need a nested ForEachLoop container.

The version I am using is SQL Server 2008 R2 and SSIS is of the same version.

Once again any help on this is very much appreciated.

Thanks

John

Viewing all 24688 articles
Browse latest View live