Skip to main content
Topic: SQLSTATE[22001]: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]String or (Read 1231 times) previous topic - next topic

SQLSTATE[22001]: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]String or

I got an error as below

SQLSTATE[22001]: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]String or binary data would be truncated. (SQL: insert into [RH_PPIC_MOLDING] ([no_machine], [no_jo], [kd_item_1], [kd_item_2], [nm_product], [bahan_baku], [berat_pcs], [berat_runner], [plan_cv], [plan_ct], [actual_cv], [actual_ct], [std_shift_75], [std_shift_50], [plan_start], [plan_fisnih]) values (2, JD21-0190, WI-A1008-001, ?, 1008-RG1 METAL RING 1008 AVON SHINY SILVER ANODIZED, 30, 12, 12, 12, 12, 12, 12, 12, 12, 2021-08-16, 2021-08-18))


Kindly help .


Regards