Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Writing Output to SQL Database - ERROR is getting

Surender_01
5 - Atom

Hi All,

 

i am trying to write data from Output tool to SQL Database but i am getting one error

 

Attached is the image

 

Please do the needful

 

 

 

error.PNG

 Error: Output Data (84): DataWrap2ODBC::SendBatch: [Microsoft][ODBC Driver 11 for SQL Server]String data, right truncation Insert into "PLOT1"("End mat","7Digit","10Digit","Product hierarchy name","IPG","Pack"," PH*PACK-IPG","Inactive_7 digit","Inactive 10-digit","To_Name","To_Yes_No","To_Group","Created on","Stock value avg 12 mth","Division","Business function","Header Material","F4","Packaging information (code)","Industry SubGroup","Material Bulk Indicator","Bulk","Bulk type","Start","Date_New","New SKU","namechangeEnd mat","Months") Values (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)

 

2 REPLIES 2
BrandonB
Alteryx
Alteryx

This is most likely due to the size of the data types that are allowed to be written to the table. If your field sizes are too small you will get a truncation error. You should check the table in your database to see what the settings are. 

kosie-snyman
7 - Meteor

@Brandie Thank you for the advice, had a similar error and your advice helped me to solve the problem,

Labels
Top Solution Authors