Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Invalid data '100004' for CFSQLTYPE CF_SQL_NUMERIC. 1

Status
Not open for further replies.

JohnandSwifty

Technical User
May 31, 2005
192
GB
Hi,

I have a list - ,100004,100009,100010 - which i need to use in a query - AND Code IN (<cfqueryparam cfsqltype="cf_sql_numeric" list="yes" separator="," value="#ListQualify(URL.clipboardStr,"'",",")#">)

but i keep getting the above error ( Invalid data '100004' for CFSQLTYPE CF_SQL_NUMERIC.) - but it is a number?...

Thanks
 
The values are numeric. They shouldn't be quoted. So remove #listQualify()#

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top