June 1st, 2000, 04:01 PM
When I try to execute a string such as: "select max(custnum) from customer", I get a "column not found error". What am I doing wrong?
| // JP opened flex table
Click to See Complete Forum and Search --> : JDBC "Max" statement June 1st, 2000, 04:01 PM When I try to execute a string such as: "select max(custnum) from customer", I get a "column not found error". What am I doing wrong? vasgaddam June 1st, 2000, 04:45 PM Hi, It seems that, it assumes the column name as "max(custnum)" and not as custnum. Try with MAX(custnum).. other wise, just double check with the description of the table..whether that column is there or not.. Sreeni codeguru.com
Copyright 2007 Jupitermedia Corporation All Rights Reserved. |