当前位置: 代码迷 >> Java Web开发 >> JSP如何实现truncate table
  详细解决方案

JSP如何实现truncate table

热度:8959   发布时间:2016-04-11 00:00:17.0
JSP怎么实现truncate table
我的语法是:
Statement stmt=conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);

stmt.execute("TRUNCATE TABLE hi_temp");

但出错了。提示:
The server encountered an internal error () that prevented it from fulfilling this request.


请前辈的指点下。谢谢

------解决方案--------------------
要看后台的错误日志,究竟是什么错误。
------解决方案--------------------
这个错误好像和你的那个没有关系吧。
  相关解决方案