Home » Developer & Programmer » Forms » import access data to oracle (oracle, 10g, windows 2003 server)
import access data to oracle [message #458883] Wed, 02 June 2010 05:52 Go to next message
yeahia
Messages: 22
Registered: June 2010
Location: Bangladesh
Junior Member
i have followed the Maaher's message and work on it step by step.

i got it from odbc#msg_286922

but at last, when i create db link then it show below:

SQL> conn sys as sysdba
Enter password: ********
Connected.
SQL> show user
USER is "SYS"

SQL> create database LINK orafaccess using 'ORAFACCESS';

Database link created.

SQL> desc emp@orafaccess
ERROR:
ORA-02085: database link ORAFACCESS.APEX.COM connects to HO.WORLD

SQL>


here global database name : apex.apex.com

please some help me.

Yeahia
Re: import access data to oracle [message #458885 is a reply to message #458883] Wed, 02 June 2010 06:03 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Did you try to create a database link using 'orafaccess.apex.com'? Or perhaps "orafaccess.ho.world" (I didn't quite understand which is which).
Re: import access data to oracle [message #458889 is a reply to message #458885] Wed, 02 June 2010 06:49 Go to previous messageGo to next message
yeahia
Messages: 22
Registered: June 2010
Location: Bangladesh
Junior Member
no, i never try to create a database link using 'orafaccess.apex.com' or "orafaccess.ho.world"
Re: import access data to oracle [message #458902 is a reply to message #458889] Wed, 02 June 2010 08:20 Go to previous messageGo to next message
John Watson
Messages: 8944
Registered: January 2010
Location: Global Village
Senior Member
You have the parameter global_names set to TRUE. You must set it to FALSE if the name of the link is not the same as the global name, or the link won't work.
Re: import access data to oracle [message #458991 is a reply to message #458902] Wed, 02 June 2010 18:08 Go to previous messageGo to next message
owais_baba
Messages: 289
Registered: March 2008
Location: MUSCAT
Senior Member
hi dear

try this


create public database link orafaccess using 'ORAFACCESS'

and check database link weither is created or not

select 'x' from dual@orafaccess;

oh yah you have to configure tnsname.ora also

feel free for further questionaing




Re: import access data to oracle [message #459017 is a reply to message #458991] Thu, 03 June 2010 00:45 Go to previous messageGo to next message
yeahia
Messages: 22
Registered: June 2010
Location: Bangladesh
Junior Member
i use create public database link ....
still the same error display.
yes i have configured the tnsnames.ora propertly as per instruction of Maaher

[Updated on: Thu, 03 June 2010 00:46]

Report message to a moderator

Re: import access data to oracle [message #459019 is a reply to message #458902] Thu, 03 June 2010 00:48 Go to previous messageGo to next message
yeahia
Messages: 22
Registered: June 2010
Location: Bangladesh
Junior Member
after this the same error dispaly:
SQL> create public database LINK orafaccess using 'ORAFACCESS';

Database link created.

SQL> desc emp@orafaccess
ERROR:
ORA-02085: database link ORAFACCESS.APEX.COM connects to HO.WORLD



where should i change the parameter? please explain. should i restart the database after change?
regards.

[Updated on: Thu, 03 June 2010 01:11]

Report message to a moderator

Re: import access data to oracle [message #459034 is a reply to message #459019] Thu, 03 June 2010 02:09 Go to previous messageGo to next message
John Watson
Messages: 8944
Registered: January 2010
Location: Global Village
Senior Member
You need to look in the documentation. The "Reference" will tell you about the global_names parameter, and the "SQL Reference" will give you the syntax of the ALTER SYSTEM command to change it. You also need to look up the CREATE DATABASE LINK command, because you haven't specified the schema to which the link should connect.
Re: import access data to oracle [message #459084 is a reply to message #458883] Thu, 03 June 2010 05:47 Go to previous messageGo to next message
yeahia
Messages: 22
Registered: June 2010
Location: Bangladesh
Junior Member
okay done.
thank you all. Laughing
Re: import access data to oracle [message #516739 is a reply to message #459084] Wed, 20 July 2011 07:25 Go to previous messageGo to next message
yeahia
Messages: 22
Registered: June 2010
Location: Bangladesh
Junior Member
everything okay. but i forget the Maaher's procedure

can anyone help me how can i get the maaher's message odbc#msg_286922

thanks.
Re: import access data to oracle [message #516741 is a reply to message #459084] Wed, 20 July 2011 07:28 Go to previous message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Here you are.
Previous Topic: Backup table
Next Topic: Mail using OLE2 Backage
Goto Forum:
  


Current Time: Sun Sep 08 23:05:47 CDT 2024