How To Use DBLink In Oracle Forms 6i
You want to connect multiple databases in oracle forms to perform certain tasks, for example you need to execute ddl or dml statements against databases but when you try to use dblink it gives you error or suddenly quits from the oracle forms. 
Solution - 1
You can create Database Synonyms for the objects which you want to access through dblink in oracle forms. Suppose you want to execute a procedure from another database, create a synonym for that procedure in current database and access it in oracle forms.
Solution - 2
Use Exec_Sql package in oracle forms to access multiple database and to execute any ddl and dml statements. A simple example is given below:
declare
    cid exec_sql.conntype;
    cursorid exec_sql.curstype;
begin
    cid := exec_sql.open_connection('scott/tiger@db3');
     cursorid := exec_sql.open_cursor(cid);
     exec_sql.parse(cid, cursorid, 'drop table emp2 ', exec_sql.v7);
     exec_sql.close_cursor(cid, cursorid);
     exec_sql.close_connection(cid);
end;

How To Use DBLink In Oracle Forms 6i的更多相关文章
- Displaying Window In Center In Oracle Forms 6i
		Center window automatically in Oracle Forms 6i, use the following procedure by passing window name ... 
- Get_File_Name Usage in Oracle Forms 6i
		Get_File_Name is built-in function of Oracle Forms 6i, used to get the file name with address by bro ... 
- Changing Icon File Of Push Button At Runtime In Oracle Forms 6i
		Set Icon_File property in When-Mouse-Enter trigger Suppose you are creating icon based menu system i ... 
- Freebie - Utility Form: Generate Excel Report From SQL Query In Oracle Forms 6i And 11g
		Sharing a form to generate Excel file report from SQL query in Oracle Forms. This form can be used i ... 
- Run_Product Example Form - Oracle Forms 6i
		I have already posted in my previous post Running Reports Using Run_Product to run reports in Oracle ... 
- Download Oracle Forms 6i
		To download Oracle Forms Developer 6i from Oracle click this link http://download.oracle.com/otn/nt/ ... 
- Giving Data Backup Option in Oracle Forms 6i
		Suppose you want to give the data backup option in Oracle Forms application to some client users, wh ... 
- Date Picker Calendar For Oracle Forms 6i
		Giving date picker calendar option to user for date type fields in Oracle Forms. I am providing you ... 
- Freebie: Date Picker Calendar Demo Form For Oracle Forms 6i
		I have already posted and provided the required PLSQL Library and the Calendar FMX file in my previo ... 
随机推荐
- 【转】Linux安装方法一(U盘引导)
			Ubuntu 13.04正式版已经在4月25日发布了,相信很多人和我一样很想安装体验一下,但是现在的Ubuntu 13.04文件已经是794M,但是很难刻录到一张CD中,所以采用U盘启动安装Ubunt ... 
- LaTex 插入图片
			\usepackage{mathrsfs} \usepackage{amsmath} \usepackage{graphicx} 宏包 \includegraphics{graph01.eps} %插 ... 
- PHP读文件的一个乱码问题
			D:/3.txt是utf-8文件 $f1 = fopen('D:/3.txt','r');$str = fread($f1,10000);fclose($f1);echo substr($str,1, ... 
- win7安装virtualbox遇到的问题
			今天用台式机的时候想装个virtualbox跑centos做测试用,结果centos始终装不上,vbox一直提示无法开启任务.重装vbox,以及手动点击安装xxx.inf文件,都不行. 以前用的win ... 
- Asp.net  DropDownList 自定义样式(想怎么改就怎么改!)
			最近在做一个asp.net的项目,需要对默认的dropdownlist样式进行美化,固有的dropdownlist的小箭头实在让人无法接受,于是开始在百度,google 上下求索,天不负有心人,终于找 ... 
- leetcode 374
			这个题目很简单,但是要注意细节和对题目的理解,一开始我把guess函数的作用理解错了,第一版代码长这样: int guessNumber(int n) { ; int high = n; while( ... 
- Life is hard
			Life is hard, always so.If there's anything to give you a hard life with sunshine and warmth, please ... 
- dotnetnuke peek. glance.
			/**** 15:59:39.05 ***/ use dotnetnuke to create websites: 1. install 2. create webpage template 3. c ... 
- 各大Oj平台介绍 刷题平台
			https://leetcode.com/ http://www.cnblogs.com/lzmfywz/archive/2012/02/07/2342010.html 1.题库与网站资源题库-在线提 ... 
- sysobjects中字段的含义
			--列名 数据类型 描述 name sysname --对象名. Id int --对象标识号. xtype ) --对象类型.可以是下列对象类型中的一种: C = CHECK --约束 D = -- ... 
