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

Is star schema possible in this case?

$
0
0

Hi All,

I am in the process of designing a Data Warehouse using star schema technique. I have two tables(dimensions) - Accounts and Contacts(one account can have multiple contacts). The measures in the fact table are at the account level. I am assuming that there is no way to have a star schema in this scenario as there is no direct relationship between fact table and contacts dimension. I am thinking that I will need to setupthe contact dimension as snow flake so it joins with account dimension. Do you guys have any better ideas?

Thanks in advance!


SSIS - Extract subset (n) columns from table at time

$
0
0

I have a DB2 table with over 100 columns of data (and 30+ million records) which I need to load into SQL Server table.  Instead of trying to load all data at once, I thought it would be more efficient to do following:

  • Extract first 20 columns of data from DB2 source and load it in SQL Server
  • Extract next 20 columns of data...and load into SQL Server
  • Repeat this until all 100 columns have been exhausted

Does SSIS have some type of SPLIT transformation that would allow me to do this, or would I need write script component?  If so, does anyone have example which I can follow.

Thanks, any help or suggestions would be greatly appreciated.
MsBecca23


SSIS loop parallell execution

Base Table from SSIS Package

$
0
0

Hi,

   In My company, we having many SSIS packages altleast 250+. Some of the packages using some base tables and creating one table.

Example: table names "1","2","3","4"   and "x"

   The "x" table getting data from "1","2","3","4"

Is there any way to find the base table names used in SSIS packages? Please let me know.


SSIS: All records are not loaded from OLEDB source to OLEDB destination

$
0
0

Hi All,

I have 40 Million records in my source database(Sql Server 2008). 

I have created a package with one DFT (OLEDB Source & OLEDB Destination). I have used the Sql Command with SELECT * FROM Table1 .

When i execute the DFT it is loading only 22 millions and Package Execution is completed successfully. But if i run the same query in SSMS, That is returning 40 Millions.

I have divided the Query into 4 parts(Based on Date range) and then Executed the DFT for 4 times. Now the Data is loaded completely.

But when i try to execute the DFT without Date range, it is loading only 22 millions.

Please let me know if i can achieve this in single execution.

Regards

Ram


Ram MSBI Developer


Quotes problem in CSV file inSSIS

$
0
0

Hi All,

Am new to  SSIS packages. I have a csv file as a source which contains double quotes to some columns. So i need to remove those quotes while processing that file. Is there any way while importing that file, i need to exclude those quotes. Please reply.

Thanks in advance seeking a fast reply.

Regards,

Venkat.

Adding variables (or something similar) to Send Mail Tasks

$
0
0

Hi guys,

I'm not sure how possible this is to achieve but I'd like your advice. Basically, I'm trying to create a Send Mail task which would have some form of function to return the number of rows successfully and unsuccessfully passed and simply the numbers in the message for every recipient to read. Does such a function or expression exist or can it be created via BIDS?

Thanks,

Jared.

SSIS 2012, FTP task: password not saved after deployment

$
0
0

Hello @all,

I noticed following behaviour of the FTP task in SSIS 2012: when I deploy package to the server (SSISDB database), the password in connection manager gets lost, I have to re-enter it manually via management studio. Can anyone confifrm it?

Regards from Hamburg,

Andrey


SSIS installation softwares required

$
0
0

Hi All,

Can someone show some light on list of softwares required to install SSIS.

I have installed SQL Server Express edition installed in my Computer, But could not see SSIS there, Is it because i do not have Visual Studio installed in it?

Any guidance on learning towards this topic is much appreciated.


Rajkumar

How to deploy the package from excel source without ms office in ssis

$
0
0

Hi,

i have created the package from excel to sql server table using ssis in my system.

i want deploy this package in server which is not having ms office software. how to execute this package ?....

Regards,

Abdul.

DTS Issue

$
0
0

Hi,

I am not sure whether this is the forum to ask doubt on DTS.

I need to connect  oracle db and pull out the data from a table and push into an excel sheet.It is quite a staright forward query from the table.But the issue is in transformation editor that I am not able to edit it.I would like to know whether there is any other way to write the select statement apart from transformation editor.like using active x script and connecting to oracle and get the data and refresh excel.If yes,could you please point us some sample code ?

Thanks!

Implement SSIS Transaction without DTC

$
0
0

Hi All,

We've SSIS package which insert and update data on both ends which is source server and destination server. for a example we insert data from server A-->B and update the flags on server A.Now we need to implement transaction to this packagebut unfortunately we can't use MSDTC  due platform limitations.so we are looking for a alternative method like T-SQL transactions.I saw some really interesting articles like this http://consultingblogs.emc.com/jamiethomson/archive/2005/08/20/SSIS-Nugget_3A00_-RetainSameConnection-property-of-the-OLE-DB-Connection-Manager.aspx and http://microsoft-ssis.blogspot.sg/2011/09/ssis-transactions-with-tsql.html.But I'm having some doubt on this so please suggest your ideas.These are my question...

