导出:
dbf: select * into [userq] in 'd:/' 'dBASE IV;' from [2011文书档案]
xls: select * into [as] in 'd:/' 'Excel 8.0;' from [2011文书档案]
txt: select * into [as.csv] in 'd:/' 'text;' from [2011文书档案]
mdb: select * into [D:/a].a from [2011文书档案13]
导入:
mdb: select * from [d:/a].[ut_1]
xls: select * from [Sheet1$A3:E6] IN "d:/a.xls" "Excel 8.0; HDR=No;" //第一行是数据
xls: select * from [归档文件] IN "d:/a.xls" "Excel 8.0;" //第一行是标题
dbf: select * from a in "d:/" "dBASE IV;"
txt: select * from [a.csv] IN 'd:/' 'text;'
ISAM格式分别是:
dbase 5.0 dBASE 5 (*.dbf)
dbase III dBASE III (*.dbf)
dabse IV dBASE IV (*.dbf)
excel 3.0 Microsoft Excel 3 (*.xls)
excel 4.0 Microsoft Excel 4 (*.xls)
excel 5.0 Microsoft Excel 5-7 (*.xls)
excel 8.0 Microsoft Excel 97-2000 (*.xls)
exchange 4.0 Exchange() outlook程序
html export HTML 文档 (*.html;*.htm)
html import HTML 文档 (*.html;*.htm)
jet 2.x Jet 2.x
jet 3.x Jet 3.x
lotus wj2 Lotus 1-2-3 WJ2 (*.wj2)
lotus wj3 Lotus
Lotus WK1 Lotus 1-2-3 WK1 (*.wk1)
Lotus WK3 Lotus
Lotus WK4 Lotus
Outlook 9.0 Exchange
Paradox 3.X Paradox 3 (*.db)
Paradox 4.X Paradox 4 (*.db)
Paradox 5.X Paradox 5 (*.db)
Paradox 7.X Paradox 7-8 (*.db)
Text 文本文件 (*.txt;*.csv;*.tab;*.asc)
本文介绍了如何在不同数据格式间进行转换的方法,包括DBF、XLS、TXT和MDB等常见格式,并提供了具体的SQL语句示例。对于从事数据处理工作的技术人员来说,了解这些转换方式非常实用。

1265

被折叠的 条评论
为什么被折叠?



