Pro*Fortran 可以在 Windows 上连接到 Oracle 10g 吗?
有谁在windows上成功编译了一个连接Oracle 10g的pro*fortran程序吗?
我似乎只能找到表明可以针对 Oracle 8i 及更早版本预编译嵌入式 sql 的信息。
如果您已经这样做了,请您发布您拥有的编译器、oracle 下载/文章等的任何链接,因为我们将不胜感激。
(顺便说一句,抱歉,如果我使用的任何术语稍有偏差,因为我今天之前从未见过 Fortran)
亲切的问候,
保罗
has anyone successfully compiled a pro*fortran program on windows that connects to Oracle 10g?
I can only seem to find information that suggests that pre-compilation of embedded sql is possible against Oracle 8i and earlier.
If you have done this please can you post any links you have for compilers, oracle downloads/articles etc as they would be most appreciated.
(btw sorry if any of the terminology I've used is slightly off as I'd never even seen fortran before today)
Kind regards,
Paul
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
“针对 Oracle 8i 及更早版本可以预编译嵌入式 SQL。”
没听说过。 但是,至少从 Pro*C 的角度来看,自 Oracle 8 左右以来,预编译器就没有得到增强,因此为 8i 及更高版本添加的许多语法将无法编译(例如标量子查询)。 认为这也适用于数据类型。
可以通过动态 SQL 使用较新的 SQL。
此外,10g(或者可能是 10gR2)服务器拒绝来自旧客户端库的连接。 我认为这与 8.1.7 之前的客户端有关。
10gR2 文档集中有 Pro*Fortran 指南,因此必须有一些东西可以工作
"pre-compilation of embedded sql is possible against Oracle 8i and earlier."
Haven't heard that. But, at least from the point of view of Pro*C, the pre-compiler hasn't been enhanced since around Oracle 8, so a lot of syntax added for 8i and later won't compile (eg scalar subqueries). Think that applies to data types as well.
It is possible to use newer SQL through dynamic SQL.
Also, 10g (or maybe 10gR2) servers refuse connections from the older client libraries. I think that related to pre-8.1.7 clients.
There is a Pro*Fortran guide in the 10gR2 documentation set, so something must work