将VBScript Excel插入SQL表 [英] VBScript Excel into SQL table
本文介绍了将VBScript Excel插入SQL表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我不是专家,但可以阅读-并了解一些vbscript.
我需要以下内容.
一个将执行以下操作的调用函数.
1.将文件位置传递给函数.
2.打开exel对象并
3.从特定范围(即reng(A1:AZ100)
)中检索Excel数据
4.对于要插入数据库表的excel工作表中的每一行.
谁能帮助我
I''m no expert, but can read - and understand some vbscript.
I need the following.
a function to call that will perform the following.
1. pass the file location to the function.
2. open the exel object and
3. retrieve the excel data from a specific range i.e. reng(A1:AZ100)
4. for each row within the excel sheet to be inserted into a database table.
could anyone assist me please
推荐答案
hi
你可以试试这个..
要加载Excel的VBScript文件夹中的文件到SQL Server 2000表中 [
hi
you can try this one..
VBScript to Load Excel Files In A Folder Into SQL Server 2000 table [^]
I think this will help you.
Chees.!!
这篇关于将VBScript Excel插入SQL表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文