🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: 请问如何用sql语句将数组一次导入数据库

#1082
From: 无为
Date: Wed, 23 Apr 2008 10:37
15 lines
2381 bytes
On 4月20日, 下午11时19分, wodetian....@bbs.sjtu.edu.cn (唐僧爱妖怪) wrote:
> 为什么不用sqlldr
>
> 【 在 Durini (杜
>
> 里尼大街24号~谁可洁白无比) 的大作中提到: 】
> : 是的,就是一次把数组中所有的数都导入
> : 而不是用for循环取出,一个个导入
> : 【 在 Goliath (Schumi) 的大作中提到: 】
> : : 怎么理解数组???就是一次导入一串?
>
> --
>     看一个人的心术,要看他的眼神。
>   看一个人的身价,要看他的对手。
>   看一个人的底牌.要看他身边的好友。
>     看一个人是否快乐,不要看笑容,要看清晨梦醒时的一刹那表情。
>   看一个人的胸襟,要看他如何面对失败及被人出卖。
>   看两个人的关系,要看发生意外时,另一方的紧张程度。
>
>  [m [1;35m※ 来源:·饮水思源 bbs.sjtu.edu.cn·[FROM: 211.99.222.55] [m

很有意思的问题 ,还没有想出如何实现,MSSQL SERVER 2005 中的XML 不知可不可以实现这个操作,不熟悉XML!
Technical Details
Message-ID: <02ca83bc-86e6-497f-9f98-8d02db2a7227@r66g2000hsg.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!r66g2000hsg.googlegroups.com!not-for-mail
References: <4ZXJL7$bWa@bbs.sjtu.edu.cn>

Show Full Headers
Complete Article Headers
X-Google-Thread: 101948,cd521d91ac659769
X-Google-Attributes: gid101948,domainid0,public,usenet
X-Google-Language: Chinese,GB
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!r66g2000hsg.googlegroups.com!not-for-mail
From: 无为 <chinamis2008@gmail.com>
Newsgroups: cn.bbs.comp.database
Subject: Re: 请问如何用sql语句将数组一次导入数据库
Date: Wed, 23 Apr 2008 03:37:07 -0700 (PDT)
Organization: http://groups.google.com
Lines: 15
Message-ID: <02ca83bc-86e6-497f-9f98-8d02db2a7227@r66g2000hsg.googlegroups.com>
References: <4ZXJL7$bWa@bbs.sjtu.edu.cn>
NNTP-Posting-Host: 116.30.95.93
Mime-Version: 1.0
Content-Type: text/plain; charset=GB2312
Content-Transfer-Encoding: base64
X-Trace: posting.google.com 1208947027 6025 127.0.0.1 (23 Apr 2008 10:37:07 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 23 Apr 2008 10:37:07 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: r66g2000hsg.googlegroups.com; posting-host=116.30.95.93; 
 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)