🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: [����]:vbʹ��sql�IJ�ѯ���like

#1494
From: StarcraftII
Date: Mon, 11 Jun 2007 15:24
12 lines
1389 bytes
������ô��
sql = select * from xxx where true
if (xxx) sql += and a>b
if (yyy) sql += and c>d

�� �� saintfish (С�㡤ʱ����Ϊ��ͣ��) �Ĵ������ᵽ: ��
: ���Ӧ���ڹ������SQL��ʱ��������SQLʵ�ֲ�̫��
: �� �� DOLPHINmao (dolphin) �Ĵ������ᵽ: ��
: : ����Ҫʵ��������ϲ�ѯ��������ݣ�Ӧ����ô���أ�
--

�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 218.193.181.171]
Technical Details
Message-ID: <4US4QL$b4l@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newspeer.monmouth.com!newsswitch.lcs.mit.edu!bloom-beacon.mit.edu!news.cn99.com!news.uestc.edu.cn!bbsnews.sdu.edu.cn!SJTUBBS

Show Full Headers
Complete Article Headers
X-Google-Thread: 101948,87eb35c2062b3252
X-Google-Attributes: gid101948,public,usenet
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newspeer.monmouth.com!newsswitch.lcs.mit.edu!bloom-beacon.mit.edu!news.cn99.com!news.uestc.edu.cn!bbsnews.sdu.edu.cn!SJTUBBS
From: Programmer.bbs@bbs.sjtu.edu.cn (StarcraftII)
Newsgroups: cn.bbs.comp.database
Subject: Re: [����]:vbʹ��sql�IJ�ѯ���like
Date: 11 Jun 2007 15:24:49 GMT
Organization: ��ˮ˼Դ
Message-ID: <4US4QL$b4l@bbs.sjtu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: database/M.1181575413.A
Lines: 12