dbTalk Databases Forums  

SSIS Package blocked on a data conversion

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss SSIS Package blocked on a data conversion in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
remsrock
 
Posts: n/a

Default SSIS Package blocked on a data conversion - 11-26-2008 , 09:42 AM






Subject: Package blocked on a data conversion

Hello,

Here's my problem:

(SSIS Package on Visual Studio 2005)

In a DataFlow task,

- it starts with a DataReader Source where I make a request on a cube (I
won't put all fields of measures here):

Code:

SELECT {[Measures].[Destinataires],[Measures].[Aboutis]}ON axis(0),
non empty ([Dim Action].[Dim Action].children,
[Dim Domain].[Dim Domain].children) ON axis(1)
FROM [CUBE]

The field formats returned are DT_NTEXT.

- Next, I use a DataConversion to convert all fields in DT_WSTR

- Next, a second DataConversion to convert action and domain fields to
DT_STR and measure fields to DT_I4

- Then I use a script that replaces the null values by zero

- Finally, I store results into a temporary table.


I run this DataFlow task on many data cubes and on some cube the package
lock on the first DataConversion (it stay in yellow state and does nothing
else).

I checked the data returned by the cube and I do not see anything unusual
compared to lines which work.

I also thought to make a conversion directly on my MDX request, but how ...
? Because after some tests, if I change the field formats of my destination
table to nvarchar(Max), I can run my DataFlow without DataConversion. This
method works well but I need to convert this data.

If you have any question or need further explanation, do not hesitate to ask.

Thank you !


remsrock from France

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.