🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.java
Article #23403

JDBC+SQL Server

#23403
From: ������
Date: Tue, 29 Jul 2003 14:31
18 lines
1823 bytes
������
�н���һ�ű�ta
id: bignum �Զ����&Unique
a: bignum
b: bignum
��ô�����Insert into ta (a, b) values (1, 1)��ӳ�����Ԫ���id�أ�

�����JDBC����ʹ��executeUpdate()��ִ��SQL���Ļ�������ֵ��һ��int��ָ����Ӱ
��������ǣ�����Ҫ�õ���Ӱ�����Щ�е�RecordSet����ô�õ���лл
���ִ������ʹ��select����ѯ�Ļ�ʱ����̫���ˡ���ô��a��


--
Ѽ��Ҫ�����ˣ������Ӿ����һ�������пεijɼ�Ҳ���?�����ܲ����޼ƿ�ʩ�ˡ�
Ϊ�˲��ȣ�ֻ�ÿ����ǿ��ϰ������������Ӿ�������ܡ�
�����ĥ���˽��ƣ���Ӿ�ɼ�Ҳ���ƽӹ��
У�����Խ���ƽӹ�ijɼ���ֻ��Ѽ���Լ���в�ֵ��
�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 218.79.128.56]
Technical Details
Message-ID: <47S7UH$AyV@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!pln-e!extra.newsguy.com!lotsanews.com!news.neu.edu.cn!SJTU

Show Full Headers
Complete Article Headers
X-Google-Language: Chinese,GB
X-Google-Thread: f6cb0,a7faee802ec33721,start
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2003-07-29 07:34:06 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!pln-e!extra.newsguy.com!lotsanews.com!news.neu.edu.cn!SJTU
From: wshWaWa.bbs@bbs.sjtu.edu.cn (������)
Newsgroups: cn.bbs.comp.lang.java
Subject: JDBC+SQL Server
Date: 29 Jul 2003 14:31:26 GMT
Organization: ��ˮ˼Դ
Message-ID: <47S7UH$AyV@bbs.sjtu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1059488945.A
Lines: 18