Truncated incorrect DOUBLE value: 'FIL1385'

Posted on 2008-10-08
Last Modified: 2012-05-05
SELECT p.`BrandNumber` as "Brand",
p.`PoNumber` as "PO NUMBER",
p.`InvoiceNumber` between 'IND1278' and 'IND1583' or 'FIL1385' and 'FIL1696',
p.`StyleCode` as "STYLE",
p.`Description` as "DESC",
p.`SeasName` =  left(p.`SeasName`,4) = 'S8-k'
FROM purchaseorder p;

"error Truncated incorrect DOUBLE value: 'FIL1385'" <=== this to me is a shortened , incorrect, whole number?  

Any ideas?
Do you think my 'InvoiceNumber' syntax is the problem?.

Sorry, thanks.
Question by:kingjely
LVL 82

Accepted Solution

hielo earned 500 total points
ID: 22675689
	p.`BrandNumber` as `Brand`,
	p.`PoNumber` as `PO NUMBER`,
	p.`StyleCode` as `STYLE`,
	p.`Description` as `DESC`,
	purchaseorder p
	left(p.`SeasName`,4) = 'S8-k'
		(p.`InvoiceNumber` between 'IND1278' and 'IND1583') 
		(p.`InvoiceNumber` between 'FIL1385' and 'FIL1696')

Open in new window


Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Create a Select Query and Populate a Table 3 51
mysql update statement 3 31
issue with DB import 1 17
MySQL InnodDB Import from mysqldump takes forever. 2 35
Introduction In this installment of my SQL tidbits, I will be looking at parsing Extensible Markup Language (XML) directly passed as string parameters to MySQL 5.1.5 or higher. These would be instances where LOAD_FILE (…
Introduction This article is intended for those who are new to PHP error handling (  It addresses one of the most common problems that plague beginning PHP develop…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question