JSP页面中SQL语句问题>..帮帮忙,谢谢 20
在自己写的JSP页面中,<%ResultSetrs=con.getRs("SELECTa.sname,b.name,b.school,b.specialty,b.know...
在自己写的JSP页面中,
<%
ResultSet rs=con.getRs("SELECT a.sname,b.name,b.school,b.specialty,b.knowledge,
a.job,a.emolument FROM tb_sjob AS a,tb_student AS b WHERE s.sname=b.sname
and ptime<atime ORDER BY ptime DESC");
while(rs.next()){
%>
有错误,报错为
String literal is not properly closed by a double-quote
问下这是什么错误啊,应该怎么去改过来,谢谢,数据库已经连了,SQL Server2000,本人是新手,谢谢
以上是我自建的学生tb_student表和工作需求tb_job表 展开
<%
ResultSet rs=con.getRs("SELECT a.sname,b.name,b.school,b.specialty,b.knowledge,
a.job,a.emolument FROM tb_sjob AS a,tb_student AS b WHERE s.sname=b.sname
and ptime<atime ORDER BY ptime DESC");
while(rs.next()){
%>
有错误,报错为
String literal is not properly closed by a double-quote
问下这是什么错误啊,应该怎么去改过来,谢谢,数据库已经连了,SQL Server2000,本人是新手,谢谢
以上是我自建的学生tb_student表和工作需求tb_job表 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询