<cfquery datasource="swp" name="getcategory">
select * from cat_area
WHERE area_id in #form.category#
(
<cfqueryparam value="#trim(form.category)#" list="true"
cfsqltype="Char">
)
</cfquery>
The error is Error Executing Database Query.
[Macromedia][Sybase JDBC Driver][Sybase]Incorrect syntax near
'467'.
and the number 467 is the first area_id in the list.
In the error message it shows the SQL as select * from
cat_area WHERE area_id in 467 ,390 ,29 ,92 ,349 ( (param 1) ,
(param 2) , (param 3) , (param 4) , (param 5) )
so it appears to be bombing on the comma.