标题:asp将文本文件导入sql的问题
只看楼主
daring
Rank: 1
等 级:新手上路
帖 子:60
专家分:0
注 册:2006-7-12
 问题点数:0 回复次数:3 
asp将文本文件导入sql的问题
请大家帮忙,怎样用asp将文本文件导入sql server
搜索更多相关主题的帖子: 文本文件 sql asp 
2006-09-07 15:22
tmd8255
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2006-9-7
得分:0 
说具体点,不是很明白问的问题
是将一个硬盘上的文本文件变成数据库里数据呢?还是什么呢?

asp+mssql技术交流QQ群:25154912,欢迎大家加入
2006-09-07 15:35
daring
Rank: 1
等 级:新手上路
帖 子:60
专家分:0
注 册:2006-7-12
得分:0 
是的,就是将硬盘上的文本文件变成数据库里数据
2006-09-07 15:52
daring
Rank: 1
等 级:新手上路
帖 子:60
专家分:0
注 册:2006-7-12
得分:0 
d1000001250706A1005500731229                                                                                                  
d1000001250706A1005500731229                                                                                                  
d1000001250706A1005500731229                                                                                                  
d1000001250706A1005500731229                                                                                                  
d1000001250706A1005500731229                                                                                                  
d1000001250706A1005500731229                                                                                                  
d1000001250706A1005500731232                                                                                                  
d1000001250706A1005500731232                                                                                                  
d1000001250706A1005500731232                                                                                                  
d1000001310706A1005500730935                                                                                                  
d1000001310706A1005500730935                                                                                                  
d1000001310706A1005500730935

保存到第一个字段的是d100000既前7位,第二个字段值310706表示日期,第三个字段值是A1000,第四个字段的值是550073,第五个字段值是0935,我要把所有的文本都保存到SQL 中
2006-09-07 16:48



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-88621-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.045722 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved