Can I link to database through Oracle XE?
Hi allWe need to give access to an external application to run the stored procedure in our production database (Server-3).
The external application is in the Server-1.
For security reasons, for not giving a direct access to our database of production, we provide an additional server (Server 2) who have Oracle XE.
The stored procedure will be created in this Oracle XE, which in turn access the tables from Server-3 via data link.
Server-1 cannot access Server-2. In this way we isolate Server-3 external.
TGE database link runs on Oracle XE?
Thank you for your help,
xtanto
xtanto wrote:
Hi allWe need to give access to an external application to run the stored procedure in our production database (Server-3).
The external application is in the Server-1.
For security reasons, for not giving a direct access to our database of production, we provide an additional server (Server 2) who have Oracle XE.
The stored procedure will be created in this Oracle XE, which in turn access the tables from Server-3 via data link.
Server-1 cannot access Server-2. In this way we isolate Server-3 external.
TGE database link runs on Oracle XE?
Thank you for your help,
xtanto
So to summarize, you're trying to allow an application to access a database and at the same time try to avoid the application to access the database? What bad thing is supposed to happen if the application does not have to move to a completely superfluous level?
Tags: Database
Similar Questions
-
Drop the link of database in oracle 11g
I created a schema with the name of sapsmc which has all the privileges, then I created 1 link of database. Now, I want to drop this database link, but I can't able to drop this error.
«SQL error: ORA-00604: error occurred at recursive SQL level 1 ORA-20101: Sorry, can't remove any object without the permission of live database SAPGateWay.» ORA-06512: at the level of the 5 00604 line. 00000 - 'error occurred at recursive SQL level %s' * Cause: an error occurred during the processing of a recursive SQL statement (a statement applicable to the internal dictionary tables). * Action: If the situation described in the next error on the stack can be corrected, do so; otherwise contact Oracle Support.
Then I tried to delete the user SYS, while doing this that I got below error.
SQL error: ORA-02024: database not found link 02024. 00000 - "database link not found" * Cause: database to remove link is not found in the dictionary * Action: correct the name of the database link
Please help me I appreciate your efforts.
ORA-20101: Sorry, can't remove any object without the permission of live database SAPGateWay.
There is not much we can do about it.
It is an exception defined by the user, probably from a FRONT DROP trigger defined at the level of the database, which prevents people from dropping objects.
Contact, one who is responsible (DBA?) about how to proceed.
-
Oracle database can interact with sysbase database in real time?
There are two database, it is oracle, one is sysbase, sysbase is the database of products. My program only can consult the oracle database and cannot visit sysbase database directly. My question is whether there is a direct connection to oracle, sysbase herbal database, when I visit oracle, oracle database can interact with sysbase database through this link in real time? How to make above function? Please give plan for her.
Thanks in advance!
Best regards
EdwardYes it is. You must create a heterogeneous connection between these two databases
Take a look at the links below:http://www.DBA-Oracle.com/t_heterogeneous_database_connections_sql_server.htm
http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:13401716754850
http://download-West.Oracle.com/docs/CD/B10501_01/server.920/a96571/repmultdemo.htm -
How to create the new database in oracle 11g
Hello
I m new in oracle 11g, I downloaded oracle 11g and with the help of the guide of the developer-2 days, I learned all the SQL queries, but I worked with human resources database.
Now, I want to create my own database with the required tables. Can anyone help me how I can make my own database in oracle 11g.
Thank you
Manna870692 wrote:
Hello
I m new in oracle 11g, I downloaded oracle 11g and with the help of the guide of the developer-2 days, I learned all the SQL queries, but I worked with human resources database.
Now, I want to create my own database with the required tables. Can anyone help me how I can make my own database in oracle 11g.Thank you
MannaBe sure to distinguish between the terms and the database schema. Other products, make them bad. It would be a HR diagram (or a user, which is the same in Oracle). If you do not need to use the database Wizard, unless you are working with a new host with no database.
A simple way would be to get the DDL to create the HR schema and modify it for your own. It can be extracted from your database in several ways, or you can copy the hr_cre.sql to your own script and change. The two ways are educational, and you can google for instructions.
-
Hello.
I read a lot of discussion and documentation on this subject, but the things I'm trying to work.
I want to connect from Oracle to SQL Server. I did the following steps:
(Taking into account, that I want to connect to a database SQL SERVER called GS2PIASQL03\INSTANCE3)
Create the odbc connection in the oracle called running GS2PIASQL03 Server
Name: GS2PIASQL03
Description: GS2PIASQL03
Server: GS2PIASQL03\INSTANCE3
With authentication sql server using a login ID and passwotrd entered by the user
Connect to sql server to obtain default settings for the configuration option extra
User: rema_read
Password: xxxxxxx
Master default database
Use ANSI quoted identifiers
Use nulls, padding and ANSI warnings
Perform the conversion of character data
Finishing and test the source data before TESTS COMPLETED successfully.
Content of LISTENER.ora
listener.ora # Network Configuration file: S:\app\oracle\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = S:\app\oracle\product\11.2.0\dbhome_1)
(= Extproc PROGRAM)
(ENVS = "EXTPROC_DLLS=ONLY:S:\app\oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
(SID_DESC =
(SID_NAME = CRM)
(ORACLE_HOME = S:\app\oracle\product\11.2.0\tg_1)
(PROGRAM = S:\app\oracle\product\11.2.0\tg_1\bin\dg4odbc.exe)
)
(SID_DESC =
(SID_NAME = CRMSVC)
(ORACLE_HOME = S:\app\oracle\product\11.2.0\tg_1)
(PROGRAM = dg4odbc)
)
(SID_DESC =
(GLOBAL_DBNAME = REMA)
(ORACLE_HOME=S:\app\oracle\product\11.2.0\dbhome_1)
(SID_NAME = REMA)
))
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = SLPIAM29)(PORT = 1521))
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1521))
)
)ADR_BASE_LISTENER = S:\app\oracle
Content of the TNSNAMES file. ORA
tnsnames.ora # Network Configuration file: s:\app\oracle\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
GS2PIASQL03 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = tcp)
(HOST = 172.16.61.18)
(PORT = 1521)
)
(CONNECT_DATA = (SID = GS2PIASQL03))
(HS = OK)
)Content of initGS2PIASQL03.ora
HS_FDS_CONNECT_INFO = GS2PIASQL03
#HS_FDS_SHAREABLE_NAME = C:\Windows\System32\odbc32.dll
HS_FDS_TRACE_LEVEL = Debug
Stop and start receiving and then create a database link running the following command in Toad:
CREATE THE DATABASE LINK TEST_SQLS PUBLIC
To CONNECT to "read_rema".
IDENTIFIED BY 'password '.
WITH THE HELP OF 'GS2PIASQL03 '.
/
When I test the link of database (with the option of Toad) or run a query such as:
Select * of sys.sysobjects@TEST_SQLS;
I get the same error
*********************************************************************
Link: "TEST_SQLS".
Error: ORA-28545: error diagnosed by Net8 when connecting to an agent
Cannot retrieve the text of the message NETWORK/NCR 65535
ORA-02063: preceding 2 lines of TEST_SQLS
*********************************************************************
Please I really need your help I really really need this to work and I'm completely lost know.
I look forward to hearing from you soon.
Vinny.
Hey Vinny,
No, the host tnsnames.ora must not refer to the place where the SQL * Server database is active. The tnsnames.ora entries is intended to guide the user who calls the database link by using this entry to a listener running on the computer and the port in the entry. The listener then directs the user to everything that is referenced by the SID in the listener. If it is an Oracle database, then you are linked to the database. If this is an entry of gateway referenced by having the (HS = OK) then you are linked to the gateway which then liaises with what non-Oracle database is accessible through the gateway of the option. You cannot directly connect to the non-Oracle database by using the IP address of machine non-Oracle in tnsnames.ora. You need to go through the door entry referenced by the listener to establish the connection.
For the listener, you can set the path to the ORACLE_HOME of the gateway or RDBMS. However, the best option is to give the listener a different name from the default, so for the gateway, you might have-
SID_LIST_LISTENER_GTW =
(SID_LIST =
(SID_DESC =
(SID_NAME = GS2PIASQL03)
(ORACLE_HOME=S:\app\oracle\product\11.2.0\tg_1)
(PROGRAM = dg4odbc)
)
)
LISTENER_GTW =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = SLPIAM29)(PORT = 1525))
(ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1525))
)
)
You can then use-
stop LISTENER_GTW
Start LISTENER_GTW
Kind regards
Mike
-
ORA-20002: you can't create links from database
HI Experts,
Creating database link, I get the error below. Anyone of you could please have some light on this error. I googled for this error and did not get any update.
Oracle version: 11.2.0.3
The user with whom I created this link of database DBA privilege.
SQL > create database link temp_LINK connect to account identified by * using "(DESCRIPTION = (ADRESSE = (COMMUNUITY=tcp.world) (PROTOCOL = TCP)(Host=myself.us.lev.com) (Port = 1525)) (CONNECT_DATA = (SID = LNDB1DB)))'; "
create database link temp_LINK connect to account identified by * using "(DESCRIPTION = (ADRESSE = (COMMUNUITY=tcp.world) (PROTOCOL = TCP)(Host=myself.us.lev.com) (Port = 1525)) (CONNECT_DATA = (SID = LNDB1DB)))'; "
*
ERROR at line 1:
ORA-00604: error occurred at the SQL level 1 recursive
ORA-20002: you can't create links from database
ORA-06512: at line 4Thank you..
Well Yes, this request confirmed suspicion of SB.
The datadictionary is your friend
-
Authentication of database through the database link
Is it posible to use database authentication in the APEX by link of database and how?
Also is it posible to reading user roles through the database link?
Database links to establish the connection, so you lose the context regarding which is recorded in a single user.
Custom authentication can do some PL/SQL you need, but I would say that replicate your tables locally through something as materialized views.
You could also potentially be used dba_role_privs, but do not forget roles can be turned on/off.
-
Link to database for MySQL with Oracle Express
Hello Oracle Community,
I made a post on this topic already in the section general, but here is the best place for my question. My goal is to access a mysql to oracle server. Some info about my system and what I've done so far:
Windows Vista 64-bit
Oracle Express 10.2
-installed 32-bit DNS ODBC driver for the database mysql, tested and it succeeded, the name is CHANCE
-created a new file in the folder admin/hs initLuck.ora, prameters are: HS_FDS_CONNECT_INFO = CHANCE HS_FDS_TRACE_LEVEL = OFF
-new section in the listener.ora: (SID_DESC = (SID_NAME = CHANCE) (ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server) (PROGRAM = hsodbc))
-new section in my tnsnames.ora: CHANCE = (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = GOGAPC01001)(PORT = 1521)) (CONNECT_DATA = (SID = CHANCE)) (HS = OK))
-inexplicable the listener
-Do a bit of luck, success of tnsping
-created a link of database: CREATE DATABASE LINK LUCK24 CONNECT TO 'user' IDENTIFIED BY 'password' USING 'LUCK24 ';
-tried to do a simple select statement: SELECT COUNT (*) FROM customers@LUCK;
and there I get an error message:
ORA-28500: connection between ORACLE and a non-Oracle system has sent this message:
[Generic connectivity using ODBC] [Microsoft] [ODBC driver manager] Der Datenquellenname wurde nicht found, und're wurde kein Standardtreiber angegeben (SQL State: IM002;) SQL Code: 0)
ORA-02063: preceding 2 lines of LUCK24
can anyone help?
IkrischerIkrischer,
On which platform do you have installed the drivers 32 bit and HSODBC? He was on a Windows 32-bit platform? It is not supported to run the 32-bit software on a Windows 64-bit platform.
There were some problems with versions 10.2.0.3 and earlier that are similar to those you typo - problems with bigint and select count. These are laid down in the 10.2.0.4 group of patches, so you should apply to your ORACLE_HOME 10.2 directories and see if the problem still occurs.
However, as already said HSODBC 10.2 is now desupported you need to find to install 11.1.0.6 DG4ODBC and then apply the 11.1.0.7 patch group which also solves the problem.
If you have access to My Oracle Support then see this note.Select columns MySQL Bigint use HSODBC returns an incorrect value when you use ODBC MySQL Connector (Doc ID 401086.1)
Kind regards
Mike -
Execution of the SQL query through 2 different databases to Oracle
Hi all
In Microsoft SQL server, we can run on 2 different databases depending on the type of SQL query:
Select * from TEST1.dbo.GENERIC_TABLE1 union select * from TEST2.dbo.GENERIC_TABLE2;
Test1 and TEST2 here is 2 different databases.
Can we do the same in Oracle?Of course you can do it.
Create a [database join | http://www.stanford.edu/dept/itss/docs/oracle/10g/server.101/b10759/statements_5005.htm] from DB1 to DB2.Grant select on the tables of the DB2 schema with which you want to connect.
And then, you can you can query as
select * from DB1schema.emp union select * from emp@dblink_name;
-
Can one another user that the oracle upgrade the database?
Hi, can one user other than the oracle upgrade or install patches on oracle?Off course sudo privilege allows any pleasant user not with the system. This is why I said, only the owner.
-
Give advice about uninstalling the database Client Oracle under Windows with multiple Oracle homes
Hi all.
Probably a Client of Oracle database uninstall will arrive in a Windows box, where there are several houses of Oracle:
(1) the Oracle Database 11 g Client is.
(2) the House of Oracle Oracle database server.
(3) oracle 6i Oracle Home.
I have these concerns:
(1) do I stop Oracle Services NOT related to the Oracle Home being deleted? I guess that's not necessary, but it is recommended?
(2) the YES program to run must be or is better to use the YES program located at removed Oracle (Oracle Client to Database 11 g in this situation)?
"(3) I see there are additional post - installation according to section 5.3 steps"manually remove the Oracle database Client components remaining' the Oracle Client Installation Guide for Windows.
Could someone provide the additional steps or recommendations?
Sorry but I do not trust the windows plataform much!
Thanks in advance!
Best regards, Luis!
Hello myluism,
You can use the oracle supplied binary dinstall to uninstall oracle binaries that you can download from this url of Oracle Database 11 g Release 2 for Microsoft Windows (x 64) that looks good in your context.
In addition, you can also uninstall the binary files by running the dinstall respecitive houses Oracle located in the path: ORACLE_HOME\dinstall.
Please go through the url: https://docs.oracle.com/cd/E11882_01/install.112/e47959/deinstall.htm#NTCLI1326
I hope this helps.
Thank you and best regards.
-
Link to database not be created using a stored procedure
Hello
I am creating a link of database using a stored procedure.
Here is the code for it
CREATE OR REPLACE PROCEDURE create_db_link (ca_db_name IN VARCHAR2,
ca_service_name IN VARCHAR2)
AUTHID CURRENT_USER IS
BEGIN
EXECUTE IMMEDIATE ' create public database link test_db_link connect to ca_db_name identified by ca_db_name using "ca_service_name" ';
END create_db_link;
During execution of the code is created the db_link. But, when I ask all_db_links I get the following result.
OWNER
------------------------------
DB_LINK
--------------------------------------------------------------------------------
USERNAME
------------------------------
HOST
--------------------------------------------------------------------------------
CREATED
---------
PUBLIC
TEST_DB_LINK. WORLD
CA_DB_NAME
ca_service_name
20 Aug 13
Could you please help me understand why it shows the parameter names in the name column of the USER and the HOST instead of the name of the database and the name of the service?
This is to show exactly what you said to do.
Did you expect that Oracle would read as if by magic through your string you passed to run immediately and magically know to replace all occurrences of the string that correspond to local (or even global) parameter/variable names with the values of these variables? It does not work like that. You could concatenate the values into the string.
for example
EXECUTE IMMEDIATE ' create public database link test_db_link connect to ' | ca_db_name |' identified by ' | ca_db_name: ' using the "' | ca_service_name | " ' ;
But why are create you database links running? Shouldn't this be part of the design of your application and the initial fact before the application runs?
-
Yes, V$ REDO_DEST_RESP_HISTOGRAM is a new view in Oracle 11 g. It can be selected in the primary database.
I can't set it from the Oracle documents. Other items, he knows that's the contact with "NET_TIMEOUT".
Can you give me some examples of tell me how to use V$ REDO_DEST_RESP_HISTOGRAM?
Thank you for the U.Lonion wrote:
How to grant NET_TIMEOUT according to V$ REDO_DEST_RESP_HISTOGRAM?I think that you did not follow the link mentioned completely.
>
Run the following query on a source of redo data to display the histogram of response time for destination 2:SQL > SELECT FREQUENCY, DURATION OF
2 > V$ REDO_DEST_RESP_HISTOGRAM WHERE DEST_ID = 2 AND FREQUENCY > 1;Run the following query on a database of source of redo to see slower response time to destination 2:
SQL > SELECT max (DURATION) OF V$ REDO_DEST_RESP_HISTOGRAM
2 > WHERE DEST_ID = 2 AND FREQUENCY > 1;Run the following query on a source of redo data to display the response time faster for destination 2:
SQL > SELECT min (DURATION) OF V$ REDO_DEST_RESP_HISTOGRAM
2 > WHERE DEST_ID = 2 AND FREQUENCY > 1;Note:
The highest observed reaction time for a destination may not exceed the highest specified NET_TIMEOUT value specified for this destination, because synchronous transport mode sessions again are complete if a redo transport destination does not respond to a message from transport to redo a few seconds NET_TIMEOUT. -
application for registration without database through MobileAdf
Dear all,
We are developing an application without database through MobileAdf.
I don't have to provide a database in this application.
I'm not able to find a tutorial for it.
Please suggest a link for this tutorial.
Thanks in advance.If we are talking about the ADF Mobile Browser, then similar to regular ADF, the app can be supported by a variety of non DB back ends.
If we talk about ADF Mobile Client (I suppose that this is the case), then the tech preview version only supports based on DB - app. However, in the production version that will be published soon, the app can also be supported through Web Services (via WS Data Control) to access SOAP-based web services. Alternatively, you can write custom code to access resources local/no DB if necessary - for example if you have local XML data you need to access. For example, you can write a managed bean to access this source of XML data.
What is the use case, incidentally?
Thank you
Joe Huang
-
Link to database compiling no patch of 6i form 17
Hi researchers.
Recently, I have urgraded my form 45 oracle form 6i and everything went well except the database to Oracle 10 g Server link.
The 6i shape is connected to oracle 8i database and work too thin... Database link to 10g 45 form worked well.
After the upgrade, it is not able to establish the link to database, it displays the error ORA-04054 link of database does not exist.
SQL, all works very well.
My procedure looks as follows: -.
DJV_TYPE MASTER_JOURNAL@AMWAL_DATA. MJ_TYPE % TYPE: = 1;
DMJ_DOCNO MASTER_JOURNAL@AMWAL_DATA. TYPE % MJ_DOCNO;
CURSOR GET_DOC_NO IS
SELECT NVL (MAX (MJ_DOCNO), 0) + 1 MASTER_JOURNAL@AMWAL_DATA
WHERE MJ_TYPE = 1;
Please, can someone help me to the topic of this...user7390263 wrote:
Hi BaileyThank you very much. Views has solved my problem.
If the answers are useful or correct please mark
May I know one thing, how do I print barcodes in reports 6i?
A it doesn't matter what available for this font. A few years ago I used UPCEAN6. Font TTF
for the printing of barcodes in report 2.5. But this font does not well in the report 6i.
It's just the right impression but don't not scanning by any scanner.
So can you tell me otherwise for this or any new fonts available for this?This question in another thread, I think you have already done
Maybe you are looking for
-
Open indicator point rest under Safari, after closing of
So, I just got a MacBook Pro Friday, and I was in love. I've never owned a Mac before, but I seem to have a small problem which is a bit annoying. Whenever I shut Safari through the upper left red 'x' button, the open light is still showing on the
-
Satellite A210 - 158 PSAFGE recovery disk
I bought my laptop a year ago. In the first week, I want to make a backup copy of my recovery disk.But I could not because he gave me a read error.I went back to the shop where I bought explaining recovery disk is not functional.They changed my drive
-
Hi, I have scanned a document that my computer saved in Abdo reader, but I need to modify this document before the end. Please help because I have only a few hours.
-
Am sure that if you are 'with it' my question seem you stupid. I know that to eject ixpand main PC pressing on eject safely... How can I remove ixpand of iPad safely? I look everywhere and impossible to find all the instructions... I have just come o
-
After that your bar has been signed
Hey,. So I set my bar of file in the 'bin' folder and double signed signature in two steps 1 and 2 gave me 'signed bar' confirmation message. only thing is, when I look at the folder bar that I had copied in the 'bin' folder, there still a "change ti