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

want to create directory using File system task

$
0
0

Hi!

 

I am trying to create directory using file system task. I set the operation field to "create directory" in file ystem task. I wants to give it name like "xyz" and path where I want to create it. what fields in file system task should be configured?So,when package is executed it should create directory named "xyz" and the at the path I configure in file system task.

 

 

 

Thanks,

 


How can I reuse package parts in multiple solutions?

$
0
0

I want to create package for importing files into tables and then stored this package in location that other users can import it into their solution to use as a template. Is there a way to create package parts as templates also? Or would I need to tell people to make a copy of the entire "Template" solution, rename the solution, and rename the project in order to have a complete template.

how to load fixed with file into sql server using C# in SSIS

$
0
0

<g class="gr_ gr_37 gr-alert gr_tiny gr_spell gr_inline_cards gr_run_anim ContextualSpelling multiReplace" data-gr-id="37" id="37">i</g> <g class="gr_ gr_38 gr-alert gr_gramm gr_inline_cards gr_run_anim Style multiReplace" data-gr-id="38" id="38">have .</g>DAT file with fixed width like below.

column1              POSITION(1:8) INTEGER EXTERNAL,
column2         POSITION(450:457) DATE "YYYYMMDD",
column3               POSITION(26:28) INTEGER EXTERNAL,
column4                    POSITION(10:15) CHAR,
column5               POSITION(34:34) CHAR,
column6       POSITION(36:36) CHAR,
column7             POSITION(38:38) CHAR,

i wanted to load this file into sql server using C#. 

ETL-Job Failed on Production System

$
0
0

Code: 0xC0202009     Source: XXXXXXXX   Description: SSIS Error Code DTS_E_OLEDBERROR.  
An OLE DB error has occurred. Error code: 0x80004005.  
An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80004005  Description: "Communication link failure". 
 An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80004005  Description: "Shared Memory Provider: Timeout error [258]. ". 
 End Error  Code: 0xC004701A     Source: DFTXXXXXX SSIS.Pipeline     Description: component "OLE DB DFTXXXXXX "  failed the pre-execute phase and returned error code 0xC0202009.  
End Error  DTExec: The package execution returned DTSER_FAILURE (1). 

Below are the options we have tried in our environment:

1. Change remote query time out options

2. Change remote login time out options

3. Setting a Maximum Memory Limit for a SQL Server Instance

4. Delay Validation Property


