How to create database link between 2 servers to exports schemas
Could any one please give Steps to create database link between 2 servers (linux) to exports schemas like AR, INV, GL.......etc
Hi Mouni,
As i suggest above, please use the REMAP_SCHEMA parameter, so that you can create those objects which are getting created in the Apps Schema in the XBSI schema, I have already provided the syntax above.
ORA-31684: Object type VIEW:"XBSI"."XBSI_ORDER_LINE_INFO_V" already exists
ORA-31684: Object type VIEW:"XBSI"."XBSI_SERIAL_NO_V" already exists
ORA-31684: Object type VIEW:"XBSI"."XBSI_ONHAND_BALANCES" already exists
ORA-31684: Object type VIEW:"XBSI"."XBSI_PURCHASE_ORDERS" already exists
ORA-31684: Object type VIEW:"XBSI"."XBSI_ORDER_HEADER_INFO_V" already exists
ORA-31684: Object type VIEW:"XBSI"."XBSI_ORGANIZATION_ITEMS" already exists
ORA-31684: Object type VIEW:"XBSI"."XBSI_PE_FIND_RESULT" already exists
You are facing these errors as you have already done the import, and when you try to re-import it says those objects are already available. If this fresh import, Please drop the the new user you have already created in the Datawarehouse instance, and recreate the User and start a fresh import.
Hope this help!
Thanks &
Best Regards,
Similar Messages
-
How to create database link between oracle9i database and oracle10g
How to create database link between oracle9i database and oracle10g
oracle9i database name "Prod" windows server 2003 ( 172.x.x.x)
oracle10g database name "TEST" sun solaris 9 (165.x.x.x.x)
Please help me on thisFor connections between 10.2 and 9.2 the 9.2 end MUST be at 9.2.0.4 or higher. Connections between 10.2 and 9.2.0.1, 9.2.0.2 or 9.2.0.3 are not supported.
Connections between 10.2 and 9.0.1 was never been supported.
Cheers !!!!
Bhupinder -
How to create database link between oracle and SQL Server
Hello Everyone,
Here i have Oracle Database 9i and SQL Server 2005 databases.
I have some tables in sql server db and i want to access from Oracle.
How to create a database link between these two servers
Thanks,Thanks for Everyone,
I was struggle with this almost 10 days....
I created Database link from Oracle to SQL Server
Now it is fine.........
Here i am giving my servers configuration and proceedure how i created the db link...@
Using Generic Connectivity (HSODBC) we can create db link between Oracle and SQL server.
Machine (1)
DB Version : Oracle 9.2.0.7.0
Operating System : HP-UX Itanuim 64 11.23
IP : 192.168.0.31
Host : abcdbt
Machine (2)
Version : SQL Server 2005
Operating System : Windows server 2003 x86
IP : 192.168.0.175
Host : SQLDEV1
User/PW : sa/abc@123! (Connect to database)
Database : SQLTEST (exsisting)
Table : T (“ T “ is the table existing in SQLTEST database with 10 rows)
Prerequisites in Machine (2):
a) Oracle 10g software
b) User account to access SQL Server database (sa/abc@123!)
c) Existing SQL Server Database (SQLTEST)
d) Tables (testing purpose) (T)
Steps:
1) Install Oracle 10.2.0.1 (Only SW,No need of database) *(Machine 2)*
2) Create a DSN where your windows Oracle 10g SW resides *(Machine 2)*
Control panel >> Administrative Tools >> Data Source (ODBC) >> System DSN ADD
You can follow this link also.....
http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm
I created DSN as
DSN name : SQLTEST
User : SA/abc@123! (Existing user account)
Host : 192.168.0.175 (machine 2)
Already I have 1 database in SQL Server with the name SQLTEST
You can create DSN with different name also (not same as db name also)
3) Create a hsodbc init file in $ORACLE_HOME\hs\admin *(Machine 2)*
Create init<DSN NAME> file
Ex: initSQLTEST
Copy inithsodbc to initSQLTEST
And edit
initSQLTEST file
HS_FDS_CONNECT_INFO = SQLTEST <DSN NAME>*
HS_FDS_TRACE_LEVEL = OFF*
save the file....@
4) Configure Listener.ora *(Machine 2)*
LISTENER_NEW =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.175)(PORT = 1525))
SID_LIST_LISTENER_NEW =
(SID_LIST =
(SID_DESC =
(SID_NAME = SQLTEST) *+< Here SQLTEST is DSN NAME >+*
(ORACLE_HOME = G:\oracle 10g\oracle\product\10.2.0\db_1)
(PROGRAM = hsodbc))
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = G:\oracle 10g\oracle\product\10.2.0\db_1)
(PROGRAM = extproc) )
:> lsnrctl start LISTENER_NEW
5) Configure tnsname.ora *(Machine 2)*
SQLTEST11 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.175)(PORT = 1525))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = SQLTEST))
(HS=OK)
:> tnsping SQLTEST11
If No errors then conti….
6) Configure a file *(Machine 1)*
Cd $TNS_ADMIN ($ORACLE_HOME/network/admin)
Create a file
$ vi TEST_abcdbt_ifile.ora
something=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST =192.168.0.175) (PORT=1525))
(CONNECT_DATA=
(SID=SQLTEST))
(HS=OK)
$ tnsping something
$ sqlplus system/manager
Your connected to Oracle database *(machine 1)*
create database link xyz connect to “sa” identified by “abc@123!” using ‘SOMETHING’;
select * from t@xyz;10 rows selected.
Thanks,
Edited by: ram5424 on Feb 10, 2010 7:24 PM -
How to create a link between database schema?
Hi,
I have created database link between two database schema (From DBSchema2 i have created database link for DBSchema1). From DBSchema2, i have quried one table (This table is present in DBSchema1). But it throws an error says that Table or View does not exist. Anyone pls tell the detailed way to create database link between schema??
Thanks,
Sathish kumar DYes iam trying to Archive
I said achieve not archive. Anyways so you are trying to archive the data. Can you just detail your requirement ? What exactly do you want ?
Only few tables will be moved to Archive Schema and other foriegn key tables will have a reference to the Live Schema. So how i can create the link between the Archive Schme to Live schema?
There is no question of creating database links between 2 schems. It is pure stupidity. If you want to access any object from another schema grant proper privileges and create a synonym for the object. Database links are not meant for this purpose.
Amardeep Sidhu
http://www.amardeepsidhu.com -
How to create a link between 2 cells in different spreadsheets?
when using numbers on MacBook Pro/IOS X - how to create a link between 2 cells in different spreadsheets?
In the cell where you want the duplicate data to appear from another sheet/table do the following:
type the equal sign ("=") then click the cell you in the sheet table while contents you want to appear in the cell where you just typed the equal sign"
it reads "The cell I click equals the result of the formula or the contents of the next cell I click" -
How to create database link from oracle to sql server
Please help with how to create database link from oracle to sql server
Best regards,
VishalPlease help with how to create database link from oracle to sql server
Best regards,
Vishal
Hi Vishal,
I found a lof of information regarding how to create a database link from Oracle to SQL Server, please see:
https://www.google.co.in/?gws_rd=cr&ei=vd3XUvGFO8TgkAXqlYCADg#q=how+to+create+database+link+from+oracle+to+sql+server
We discuss SQL Server related issue in this forum. If you have any more question regarding Oracle, please post it in Oracle communities forum for better support.
Regards,
Elvis Long
TechNet Community Support -
Hi all,
While trying to create a database link i am getting the following error:
Create Database Link Failed.
ORA-01031: insufficient privileges
Could you please tell me how to create a database link.
Thanks
GrishmaHi Grishma,
Login as DBA (SYSTEM or SYS for ex.) in SQL*Plus and run this command:
SELECT *
FROM dba_sys_privs
WHERE grantee = 'USERNAME'
AND PRIVILEGE = 'CREATE DATABASE LINK'
Change the USERNAME by the USER you're trying to create the database link from. (CAPITALS!)
Dimitri -
Hi,
We have two databases on two differenet servers and we want both of the databases to be synched and application is running only on one server.
Is it possible through DB links if yes then how.
If any better solution than DB links is there then pl tell.850520 wrote:
I think DATA GUARD is good from recovery point of view..but i want that my application will update one database & same data will be updated on 2nd DB automatically means application need not to update second database by querying it..
Is there anything like this.And what is the second database going to be USED for? Until we know that, we can only guess at the best solution, which in any event is probably NOT database links. -
How to create Doc Link between two document numbers?
Hi Folks,
I have two document numbers with different transaction type.
I want to create a Document link between these two documents, i.e. each documents should come in Dock Flow of each other.
How to acheive this target.
I tried to do it by using FM CRM_DOC_FLOW_MAINTAIN_OW, but not able to achieve it.
So please tell me how to do this thing.
Regards
PGHi PG,
The FM CRM_DOC_FLOW_MAINTAIN_OW should work , I am not sure what parameters you are passing. Any way you can use the CRM_ORDER_MAINTAIN as well which will eventually call CRM_DOC_FLOW_MAINTAIN_OW . Have a look of the sample code, This will give you some idea
lw_input_field_names-fieldname = 'GUID'.
INSERT lw_input_field_names INTO TABLE lt_input_field_names.
CLEAR lw_input_fields.
lw_input_fields-ref_kind = gc_object_kind-orderadm_h.
lw_input_fields-objectname = gc_object_name-orderadm_h.
lw_input_fields-ref_guid = lw_orderadm_h1-guid.
lw_input_fields-field_names = lt_input_field_names.
INSERT lw_input_fields INTO TABLE lt_input_fields.
lw_doc_link1-objkey_a = lw_orderadm_h-guid.
lw_doc_link1-brel_kind = gc_brel_kind-header_header.
lw_doc_link1-brel_mode = gc_mode-create.
lw_doc_link1-reltype = gc_bin_rel_type-predecessor_successor.
INSERT lw_doc_link1 INTO TABLE lt_doc_link1.
lw_doc_flow1-ref_guid = lw_orderadm_h1-guid.
lw_doc_flow1-ref_kind = gc_object_kind-orderadm_h.
lw_doc_flow1-doc_link = lt_doc_link1.
INSERT lw_doc_flow1 INTO TABLE lt_doc_flow1.
CLEAR lw_input_fields.
REFRESH lt_doc_link1.
lw_input_fields-ref_kind = gc_object_kind-orderadm_i.
lw_input_fields-objectname = gc_object_name-orderadm_i.
lw_input_fields-ref_guid = lw_orderadm_i1-guid.
lw_input_fields-field_names = lt_input_field_names.
INSERT lw_input_fields INTO TABLE lt_input_fields.
lw_doc_link1-objkey_a = lw_orderadm_i-guid.
lw_doc_link1-brel_kind = gc_brel_kind-item_item.
lw_doc_link1-brel_mode = gc_mode-create.
lw_doc_link1-reltype = gc_bin_rel_type-predecessor_successor.
INSERT lw_doc_link1 INTO TABLE lt_doc_link1.
lw_doc_flow1-ref_guid = lw_orderadm_i1-guid.
lw_doc_flow1-ref_kind = gc_object_kind-orderadm_i.
lw_doc_flow1-doc_link = lt_doc_link1.
INSERT lw_doc_flow1 INTO TABLE lt_doc_flow1.
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
CHANGING
ct_orderadm_h = lt_orderadm_h1
ct_input_fields = lt_input_fields
ct_doc_flow = lt_doc_flow1
EXCEPTIONS
error_occurred = 1
document_locked = 2
no_change_allowed = 3
no_authority = 4
OTHERS = 5.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
RAISE error_occurred .
ENDIF.
Hope this will help.
Thanks,
Vikash. -
Query Builder - How to create a link between tables with many fields?
I have many fields in my tables. When the query builder loads the tables, the tables are expanded to accomodate all the fields. Suppose I want to link Table A's Customer ID (the first field in Table A) wiith Table B's Customer ID (the last field in Table B). How can I do that if the last field in Table B are not visible in the screen?
Currently, I create a link in Table A's customer with a random field in Table B. Then I edit the link to create a proper condition. Is there a more efficient way to do this?
Thanks.
Edited by: woro2006 on Apr 19, 2011 9:40 AMHi woro2006 -
Easiest way is to grab Table A's title bar & drag Table A down the page until the columns you want to link are visible.
FYI, there is an outstanding bug
Bug 10215339: 30EA1: MISSING THE 2.1 RIGHT CLICK OPTIONS ON DATA FIELDS TO CREATE A LINK
to add a context menu on the field for this. That is, Link {context field} to > {other data sources} > {fields from that source}
It is being considered for 3.1, but I have no idea where it will end up in the priority queue.
Brian Jeffries
SQL Developer Team
P.S.: Arghh, Unfortunately, I just tried it and the diagram does not auto scroll while you drag, so there is some guess work/repositioning the view involved.
Logged Bug 12380154 - QUERY BUILDER DIAGRAM DOES NOT AUTO SCROLL WHEN DRAGGING TABLE -
How to create hypertext links between various text within a Pages document?
I have documents with paragraphs or sentences that are usually numbered like within a constitution, legal document or biblical text and then later in the document want to link back to the text. How do I create those links within Pages?
Not supported with Pages v5.5.2 on Yosemite. Document bookmarks are available in the older, but far more powerful Pages '09 v4.3.
-
How to create navigation link between windows?
Hi experts,
I have two windows under which there are several views. Now I want to make navigations (inbound/outbound plug) between these view which belong to their own windows. It seems that the navigation link can not be created directly on the navigation modeler. So how to reach that?
Thanks in advance!Hi,
Then its not possible.
Why not use a view container UI element and make this visible based on your requirement?
Regards
Ayyapparaj -
How to Create a link between SAP and extrnal web page?
Hi All,
Can anyone help me solve this requirement?
Is it possible that when I double-click on the document flow of a delivery document, it should direct me to an external web page (ie www.google.com).
Your reply would be greatly appreciated.
Thank you very much in advance.
Ranilo T. Castillo
ABAP ProgrammerHello Ranilo
The function module you are looking for is: <b>PRGN_START_EXECUTE_MODULE</b>
URL_TYPE = 'URL'
URL = 'http://www.google.com'
Regards
Uwe -
How to create DB Link??
How to create a database link?
Is it possible to create database link between oracle 7.0 and oracle 9i versions?
Please can anybody help.The Oracle documentation is an excellent place to look up the exact syntax for a SQL statement. The documentation for the CREATE DATABASE LINK statement is here
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_56a.htm#SQLRF01205
Oracle certifies database links between 7.3.4 and 9.0.1. Database links between 7.3.4 and later versions of Oracle are not certified, nor are database links between 9.0.1 and earlier versions of Oracle 7.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
hi guys.
I need help to create database link with this scenario
i want to create database link between database A ,database B i want to access something inside B i have problems with command and i need help to create database link .
also does i need owner on both database to create DBlink.
Regards.there is no scenario for creating database link except the prerequisite for having privlileges create database link for private link while for public is create public database link.
You can create database link in database A for the database B using its string and its username and password
Khurram
Maybe you are looking for
-
How can I make my Mac read email aloud?
I cannot find that function. I was looking at voiceover thread but all the posts are about problem using it not how to use it.
-
I cannot add a new pop email account in my "iphone 6"
I cannot add a new pop email account in my iphone, when i confirmed "saving account" it is automatically being closed and kick-out me from? It is iPhone 6 and the system is iOS 8.1 I am going to select "Others" and then my user name, password and "ne
-
How do I get Video from vhs tape into Imavie HD?
I am trying to back up some of my home movies from VHS tape to DVD. Is it possible to connect my vhs player to my mac? What kind of equipment do I need to do this inexpensively. Richard
-
Hello, I'd like to max out the RAM on my now 3-yr old iMac. I'm having trouble trying to discern what is the right RAM to buy. The sales guy at one store said I can actually add up to 1GB RAM to my machine, and that apparently, the RAM used is in thi
-
How to get a jdk for kvm ?
and how can i get my own-developped class putted_in a pda ? marvinrouge