Page 1 of 1

Loading from dataset to new SQL table scrambles table layout

Posted: Tue Aug 31, 2010 10:40 pm
by lodewyk19
Hi.

I'm trying to create a new SQL 2005 table by loading from a dataset into SQL. The loading stage is SQL Server Enterprise.

My problem is that it creates the table, but the column ordering is not the same as the dataset. Any assistence would be GREATLY appreciated :wink:

Thx.

Posted: Tue Aug 31, 2010 10:54 pm
by ETLJOB
Is it a direct load or do you have some other logic in between?

Posted: Tue Aug 31, 2010 11:00 pm
by lodewyk19
ETLJOB wrote:Is it a direct load or do you have some other logic in between?
Hi there. It is a direct load.

Posted: Tue Aug 31, 2010 11:30 pm
by ETLJOB
Uncheck the RCP option if it is enabled and give a try.

As an alternate, the table can be created in target first and you can use datastage to load.

Posted: Wed Sep 01, 2010 6:57 am
by chulett
It's a known "issue", no clue why it does what it does, but it does.

Posted: Wed Sep 01, 2010 8:10 am
by vivekgadwal
I had a similar experience with the ODBC stage. I created the table and then ran the job, which I am sure you are also doing now. I really wonder what's the problem!