!着急 ! 大家好! 请教一个数据导入的问题 , 困惑了一周了
日前接到一个麻烦差事 : 将一个 .db 文件(test.db)导入 Ms Sql Server 2000 。
我曾经作过的 :
1 . 本来一般情况下 .db 可以用 Borland 自带的 DataBase Desktop 打开 ,但这只能是在这个 .db 文件为一个表文件时, 但这个文件200 多兆大 , 理应不是表 , 实际操作中也无法用这个工具打开,提示 : Unable to open table ;
2 . 用 UltraEdit32 打开 , 可以看到有点含义的就是 “Copyright (c) 1987, 1994 WATCOM International Corp.,” 这么一句了 ;
3 . 无奈中我搜索了论坛上其他朋友的贴子 , 相同问题还没有看到 , 在相关贴子中有的朋友说用 Sql AnyWhere 可以打开 , 于是我在
http://www.sybase.com.cn/cn/content/goto.jsp?resID=134
下载了 SQLAnywhereStudio7.0.1, 安装完后我做了以下尝试 :(用户名、密码都用了从论坛上看到的 Sybase 的 dba 、sql ,但我不能确定是正确的)
在 InterActive Sql Connect 对话框中 :
(1) Identification 选项页中 , User : dba ; PassWord : sql
(2) DataBase 选项页中 ,
the following information identifies the database :
DataBase file : 选择该文件 test.db
其他均默认 ;
确定后提示 :
Could not connect to the database
JZ001:Login failed . examine the SQLWarnings chained to this exception for the reason(s)
ASA Error - 103 : Invalid user ID or password
应该是密码错 , 因为不知道 test.db 是怎么设置的(客户单位提供的,他们也是从别的地方拿到的,因此不知道是用什么作的数据库,也不知道这些设置) , 我又用安装SQLAnywhereStudio7.0.1后自带的一个 .db 按照如上步骤操作 , 结果一样 ,因此这个用户名、密码肯定有问题 ;
后来在 ODBC 中创建系统 DSN :syb, 选择 Adaptive Server Anywhere 7.0 驱动,用户名密码基本同前,测试连接不通 , 也是用户名、密码错误
______________________________________________________________________
我的问题是 :
1 . 这种 .db 文件最有可能是何种数据库文件 ? 应该用什么打开 ?
2 . 假设能够用 Sql AnyWhere 打开 , 用户名、密码默认的是什么 ? 如何操作 ?
谢谢您 !