Article View: cn.bbs.comp.lang.java
Article #23505Re: ���һ��mysql���������
From: Ħ���š������686�������Ʒɡ�
Date: Mon, 28 Jul 2003 05:33
Date: Mon, 28 Jul 2003 05:33
16 lines
1547 bytes
1547 bytes
Ҫ��executeUpdate�����
�� �� cxw (С��) �Ĵ������ᵽ: ��
: �ҵij���
: Connection con=DriverManager.getConnection(.........����û���⣩��
: Statement stmtsql = con.createStatement();
: java.sql.ResultSet resultt = stmtsql.executeQuery("create table table1 sele
: ct * from table2 ; ");
: ���DZ��?��mysql����ִ�п��ԣ����Խ�һ���±?
: ������Can not issue data manipulation statements with executeQuery()
--
�Ǻǣ�Цһ�������������dzԣ�
[m[1;32m�� ��Դ:������δ��վ bbs.pku.edu.cn��[FROM: 162.105.203.99][m
Technical Details
Message-ID:
<47R48d$9uK@bbs.pku.edu.cn>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-05!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!maily.cic.tsinghua.edu.cn!news.happynet.org!PKUShow Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB X-Google-Thread: f6cb0,2c89dbada016e920 X-Google-Attributes: gidf6cb0,public X-Google-ArrivalTime: 2003-07-27 22:34:06 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-05!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!maily.cic.tsinghua.edu.cn!news.happynet.org!PKU From: tianlanlan@bbs.pku.edu.cn (Ħ���š������686�������Ʒɡ�) Newsgroups: cn.bbs.comp.lang.java Subject: Re: ���һ��mysql��������� Date: 28 Jul 2003 05:33:42 GMT Organization: ����δ��վ Message-ID: <47R48d$9uK@bbs.pku.edu.cn> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit X-Filename: Java/M.1059370407.A Lines: 16