🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.database
Article #72

Re: ����ʹ��ado����sql����ʱ����������

#72
From: Galaxy��VOLUNTEERS��Database
Date: Tue, 11 Aug 2009 18:41
21 lines
1909 bytes
�˳�������?��������ij���ϻ��������޷�����delete����
ȷ�������session���������û���sessionû���ڶ��������в�ѯ����IJ���
�� �� garfieldgxp (Garfield) �Ĵ������ᵽ: ��
: ����ִ���������ʱ����ʱ�Ῠס��Ȼ���һ��ͱ����˳���
:     _bstr_t strConn;
:     _CommandPtr pCommand;
:     pCommand.CreateInstance( __uuidof( Command ) );
:     pCommand->ActiveConnection = pConnection;
:     ......
:     strConn = "TRUNCATE TABLE Result";
:     pCommand->CommandText = strConn;
:     pCommand->Execute( NULL, NULL, adCmdText ); �����Ϳ�ס��
: pCommand�м�Ҳ�ɹ������ô�����������Ҵ�����ֻ�����е����Ῠס��
: .................������ʡ�ԣ�

--
Welcome to Database Board
��ӭ������ݿ��
http://bbs.sjtu.edu.cn/bbsdoc?board=database

�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 207.46.55.30]
Technical Details
Message-ID: <4hMjWC$Zyb@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder.news-service.com!feeder.erje.net!news.byr.edu.cn!news.shec6.edu.cn!SJTU

Show Full Headers
Complete Article Headers
X-Google-Thread: 4df683fd51,9d6ce2700789ce23,start
X-Google-Attributes: gid4df683fd51,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!feeder.news-service.com!feeder.erje.net!news.byr.edu.cn!news.shec6.edu.cn!SJTU
From: Dem.bbs@bbs.sjtu.edu.cn (Galaxy��VOLUNTEERS��Database)
Newsgroups: cn.bbs.comp.database
Subject: Re: ����ʹ��ado����sql����ʱ����������
Date: 11 Aug 2009 18:41:33 GMT
Organization: ��ˮ˼Դ
Message-ID: <4hMjWC$Zyb@bbs.sjtu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: database/M.1250016012.A