I promise I have read most of the internet, but can't find my answer. Things I have read so far. 1292 Truncated incorrect DOUBLE value: ''
1292 Truncated incorrect DOUBLE value: ''
Error Code: 1292 - Truncated Incorrect DOUBLE value: '-'
1292 Truncated incorrect DOUBLE value
Invalid datetime format: 1292 Truncated incorrect DOUBLE value Error Code: 1292. Truncated incorrect DOUBLE value: 'yes'
Warning: #1292 Truncated incorrect DOUBLE value: 'Motor Bike'
MEANING OF ERROR 1292 (22007): Truncated incorrect DOUBLE value: 'JAIN'
Error Number: 1292 Truncated incorrect DOUBLE value in my SQL error
SQL Error (1292): Truncated incorrect DOUBLE value: '6893Order '
MySQL: #1292 - Truncated incorrect DOUBLE value: '...'
All of these problems vary so much for the error : #1292 - Truncated incorrect DOUBLE value: 'CPL772-00'
Here is my query
insert into `wooderso_8K7YhUihGr9s4k8xE1w9`.`gsti1_wpcrm_adjustment`
(
pallet_id,
quantity,
message,
created_date,
modified_date
)
select
s.TFR,
s.Cust,
s.Issue,
s.PalNo,
Date(s.Date)
from
`wooderso_wsms`.`dbo.tbl_Master_Data` s, `wooderso_dev`.`gsti1_wpcrm_adjustment` n
where
s.`TFR` = 1;
SET n.message = s.Cust, n.modified_date = s.Date, n.created_date = s.Date, n.pallet_id = s.PalNo, n.quantity = s.Issue;
Please lord someone help me out of my misery. The answers above are all totally different problems with the same error, it's like finding a needle in a haystack.
Updated Query:
insert into `wooderso_dev`.`gsti1_wpcrm_adjustment`
(
pallet_id,
quantity,
message,
created_date,
modified_date
)
select
s.TFR,
s.Cust,
s.Issue,
s.PalNo,
Date(s.Date)
from
`wooderso_wsms`.`dbo.tbl_Master_Data` s JOIN `wooderso_dev`.`gsti1_wpcrm_adjustment` n
where
s.`TFR` = 1;
SET n.message = s.Cust AND
n.modified_date = s.Date AND
n.created_date = s.Date AND
n.pallet_id = s.PalNo AND
n.quantity = s.Issue;
Scheme
show create table
wooderso_8K7YhUihGr9s4k8xE1w9.
gsti1_wpcrm_adjustment;
gives
gsti1_wpcrm_adjustment CREATE TABLE
gsti1_wpcrm_adjustment(
adjustm...`
So I tried
describe `wooderso_8K7YhUihGr9s4k8xE1w9`.`gsti1_wpcrm_adjustment`
Field Type Null Key Default Extra
adjustment_id int(11) unsigned NO PRI NULL auto_increment
pallet_id int(11) unsigned NO MUL NULL
quantity int(10) NO NULL
modified_date datetime NO NULL
created_date datetime NO NULL
message text NO NULL
describe `wooderso_wsms`.`dbo.tbl_Master_Data`;
Field Type Null Key Default Extra
RecID mediumint(9) YES NULL
PalNo varchar(15) YES NULL
Prod varchar(50) YES NULL
SpecNo varchar(11) YES NULL
ProdCode varchar(17) YES NULL
CostPrice decimal(8,4) YES NULL
SellPrice decimal(9,4) YES NULL
Weight decimal(22,17) YES NULL
Rcvd mediumint(9) YES NULL
Issue decimal(6,1) YES NULL
Bal decimal(7,1) YES NULL
Date varchar(19) YES NULL
Cust varchar(221) YES NULL
OrRefNum varchar(50) YES NULL
Purch varchar(11) YES NULL
TFR tinyint(4) YES NULL
ProdQual tinyint(4) YES NULL
Note varchar(221) YES NULL