MS SQL Server data source to MS SQL Server target possible?

More
5 years 2 months ago - 5 years 2 months ago #20949 by StanBlue
I'm attempting a transformation in AETLE, where I need to move data from one MS SQL Server database (Server A) to a different MS SQL Server database (Server B ). My data source on Server A is a view; going to a table on Server B.

When I try this in AETLE, it appears that the data from the view aren't parsing, so all data values for the many fields are trying to be written to the same field on Server B.

Do you know why this would be? Do I have to write these data to a text file as an in-between step?

Thanks!
Last edit: 5 years 2 months ago by StanBlue.

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #20950 by admin
'When I try this in AETLE, it appears that the data from the view aren't parsing'

What does it mean?

Please read the forum rules and follow them

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #20953 by StanBlue
Sorry about that! I'm using a Transformation in AETLE version 6.3.7.18. Both servers I'm copying data from and to are SQL Server v14.

I've setup my transformation, checked the Validator and Transformer (all good) and Reader and Writer are both set, with the correct connections. But when I try to run the transformation I get the following error (attachment):



You can see the row of data highlighted in the background. Then in the error box (Line 25), all of those data have not been parsed, and the transformation is trying to write all of those fields into the integer field on my target database.

Again, the source is a view on Server A; and the target is a table on Server B.
Attachments:

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #20957 by admin
The message you are seeing on the screen is the message from SQL server BCP interface.
The message is a dump or the entire row our software is trying to insert.
It does not mean that the software is trying to update one single field with this data.

The message complains about column 19
Find this filed in the table and check the data you are trying to insert
Most likely it is too big for this field

Mike
ETL Architect

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago #20963 by StanBlue
That was it! School-boy error! Thanks very much!
The following user(s) said Thank You: admin

Please Log in or Create an account to join the conversation.

Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Read more
Marketing
Set of techniques which have for object the commercial strategy and in particular the market study.
Google
Accept
Decline
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Google Analytics
Accept
Decline
Functional
Tools used to give you more features when navigating on the website, this can include social sharing.
Advertisement
If you accept, the ads on the page will be adapted to your preferences.
Google Ad
Accept
Decline
Save