在查询分析器中例如GO必须单独为一行,在Java的数据库操作中怎样实现回车功能?
USE 学生基本信息管理 PRINT char(13) GO PRINT char(13) CREATE VIEW cjcx_view AS SELECt sno,sname,cno,cname,ocredit,grade,otime FROM student,course,offering,enrollment WHERe student.sno = enrollment.sno AND enrollment.cno = offering.cno AND offering.cno = course.cno AND otime='"+choice.getSelectedItem()+"' PRINT char(13) GO
像这样在每个GO前加一个回车。