Article View: cn.bbs.comp.database
Article #1097Re: 问个sql语句的问题
From: 无为
Date: Thu, 24 Apr 2008 11:26
Date: Thu, 24 Apr 2008 11:26
17 lines
2512 bytes
2512 bytes
On 4月24日, 下午2时42分, Durini....@bbs.sjtu.edu.cn (杜里尼大街24号~谁可洁白无比) wrote: > 问题解决了 > 原来access里面的sql语句跟sql sever不一样 > update语句里面不能有from子句 > 需要把表写到update后面 > 应该是 > update 1,2 set 1.a=2.c where 1.b=2.d > > 【 在 Dem (Galaxy·VOLUNTEERS) 的大作中提到: 】 > : UPDATE 1 > : SET 1.a=2.c > : from 1 > : inner join 2 > : on 1.b=2.d > : 加个inner看看 > : 不久前一个ssis package中就写过类似的,可以运行 > : 莫非不是sql server就不行? > : 【 在 Durini (杜里尼大街24号~谁可洁白无比) 的大作中提到: 】 > : : 这个试过了,也不行 > : .................(以下省略) > > -- > 王子们已经隐居,女人眼中只有白马http://bbs.sjtu.edu.cn/file/Inter/111841225728620.jpg > > [m [1;32m※ 来源:·饮水思源 bbs.sjtu.edu.cn·[FROM: 202.120.36.158] [m 汗,现在要是写个程序要我用ACCESS做数据库,可能我啥也搞不定啊! 学习了,一嘎始看到说不可行我还有些不相信,看完了才明白原来是ACCESS 以后最好说清坏境,呵呵!
Technical Details
Message-ID:
<e2d33982-f0a0-44b4-b822-f657bdc82c2b@q27g2000prf.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!q27g2000prf.googlegroups.com!not-for-mailReferences:
<4ZaBjH$b0a@bbs.sjtu.edu.cn>Show Full Headers
Complete Article Headers
X-Google-Thread: 101948,83483d7c238d2318 X-Google-Attributes: gid101948,domainid0,public,usenet X-Google-Language: Chinese,GB Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!q27g2000prf.googlegroups.com!not-for-mail From: 无为 <chinamis2008@gmail.com> Newsgroups: cn.bbs.comp.database Subject: Re: 问个sql语句的问题 Date: Thu, 24 Apr 2008 04:26:51 -0700 (PDT) Organization: http://groups.google.com Lines: 17 Message-ID: <e2d33982-f0a0-44b4-b822-f657bdc82c2b@q27g2000prf.googlegroups.com> References: <4ZaBjH$b0a@bbs.sjtu.edu.cn> NNTP-Posting-Host: 218.18.173.32 Mime-Version: 1.0 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: base64 X-Trace: posting.google.com 1209036412 11919 127.0.0.1 (24 Apr 2008 11:26:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 24 Apr 2008 11:26:52 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: q27g2000prf.googlegroups.com; posting-host=218.18.173.32; posting-account=GrR-aQoAAADfmb8MH8OKFKYJzgbuqV9A User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe)