🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ��һ����access�п�����sql��䲨������

#1755
From: error
Date: Mon, 28 Nov 2005 14:31
19 lines
1259 bytes
    if(m_database.IsOpen())
    m_database.Close();
    m_database.Open("ODBC;DSN=xzxk;UID=SA;PWD=SA;");
    if (m_kz)
    {
      strSQL.Format("delete from  tbl_xtbm where bmh = '%s' and  bmlbxh=%d and
  bmh<>'000000' ",m_bmh,bmlbxh);    
    }
    else
    {
       strSQL.Format("delete from  tbl_xtbm where  bmlbxh=%d ",bmlbxh);    
    }
    m_database.ExecuteSQL(strSQL);
    m_database.Close();
    MessageBox("ɾ��ɹ�!!");
    UpdateData(false);
--

�� ��Դ:����ɽ��ˮվ http://bbs.neu.edu.cn��[FROM: 219.216.122.102]
Technical Details
Message-ID: <4LMR9E$fiD@bbs.neu.edu.cn>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!feed2.newsreader.com!newsreader.com!news.neu.edu.cn!NEU

Show Full Headers
Complete Article Headers
X-Google-Thread: 101948,743f346bb691e9f3
X-Google-Attributes: gid101948,public
X-Google-Language: ENGLISH,GB
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!feed2.newsreader.com!newsreader.com!news.neu.edu.cn!NEU
From: error@bbs.neu.edu.cn (error)
Newsgroups: cn.bbs.comp.database
Subject: Re: ��һ����access�п�����sql��䲨������
Date: 28 Nov 2005 14:31:26 GMT
Organization: ��ɽ��ˮ
Message-ID: <4LMR9E$fiD@bbs.neu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Database/M.1133188286.v0
Lines: 19