Skip to content
Advertisement

SQLSTATE[01000]: Warning: 1265 Data truncated for column

SQLSTATE[01000]: Warning: 1265 Data truncated for column ‘pay_totals’ at row 1

blade:

Helppp

Advertisement

Answer

The problem is that column pay_totals can’t store whatever you are getting from the input because is too big.

Possibles solutions

SQL: ALTER TABLE [orders] ALTER COLUMN [pay_totals] VARCHAR(MAX)

MYSQL: ALTER TABLE [orders] MODIFY COLUMN [pay_totals] VARCHAR(60000)

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement