What is wrong with this statement?<BR><BR>Select TOP 10 PK from cusactivities where activitiesID ='"+request.getParameter("actID")+"'<BR> <BR>Thanks
I am using mySQL and JSP<BR>The error is:<BR>You have an error in your SQL syntax near '10 cusactivities.PK from cusactivities where activitiesID ='17'
but I believe there's a workaround. I read one a few weeks ago in the DB forum. Maybe you could try to find that or check the MySQL website.