Article View: cn.bbs.comp.lang.java
Article #20438Re: [jdbc]����sqlserver������
From: YouYou
Date: Thu, 18 Dec 2003 03:58
Date: Thu, 18 Dec 2003 03:58
19 lines
1573 bytes
1573 bytes
���������jbuilder�����project->project properties->required library
�����jar�ļ�add��ȥ��
�� �� cimxml (nick) �Ĵ������ᵽ: ��
: ��������
: import java.sql.*;
: import java.io.*;
: import java.util.*;
: public class SQLDemo{
: public static void main(String args[]) throws Exception{
: Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
: Connection conn = DriverManager.getConnection("jdbc:microsoft:sqlserver://SKY:1433;user=sa;Password=");
: Statement st=conn.createStatement();
: >> .................<����ʡ��>............
--
CS + JAVA + ZZZzzz... = a day
[m[1;34m�� ��Դ:��Ʈ��ˮ�Ƽ� Freecity.dhs.org��[FROM: huxiaoqing][m
Technical Details
Message-ID:
<49ga8S$AKR@Freecity.dhs.org>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer2.atl.newshosting.com!167.206.3.103.MISMATCH!news3.optonline.net!news.bylinux.net!news.ccie.net.cn!FreecityShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,GB X-Google-Thread: f6cb0,d86923ccbcd294ca X-Google-Attributes: gidf6cb0,public X-Google-ArrivalTime: 2003-12-17 19:56:45 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer2.atl.newshosting.com!167.206.3.103.MISMATCH!news3.optonline.net!news.bylinux.net!news.ccie.net.cn!Freecity From: huxiaoqing.bbs@Freecity.dhs.org (YouYou) Newsgroups: cn.bbs.comp.lang.java Subject: Re: [jdbc]����sqlserver������ Date: 18 Dec 2003 03:58:56 GMT Organization: Ʈ��ˮ�Ƽ� Message-ID: <49ga8S$AKR@Freecity.dhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 8bit X-Filename: Java/M.1071719836.A Lines: 19