Want to know oracle grant create database link example? we have a huge selection of oracle grant create database link example information on alibabacloud.com
1. View DblinkSELECT owner,object_name from dba_objects WHERE object_type= ' DATABASE LINK ';OrSELECT * from Dba_db_links; 2. Create Dblink Prerequisites:The user who created the Dblink has the corresponding database permissions. Create public or
server where the cube is created.
2. The tnsnames configuration name of the tnsping remote database.
3. Execute the following command after logging on to sqlplus:
SQL> create database link dblinktest connect to user identified by passwd using 'ceshi ';Where:
Dblinktest is the name of
Two methods for creating Database Link in Oracle are described in detail.
Create A dblink named dblink_name, which is connected from database A to database B. Database B has the IP addr
)(Sid_name = MSSQL)(Program = tg4msql)))******************************
4. Configure tnsnames. ora in the Network \ ADMIN directory of the Oracle main directory. In my example:******************************MSSQL =(Description =(Address = (Protocol = TCP) (host = 192.168.1.180) (Port = 1521 ))(CONNECT_DATA = (SID = MSSQL ))(HS = MSSQL))******************************
5. Restart listener.
6. Use sqlplus to
Database link details
By creating database links between databases, you can easily perform DML operations on the data of a user in a remote database, but cannot perform DDL operations,
Two Methods of database link:
Public
Defining a public Database link:exampleThe following statement defines a shared public database link named remote this refers to the database specified by the SE Rvice Name Remote:CREATE public DATABASE LINK remote USING ' remote
If the database connection is not established in the local Tnsnames.ora, then 1 is used, otherwise 21:create Database Link Geelyin96Connect to Geelyin identified by GeelyinpasswordUsing ' (DESCRIPTION =(Address_list =(ADDRESS = (PROTOCOL = TCP) (HOST = 10.86.1.96) (PORT = 1521)))(Connect_data =(service_name = appdb)))‘
. Net to access the Oracle database link: ORA-02041: client database did not begin a transaction problem. . Net to access the Oracle database link: ORA-02041: client
oracle.manageddataaccess dependency package in the Winrun2.web and automatically generate the Oracle configuration information in config)Iii. Creating an Oracle database schema1, first to ensure that the local client can link to the Oracle DB Server, with DBA authority acco
In ORACLE, remote data access, such as query and update, can be achieved through DatabaseLink. The database connection needs to be run on both databases that have created DatabaseLink.
In ORACLE, remote data access, such as query and update, can be achieved through Database Link
Role: Logically treat multiple Oracle databases as a single database, meaning that objects in another database can be manipulated in one databaseSimple syntax:CREATE [public] The DATABASE LINK dblink CONNECT to the user identified by password USING ' connect_string '; DROP [
"Complete" for full installation.Step 3: Connect to the MySQL database1. Open MySQL workbrench, click "Database", "Manage Connections ...".2. Click "New" to enter a recognizable name and the connection information obtained in step 1.3. Click "Store in Vault ..." to enter the corresponding password for the database user.4. Click "Test Connection" to see if your connection information is available and the fo
[One of Oracle XE series] install Oracle XE11gR2 X64 database in Windows10_X64 environment, and create database in oraclexe
I. Installation
1. Go to the Oracle official website to download the XE installation package [Download pat
Create an oracle database, user, tablespace, role permission setting script, and oracle Database/* Divided into four steps *//* Step 2: create a temporary tablespace */Create temporary
Scenario: Create a table space in Oracle, assuming the space name is tbsp_1, the file location is d:\app\administrator\oradata\orcl/, and the space size is 10M.
Steps:
To create SQL:CREATE tablespace tbsp_1 datafile ' e:/oracle/product/10.2.0/tablespaces/weblogic.dbf ' SIZE 10M;
However, the following error message app
One menu way:Open Plsql, click "File"-"New"-"Database link" to open the window as shownAfter filling out the information, click "Apply" to complete the creation of the database link. Two-SQL mode-- Drop Existing Database link Dro
The following articles mainly introduce the actual operation steps of the distributed Oracle database link and the description of what I should pay attention to during actual operations, if you are interested in the actual operations, you can click to view the following articles.
Access Method:
select*fromMyTableSpace.MyTable@MyDB
1.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.