我如何在Oracle数据库中使用C [英] how i can use c in oracle database

查看:95
本文介绍了我如何在Oracle数据库中使用C的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我可以在数据库oracle中使用java作为:创建或替换并编译名为classname的java源,

  public   class  mozaa
{
 公共 静态  void 条目(字符串 o)
 {
 -参考ref1;
 --- ref1 = 参考("  1 );
 }
};
/


但我认为有一种方法可以在数据库中使用c.我该怎么办?
(确保c是编程语言)

感谢您的帮助.
ok

解决方案

请尝试以下链接:

http://srikanthtechnologies.com/articles/oracle/proc/getstart.html [ ^ ]

http://infolab.stanford.edu/~ullman/fcdb/oracle/or-proc. html [^ ]


使用CDatabase类.您可以使用它来连接到任何数据库.您可以使用connect()连接到数据库.使用EXEC commad执行SQL语句,使用的CRecordset检索值

在C:
Oracle呼叫接口(OCI) [ Oracle C ++调用接口(OCCI) [public class mozaa { public static void entry(String o) { -- Reference ref1; ---ref1 = new Reference("dddd", 1); } }; /


but I think there is way to use c in database. How can I do that?
(sure c is programming language)

Thanks for any help.
ok

解决方案

Please try below link:

http://srikanthtechnologies.com/articles/oracle/proc/getstart.html[^]

http://infolab.stanford.edu/~ullman/fcdb/oracle/or-proc.html[^]


Use CDatabase class. You can use it to connect to any database. You can connect to he database using connect(). Use EXEC commad to execute sql statements, use CRecordSet to retrieve the values.


In C:
Oracle Call Interface (OCI)[^]

In C++:
Oracle C++ Call Interface (OCCI)[^]


这篇关于我如何在Oracle数据库中使用C的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