** Is it possible to ROLL-BACK both ends ( source & destination ) if either end got some exception on using T-SQL Transactions  ?? since we are insert and update both ends.If I'm correct transactions begin against for only one connection ( either source or destination ) in SSIS T-SQL Transactions .but we are using 2 separate connections for source and destination.



Thanks & Regards,


Dimuthu



how to copy error in notepad of ssis

$
0
0

how to copy paste ERROR in one attempt in notepad file, I was done copy paste on tag but no success

means when you RUN SSIS deployment WIZARD->and clicking NEXT->NEXT at second last window I have got error message and I want to copy paste this message to NOTEPAD to search error on GOOGLE, but this copying error is not possible 

in below window I want HOW TO COPY ERROR IN NOTEPAD IN ONE ATTEMPT so that I can further googled it to find answer


--Himanshu Kulkarni


Variable Value not getting assigned at run time in SSIS

$
0
0

Hi All,

  I have an SSIS package , inside the package there is a variable which should get its vaue at run time.But the variable is value is not getting assigned at runtime and it is running with default value defined inside the variable.

  But if i try to re-run the package it successfully gets the value at run time.

Could please help me in finding out why it is not able to get the value first time,but if we re-run it,it gets the value

How to use a web service task component

$
0
0


Hi,

I am using a web service task component.Here i need to pass some input and in output i will be get an URL.But here problem is  as input i have some dynamic variables and also some static variables.While i am clicking on the value field it is showing me another form where it is asking me to pass values for 5 or 6 fields,where two fileds  are dynamic.here in the value filed i cant pass a variable,so while i am checking the variable field it is asking me to pass only one variable.So problem is how to pass the values for two fields from two variables of one function.I have attached two images for your reference.


Please tell me the solution.


SSIS Permissions Issue?

$
0
0

Hi

Background info:

Development machine

  • Windows XP SP3 (32 bit)
  • BIDS 2008 R2 (32 Bit)

Deployment Server (live server)

  • Windows 2008 R2 (64 bit)
  • SSIS 2008 R2 (64 bit)

This is my scenario

I created a package on my local machine that gets data from a cache database and saves it in a SQL table in a remote server. The package runs fine when running it in BIDS but when I deploy it to the server and try to execute the package through Integration Services manager (in SS Management Studio), I get an error

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

Error: component "OLE DB Destination"(1809) failed validation and returned error code 0xC020801C

Previously, the destination was an ADO.net connection and I used to get a different error saying something like:

ADO NET Destination has failed to acquire the connection {43E6AE 37-24E8-46F6-8AB0-689DB6531167}. The connection may have been corrupted.

So I thought changing connection type to OLE DB might help but I get a different error (as above). The package doesn't have any configuration file attached and I am connecting to Integration services using windows authentication. I have  also ticked 'save my password' for the OLE DB connection in BIDS and have also set Run64BitRuntime to false in the project

Any ideas as to why I am having this issue? I'm fairly new when it comes to security and permissions and this seems to be more of a security issue than a problem with the package itself?

Thanks for your help

Rob

Problems with executing command with cmd.exe in scripttask

$
0
0

Hello,

i've the following problem: I have a Script Task (VB) in which I'm iterating over an object (this is filled with a list of folders e.g. 00100 next line 00200 ...).
With System.Diagnostics.Process.Start("CMD.exe", cmdText) I want to execute my command for every generated line. In the Execution Results window i see the following line which is send to cmd.exe (cmdText):

"C:\Program Files (x86)\IrfanView\i_view32" \\abc\00100\*.jpg /resize=(640,480) /aspectratio /resample /convert=\\abc\Temp\00100\*.jpg

The command line opens but it's shutting down too fast. Only the folder 00100 in\\abc\Temp\ is being created. The resizing process doesn't work. Copying this line to the cmd.exe window it do what it should do.

Did I forget anything? I tried to escape the \ with \\ but it doesn't work.

Any suggestions?
Many thanks in advance.


need help - commit within foreach loop container

$
0
0
can anyone say how can i commit within foreach loop container?

Mein SSIS-Packet funtioniert nur mit windows-Athentifikation. SQL-Athentifikation NICHT!!!!!

$
0
0

Hallo zusammen.

ich habe ein SSIS-Packet, das ein Lookup enthält. diese braucht eine Verbindung mit der Datenbank.

bei der Connection-Manager wenn ich das Windows-Account als Login benutze dann ist alles OK.

aber wenn ich SQL-Account benutze dann bekomme ich diesen Fehler:

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

weisst jemand wie ich das Problem lösen kann.

Lg

Unable to connect informix through Sql Server 2008 R2 64 Bit

$
0
0

Hi All,

Thanks in advance.

I am trying to connect the informix database through SSIS using Sql Server 2008 R2 64 Bit BIDS, But getting the following error.

Please help me out to resolve the same.

I have created the ODBC connection. Hence the connection has been succeed, But still I cant able to connect the informix Database using SSIS

by

Rajan


Viewing all 24688 articles
Browse latest View live


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