🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ��һ��������

#1332
From: ��������
Date: Wed, 12 Dec 2007 08:28
19 lines
1553 bytes
mysql���������IF(task='���',time,'')
�������ݿ�Ӧ��Ҳ�����Ƶ�control flow functions
�� �� ahahxof (endless waiting) �Ĵ������ᵽ: ��
: It's a syabse sql example that could generate the result you want,
: if you are using oracle 8i, please interpret it into decode.
: select
: name,
: case when task = '�¼�' then time else '' end,
: case when task = '���' then time else '' end 
: into table2
: from table1
: �� �� thatnight �Ĵ������ᵽ: ��
: : table1
: .................������ʡ�ԣ�

--
                  Ը�л�����ǿ�󣬹��͹�ǿ�󣬽���ǿ�󣡣���

�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 202.120.40.99]
Technical Details
Message-ID: <4XRTYR$bqj@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!bbsnews.sdu.edu.cn!SJTUBBS

Show Full Headers
Complete Article Headers
X-Google-Thread: 101948,3393c263b6548aa5,start
X-Google-Attributes: gid101948,public,usenet
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!ecngs!feeder2.ecngs.de!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!bbsnews.sdu.edu.cn!SJTUBBS
From: davidsure.bbs@bbs.sjtu.edu.cn (��������)
Newsgroups: cn.bbs.comp.database
Subject: Re: ��һ��������
Date: 12 Dec 2007 08:28:50 GMT
Organization: ��ˮ˼Դ
Message-ID: <4XRTYR$bqj@bbs.sjtu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: database/M.1197448059.A