64 Bit DTS folder and file(DLL's) are missing

$
0
0

Hi,

I installed sql sever 2017 enterprise version on one of window server 2016. After installation I found 64 bit folder file are missing.

C:\Program Files\Microsoft SQL Server\140, DTS folder is missing.

C:\Program Files\Microsoft SQL Server\140\Tools\Binn all the dll's from this folder are missing.

AND also 64 bit import and export tool is missing 

how to fix the issue, any help would be appreciated.

Regards,

Srikant 


How to Impliment Send Error Mail on column Missing Or Extra Column in Client Data And Date Format Also.

$
0
0

Hi 

All Please Guide Me How to Impliment Send Error Mail on column Missing Or Extra Column in Client Data And Date Format Also.

if it Possible Please Attach Some Code Also

Thanks 

SQL query (Advanced Select Statement )

$
0
0

Geeeting

im kinda new to SQL and im trying to figure out how to merge between 3 tables  and use sum function aswell it's little bit complicated ! i will demonstrate this in an example  :

Table SalesOrder :

               SalesOrderID | OrderDate |

  •                  1           |    1/1/2000
  •                  2           |    1/1/2010  
 

Table SalesOrderDetail

                SalesOrderDetailID | salesOrderID | Product

  •                  1                     |    1                |   Car_BLue
  •                  2                     |    2                 |    Car_Yellow
  •                  3                     |    3                 |   Car_Blue
  •                  4                     |    4                 |   Car_Yellow

ProductCost

Product       | Start Date cost | End Date cost | Cost

Car_yellow | 1/1/1990   |   1/1/2005   | 100

car yellow  | 1/2/2005   | NULL   | 200

Blue Car  | 1/1/1990 | NULL  | 200

i want my select statement to be something like that the problem the cost change depend on the order date and i need to merge 2 table to get the information  :

SalesOrderDetailID | salesOrderID | Product   | Cost

         

Upgrade ssis packager from sql server 2008 to 2014

$
0
0

Hi,

i have a requirement to upgrade a ssis package from sql server 2008 to 2014.

Please answer my following question?

What are the steps involving in migration ssis packages from sql server 2008 to sql server 2014.

How to evaluate the ssis packages and best practices



Smartsheet to SSIS integration

$
0
0
I need to import smartsheet data into sql server using SSIS. Please advise the steps. I am thinking of using Smartsheet api call to bring the data.

Change the database name

$
0
0

Greeting

i want to change the data base name in SQL server , but since im using that name in my ssis packages im afraid i will get errors , is there a  way where i can change the same connection manager database on all the packages in a Dynamic way ( i have arround 30 packages )

 

SSIS package upgrade issues

$
0
0

Hi,

i want the list of issues happened when we upgrade ssis packages from sql server 2008 to sql server 2014

Populating database using SSIS

$
0
0
Hi, I need to load data from flat file to my database, which I've created in Visual Studio. The problem is that I cannot understand, how to load data into all tables of my database. All tutorials that I've seen describe a case of loading data into one table but in my case there are more than one. How do I populate my tables with data?

Can we merge multiple .PDF files in one PDF using SSIS?

$
0
0
Can we merge multiple .PDF files in one PDF using SSIS Script task?

dynamically Column mapping in SSIS

$
0
0

Hello,

I have a master package who launch a slave package with parametre ( DBname ,Schema, table query ...)  for source and destination (oleDB  source and destination).

I create a slave package to load all  table passing in parametre from master package. but I don't know how can I dynamically mapping column ?

there is any idea to do it without using BIML. the idea for me is create a generic package.

Thanks for your time 

How to protect SSIS packages in Project Deployment mode (SQL 2016)

$
0
0

Hello,

I am migrating my older SSIS project from package deployment mode to project deployment mode (SQL Server 2016). This project is developed by company I work for and then sold to various clients. How can I protect these project packages with password, so that client would be able to deploy and execute them, but do not see their content? If I change project/package protection level to "ProtectAllWithPassword", client will not be able to deploy .ispac file without password.

In package deployment mode we were able to protect package by having one package with public password that was executing other package (with actual code) with private package. That worked for us without any problems. But now, with project deployment mode, all packages must have the same password, otherwise I cannot even build/compile the project.

Any help or directions would be very  highly appreciated!

Thank you in advance!



Convert a string column with blank values to integer in SSIS

$
0
0
Hi, I'm trying to convert a string column to integer but the problem is that this column contains some blank values. So I cheked different forums on this topic and tried to get rid of blank values by adding a derived column with the following expression: [Column] == "" ? NULL(DT_I4) : (DT_I4) [Column] . However, I got an error: [Derived Column [2]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "Derived Column" failed because error code 0xC0049063 occurred, and the error row disposition on "Derived Column.Outputs[Derived Column Output].Columns[Column]" specifies failure on error. An error occurred on the specified object of the specified component.  There may be error messages posted before this with more information about the failure. I have no idea what I'm doing wrong.

want to create directory using File system task

$
0
0

Hi!

 

I am trying to create directory using file system task. I set the operation field to "create directory" in file ystem task. I wants to give it name like "xyz" and path where I want to create it. what fields in file system task should be configured?So,when package is executed it should create directory named "xyz" and the at the path I configure in file system task.

 

 

 

Thanks,

 

Building Centralised table to Capture Run Time status of SPECIFIC Task from 8 Different Project in SSIS 2012

$
0
0

I have several SSIS package in 8 different project which contain many task and sequence container running in parallel and sequentially.

i am trying to have centralized metadata information table consists of package name,task name andcurrent status of task (running,completed or failed.).

My Idea is to capture the metadata information by using SSIS's Event Handlers. and stored it centralized table.

the Challenge here is how to handle current status of task so once the task of particular package complete i can trigger the other task from different project execute.

please help me to build this complex solution. i am  i am not sure whether we can able to capture current status of task in SSIS, I AM using SSDT 2012.

Thanks a ton



Creating foreign key columns for fact table in SSIS

$
0
0
Hi, I'm trying to load data into my fact table using SSIS. For this purpose I need to create lookup for each dimensional table to map primary/foreign keys. But the problem is that my source datafile for fact table doesn't contain columns for foreign keys. My destination fact table contains foreign key columns of dimensional tables and some other columns. But the source data does contain other columns but foreign key columns not. How can I create these columns in order to map them to primary key columns of dimensional tables in Lookup?

Configuraion at the catalog does not change if we re-deploy the solution in SSIS 2012?

$
0
0
Hi,
I have a solution with 20 SSIS packages deployed in Production Integration Services Catalog. Now, I need to do a small meta data change in one of the packages. Since this is 2012 and I can't do the individual package deployment,  I have to take the entire solution and do the change in that particular package and then I need to re-deploy. My question is, when i re-deploy, do i need to do again all the Configuration set up again in the catelog?  My worry is, neither me or the DBA does not know much about this configuration stuff at the catalog and if we mess up something, then it will be a very big problem. Please help!
Viewing all 24688 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>