简体   繁体   English

升级 Rapid-Sql 客户端以使用 Sybase 15

[英]Upgrade Rapid-Sql Client to work with Sybase 15

I'm attempting to run queries on a Sybase15 database via Rapid Sql.我正在尝试通过 Rapid Sql 在 Sybase15 数据库上运行查询。 I'm getting error messages such as我收到错误消息,例如

-- Number (103) Severity (15) State (207) Server (serverName) The identifier that starts with '[xxxxxxxxx_xxxxxx_xxxxxx' is too long. Maximum length is 28

which I believe it because the Rapid Sql Client is using Sybase 12.5 properties.我相信这是因为 Rapid Sql 客户端使用的是 Sybase 12.5 属性。

I have updated the Sybase Client version but now Rapid Sql complains with the following:我已经更新了 Sybase 客户端版本,但现在 Rapid Sql 抱怨以下内容:

Can not load Open Client, please verify that libsybct.dll/libct.dll and libsybcs.dll/libcs.dll are in your path.无法加载 Open Client,请验证 libsybct.dll/libct.dll 和 libsybcs.dll/libcs.dll 是否在您的路径中。 Please make sure your version of Open Client library is 11.1.1 or greater.请确保您的 Open Client 库版本为 11.1.1 或更高版本。 If you are using an upgraded copy of Open Client 11.1.1, please install a full copy如果您使用的是 Open Client 11.1.1 的升级副本,请安装完整副本

My path includes C:\Program Files\Sybase.15\OCS-15_0\dll which is where the dlls are stored and my version of Open Client is 15.0 as can be seen below:我的路径包括 C:\Program Files\Sybase.15\OCS-15_0\dll 这是存储 dll 的位置,我的 Open Client 版本是 15.0,如下所示:

C:>isql -v Sybase CTISQL Utility/15.0/P-EBF12974 ESD #1/PC Intel/BUILD1500-002/OPT/Thu Sep 29 14:51:28 2005 C:>isql -v Sybase CTISQL Utility/15.0/P-EBF12974 ESD #1/PC Intel/BUILD1500-002/OPT/2005 年 9 月 29 日星期四 14:51:28

Any ideas?有任何想法吗?

I got the same error the reason why was because my sql10 folder was missing some files.我得到了同样的错误,原因是我的 sql10 文件夹丢失了一些文件。 Go to C:\Program Files (x86)\Embarcadero\RSQL871 and look for the sybinit.err file. Go 到 C:\Program Files (x86)\Embarcadero\RSQL871 并查找 sybinit.err 文件。 Open that file in a text editor and it will tell you what files are missing or what files it cannot read.在文本编辑器中打开该文件,它会告诉您哪些文件丢失或哪些文件无法读取。 It tells you one at a time so if you find the file that you are missing, and put it in the sql10 folder then start rapid sql again and try to connect it might give you the same error message again.它一次告诉您一个,因此如果您找到丢失的文件并将其放在 sql10 文件夹中,然后再次启动快速 sql 并尝试连接它可能会再次给您相同的错误消息。 This just means there is another missing file.这只是意味着还有另一个丢失的文件。 if you look at the sybinit.err file again the file name of the missing file would have changed so you need to keep doing this until there are no more errors.如果您再次查看 sybinit.err 文件,丢失文件的文件名将会更改,因此您需要继续执行此操作,直到没有更多错误为止。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM