Spatial coordinates and spatial database
does anybody know how to record spatial coordinates in the oracle database express edition and how to add the map viewer extensions to express edition
The Oracle feature you want to use is Oracle Locator - it is a cut down version of the full Spatial feature which is an added cost add-in to the Enterprise Edition.
As a first step read the Express documents - look for Locator in the master index - it will point you to the 2 day Locator developer book for Express.
So much for database side of things.
Mapviewer is a 10g Application Server tool - I am not expert in this but I think you do need 10gAS in the stack to serve up maps even if the data is hosted on XE
Another option to consider is the use of technologies such as Google Maps to serve the mapping overlayed with your data - examples exist on OTN to give a start
Similar Messages
-
Can we load generic binary image in Oracle spatial database
hi i am new to this topic. so kindly help me out.
can we store generic binary image in Oracle 10g spatial database?
generic i mean there is no header information.hi everybody,
thanks in advance. i am in little bit confusion. actually i am new to oracle 10g spatial db concept and image processing. i have to decide whether to store DEM & ORTHO image in Oracle 10g spatial database. or using BLOB to store these images. i have to design physical as well as logical database to store both above mentioned images.
i don't have much knowledge about DEM & ORTHO image.
i don't know what to do. even though i have started some of the Oracle 10g spatial concepts. i would like to know can i also use oracle intermedia for storing these images (ORTHO & DEM images).
looking for help
thanks
Ajay -
Hi
I installed Oracle 9i spatial database for Windows XP in C: driver. I wonder if Oracle 9i Spatial could be removed to E: driver. If not, how to delete Oracle 9i database.
Cheers, HelenIdentifying where the datafiles are:
C:\Documents and Settings\pdsigeplab>SET ORACLE_SID=TEST
C:\Documents and Settings\pdsigeplab>sqlplus /nolog
SQL*Plus: Release 9.2.0.1.0 - Production on Fri Jun 4 14:57:16 2004
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
SQL> conn sys as sysdba
Enter password:
Connected.
SQL>
SQL> desc dba_data_files
Name Null? Type
FILE_NAME VARCHAR2(513)
FILE_ID NUMBER
TABLESPACE_NAME VARCHAR2(30)
BYTES NUMBER
BLOCKS NUMBER
STATUS VARCHAR2(9)
RELATIVE_FNO NUMBER
AUTOEXTENSIBLE VARCHAR2(3)
MAXBYTES NUMBER
MAXBLOCKS NUMBER
INCREMENT_BY NUMBER
USER_BYTES NUMBER
USER_BLOCKS NUMBER
SQL> select file_name from dba_data_files;
FILE_NAME
C:\ORACLE\ORADATA\TEST\SYSTEM01.DBF
C:\ORACLE\ORADATA\TEST\UNDOTBS01.DBF
C:\ORACLE\ORADATA\TEST\INDX01.DBF
C:\ORACLE\ORADATA\TEST\TOOLS01.DBF
C:\ORACLE\ORADATA\TEST\USERS01.DBF
C:\ORACLE\ORADATA\TEST\XDB01.DBF
6 rows selected.
SQL>Joel Pérez
http://otn.oracle.com/experts -
Dear Sir,
I am planning to Design Spatial Database. can any one tell me which tool supports the spatial objects.
plz give me immediate reply
Thanks
KabeerFolks,
Most CASE tools allow for UDTs to be entered but don't do anything with
them - bit like "pass through" queries in Access!
The only 2 I know of that try and model Spatial data and topological
relationships between tables are Blueprint (free download from
www.geometryit.com) and Perceptory (requires Visio) from ULaval in Canada.
The Blueprint tool is very flexible but does not model the data type directly
(you are effectively limited to one spatial type per table). The product is
no longer under active development (because of the lack of people who
feel they need such a thing). I have asked the owners to make it open source
but they have only moved to a free download of the unsupported product.
However, Blueprint's power is in its scripting language. I have a bunch of scripts that will generate oracle spatial DDL, Trimble Data Dictionaries and other spatial
products from the model that I am willing to share.
S. -
Hi everyone,
I have been working in Oracle world about 9 months, and now I am supposed to learn Oracle spatial database, and be a team member for spatial dw project. I searched it on google, but I also want to ask you about the starting point.
Can you help me please.
Regards,
DilekHi,
1. you need to read books about Oracle Spatial.
2. Take Oracle Spatial Course (instructor-led).
3. start hands on work and implementation.
4. if you have a senior team member who have extensive knowledge in Oracle Spatial ....ask him to be your "mentor".
5. you need to have PL/SQL skills, if you don't have it then start learning it.
Hope This General Tips Helps.
Regards, -
i want to know good trip and tricks to design the oracle spatial database. actually i want a good performance of my database.
so plz guide me.Folks,
Most CASE tools allow for UDTs to be entered but don't do anything with
them - bit like "pass through" queries in Access!
The only 2 I know of that try and model Spatial data and topological
relationships between tables are Blueprint (free download from
www.geometryit.com) and Perceptory (requires Visio) from ULaval in Canada.
The Blueprint tool is very flexible but does not model the data type directly
(you are effectively limited to one spatial type per table). The product is
no longer under active development (because of the lack of people who
feel they need such a thing). I have asked the owners to make it open source
but they have only moved to a free download of the unsupported product.
However, Blueprint's power is in its scripting language. I have a bunch of scripts that will generate oracle spatial DDL, Trimble Data Dictionaries and other spatial
products from the model that I am willing to share.
S. -
Mining spatial database.
Hi,
I am using ODM 10g with Oracle 10g Database EE. I am using ODM for my thesis. I am wondering is there anyone try to use ODM with Association Rule to mine Spatial database? If yes, could you please share your experience?
Any piece of information will be appreciated.
Thank you very much.
Kind Regards,
Usman Tjiudri.Usman,
Oracle Spatial and ODM had several case studies
to mine using spatial estimates/aggregates.
Specifically, we looked at how spatial estimates
improve the accuracy of classification using abn, and
the rmse in svm regression. We had very good results
using spatial information. We expect spatial
estimates to be useful when the tgt is likely to
be correlated in "location", e.g. crimerates,
real estate values etc. Note that we
have not tried association rules in this study.
Would be interesting to know your experience.
ODM group may have a link to this case study
somewhere. Otherwise, please post your email address
and we will be happy to send you more information.
- Ravi Kothuri. -
hello
i want integration spatial database.
both of databases is desigen by oracle.
i havent any guide line for integration spatial database .
please every body have applicable and useful guid line for example book and article introduce to me.
my work is nonsemantic.Hi
There is an Oracle Incremental Update IKM for spatial support in ODI that takes into account tables with spatial types and supports the incremental update pattern.
Cheers
David -
Regarding working with oracle spatial database connections
sir/madem,
i am an engg student, my final year project on inserting data into oracle spatial database through java /jsp , i am working with oracle spatial database 10g/11g,
i want know how to insert/retrive/ manuplute the spatial data into oracle spatial databse for 10g/11g, through java programing,
the syntax for connection of oracle spatial database 10g/11g, needed,
i have less time to finish my project
i hope u help me
thank u
kasim
([[email protected]|mailto:[email protected]])For database access from Java, you will use JDBC.
For the specifics of the oracle spatial database, you'll have to check the documentation/forum of Oracle.
* [How To Ask Questions The Smart Way|http://www.catb.org/~esr/faqs/smart-questions.html]
* [JDBC Tutorial|http://java.sun.com/docs/books/tutorial/jdbc/index.html] -
Regarding working oracle spatial database programing
sir/madem,
i am an engg student, my final year project on inserting data into oracle spatial database through java /jsp , i am working with oracle spatial database 10g/11g,
i want know how to insert/retrive/ manuplute the spatial data into oracle spatial databse for 10g/11g, through java programing,
the syntax for connection of oracle spatial database 10g/11g, needed,
i have less time to finish my project
i hope u help me
thank u
kasim
([email protected])For database access from Java, you will use JDBC.
For the specifics of the oracle spatial database, you'll have to check the documentation/forum of Oracle.
* [How To Ask Questions The Smart Way|http://www.catb.org/~esr/faqs/smart-questions.html]
* [JDBC Tutorial|http://java.sun.com/docs/books/tutorial/jdbc/index.html] -
Spatial database model design guidelines?
Are there public guidelines on how to design a Spatial Database
Model?
i.e.
- is it better to have one table of geometries (elements) or is
it better to have many?
- is it better to store structured data (alphanumeric) in the
same table with spatial data or is it better to reference them
with foreign keys?
- etc
I guess all I need is some kind of methodology for building a
spatial model. Is there anything like this available?
RegardsHi Pablo,
From a database design perspective, spatial data should be
modeled in the same way other data is modeled. For instance, if
you have river data that has 1 row in a database for every river,
then you might add another column in the same table stored with
the other information about the river that includes the location
information about the river. The same would be true of other
information. For instance, if you wanted to store the location
of all of the customers in your customers table, it is simple
another column in the customers table.
<< - is it better to have one table of geometries (elements) or
is it better to have many? >>
So geometries are just column information like other column
information that you store in a table. There shouldn't be
separate tables that hold only geometry information.
<< - is it better to store structured data (alphanumeric) in the
same table with spatial data or is it better to reference them
with foreign keys? >>
Treat spatial data the same way from a design standpoint as other
data.
Hope this helps.
Dan -
Log on to remote server and start database -error while installing CI in HA
Hello All,
We are installing ECC 6.0 with High Availability using HP-UX. We have completed installation in ASCS and Database Instance. Now when were trying to install in Central Instance, we encountered an error at Start Instance which informed us to Log on to remote server and start database. However the database is already running in DB node. Please find the log below.
TRACE 2011-06-10 16:31:45.825 [syuxctask.cpp:1382]
CSyTaskImpl::start(bool)
A child process has been started. Pid = 25742
INFO 2011-06-10 16:31:45.835
CJSlibModule::writeInfo_impl()
Output of /usr/sap/PE2/SYS/exe/run/startsap all DVEBMGS01 DBMCI001 is written to the logfile start_PE2_DVEBMGS01.log.
WARNING 2011-06-10 16:31:46.345
CJSlibModule::writeWarning_impl()
Execution of the command "/usr/sap/PE2/SYS/exe/run/startsap all DVEBMGS01 DBMCI001" finished with return code 6. Output:
Database PE2 must be started on remote server
Log on to remote server and start database
WARNING[E] 2011-06-10 16:31:46.355
CJSlibModule::writeError_impl()
CJS-20022 Could not start instance 'DVEBMGS01' of SAP system PE2.
TRACE 2011-06-10 16:31:46.355 [iaxxejsbas.hpp:408]
handleException<ESAPinstJSError>()
Converting exception into JS Exception EJSException.
TRACE 2011-06-10 16:31:46.355
Function setMessageIdOfExceptionMessage: ind-rel.ind-os.ind-db.webas.startInstanceFailed
WARNING[E] 2011-06-10 16:31:46.355
CJSlibModule::writeError_impl()
CJS-20022 Could not start instance 'DVEBMGS01' of SAP system PE2.
TRACE 2011-06-10 16:31:46.355 [iaxxejsbas.hpp:483]
EJS_Base::dispatchFunctionCall()
JS Callback has thrown unknown exception. Rethrowing.
TRACE 2011-06-10 16:31:46.405 [syuxctask.cpp:1382]
CSyTaskImpl::start(bool)
A child process has been started. Pid = 25793
ERROR 2011-06-10 16:31:46.525 [sixxcstepexecute.cpp:950]
FCO-00011 The step start with step key |NW_ABAP_CI|ind|ind|ind|ind|0|0|NW_CI_Instance|ind|ind|ind|ind|10|0|NW_CI_Instance_Start|ind|ind|ind|ind|2|0|start was executed with status ERROR .
TRACE 2011-06-10 16:31:46.555 [iaxxgenimp.cpp:752]
CGuiEngineImp::showMessageBox
<html> <head> </head> <body> <p> An error occurred while processing option SAP ERP 6.0 EHP4 Ready - Support Release 1 > SAP Application Server ABAP > Oracle > High-Availability System > Central Instance . You can now: </p> <ul> <li> Choose <i>Retry</i> to repeat the current step. </li> <li> Choose <i>View Log</i> to get more information about the error. </li> <li> Stop the option and continue with it later. </li> </ul> <p> Log files are written to /tmp/sapinst_instdir/ERPEhP4/AS-ABAP/ORA/HA/CI. </p> </body></html>
TRACE 2011-06-10 16:31:46.555 [iaxxgenimp.cpp:1255]
CGuiEngineImp::acceptAnswerForBlockingRequest
Waiting for an answer from GUI
Kindly let us know how to rectify the error and prroceed further with the instalaltion.
Thanks
RishiDear Guys,
we didnt change the date and time but i m very sure it is same trans.log file.
for your kind information please note SID and Nodes details
Sid (PE2)
DB Node : DBMDB001
CI Node : DBMCI001
also i am attaching starting part of the file.
4 ETW000 R3trans version 6.14 (release 701 - 26.01.09 - 12:46:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 07.11.2010 - 03:44:06
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: R3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Sun Nov 7 03:44:06 2010 295 0.000295
4 ETW000 [dev trc ,00000] db_con_init called 22 0.000317
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 116 0.000433
4 ETW000 [dev trc ,00000] Loading DB library '/usr/sap/PC1/SYS/exe/run/dboraslib.so' ...
4 ETW000 64 0.000497
4 ETW000 [dev trc ,00000] load shared library (/usr/sap/PC1/SYS/exe/run/dboraslib.so), hdl 0
4 ETW000 32161 0.032658
4 ETW000 [dev trc ,00000] Library '/usr/sap/PC1/SYS/exe/run/dboraslib.so' loaded
4 ETW000 39 0.032697
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library
/usr/sap/PC1/SYS/exe/run/dboraslib.so
4 ETW000 111 0.032808
4 ETW000 [dev trc ,00000] Version of '/usr/sap/PC1/SYS/exe/run/dboraslib.so' is "700.08",
patchlevel (0.25)
4 ETW000 265 0.033073
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library
/usr/sap/PC1/SYS/exe/run/dboraslib.so
4 ETW000 41 0.033114
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library
/usr/sap/PC1/SYS/exe/run/dboraslib.so
4 ETW000 82 0.033196
4 ETW000 [dev trc ,00000] New connection 0 created 52 0.033248
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES,
reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 41 0.033289
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 84 0.033373
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse:
4 ETW000 31 0.033404
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES,
reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 37 0.033441
4 ETW000 [dev trc ,00000] Oracle Client Version: '10.2.0.4.0' 601 0.034042
4 ETW000 [dev trc ,00000] -->oci_initialize (con_hdl=0) 25 0.034067
4 ETW000 [dev trc ,00000] Client character set UTF16 -> UTF8 35674 0.069741
4 ETW000 [dev trc ,00000] Client NLS setting (OCINlsGetInfo): 'AMERICAN_AMERICA.UTF8'
4 ETW000 57 0.069798
4 ETW000 [dev trc ,00000] Logon as OPS$-user to get SAPSR3's password 55 0.069853
4 ETW000 [dev trc ,00000] Connecting as /@PC1 on connection 0 (nls_hdl 0) ... (dbsl 700
151208)
4 ETW000 34 0.069887
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet C
EnvHp ErrHp ErrHpBatch
4 ETW000 52 0.069939
4 ETW000 [dev trc ,00000] 0 UTF8 0
0x6000000001052910 0x600000000105a3c0 0x600000000106ab38
4 ETW000 58 0.069997
4 ETW000 [dev trc ,00000] Allocating service context handle for con_hdl=0 40 0.070037
4 ETW000 [dev trc ,00000] Allocating server context handle 27 0.070064
4 ETW000 [dev trc ,00000] Attaching to DB Server PC1
(con_hdl=0,svchp=0x600000000106aa68,srvhp=0x600000000106de78)
4 ETW000 63 0.070127
4 ETW000 [dev trc ,00000] Assigning server context 0x600000000106de78 to service context
0x600000000106aa68
4 ETW000 60612 0.130739
4 ETW000 [dev trc ,00000] Allocating user session handle 97 0.130836
4 ETW000 [dev trc ,00000] Starting user session: OCISessionBegin(con_hdl=0,
usr='/',svchp=0x600000000106aa68, srvhp=0x600000000106de78, usrhp=0x60000000010fc940)
4 ETW000 64 0.130900
4 ETW000 [dev trc ,00000] Assigning user session 0x60000000010fc940 to service context
0x600000000106aa68
4 ETW000 9302 0.140202
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=53, stmth_p=0x6000000001077608)
4 ETW000 198 0.140400
4 ETW000 [dev trc ,00000] BEGIN DBMS_APPLICATION_INFO.SET_MODULE(:A0,:A1); END;
4 ETW000 38 0.140438
4 ETW000 [dev trc ,00000] CbApplInfoGet() failed! Ignore, but uninstall callback to avoid more
erroneous calls
4 ETW000 291 0.140729
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=54, stmth_p=0x6000000001078660)
4 ETW000 33 0.140762
4 ETW000 [dev trc ,00000] BEGIN DBMS_APPLICATION_INFO.SET_CLIENT_INFO(:A0); END;
4 ETW000 35 0.140797
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001078660)
4 ETW000 937 0.141734
4 ETW000 [dev trc ,00000] SELECT SID FROM V$MYSTAT WHERE ROWNUM<2
4 ETW000 36 0.141770
4 ETW000 [dev trc ,00000] Connected to session 297. 639 0.142409
4 ETW000 [dev trc ,00000] Now '/@PC1' is connected: con_hdl=0, nls_hdl=0, session_id=297.
4 ETW000 38 0.142447
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001078660)
4 ETW000 37 0.142484
4 ETW000 [dev trc ,00000] ALTER SESSION SET NLS_SORT = BINARY
4 ETW000 36 0.142520
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001078660)
4 ETW000 327 0.142847
4 ETW000 [dev trc ,00000] SELECT USERID, PASSWD FROM SAPUSER WHERE USERID IN (:A0, :A1)
4 ETW000 36 0.142883
4 ETW000 [dev trc ,00000] Got SAPSR3's password from OPS$-user 728 0.143611
4 ETW000 [dev trc ,00000] Disconnecting from connection 0 ... 38 0.143649
4 ETW000 [dev trc ,00000] Rolling back transaction ... 31 0.143680
4 ETW000 [dev trc ,00000] Closing user session
(con_hdl=0,svchp=0x600000000106aa68,usrhp=0x60000000010fc940)
4 ETW000 210 0.143890
4 ETW000 [dev trc ,00000] Now I'm disconnected from ORACLE 721 0.144611
4 ETW000 [dev trc ,00000] Connecting as SAPSR3/<pwd>@PC1 on connection 0 (nls_hdl 0) ... (dbsl
700 151208)
4 ETW000 40 0.144651
4 ETW000 [dev trc ,00000] Nls CharacterSet NationalCharSet C
EnvHp ErrHp ErrHpBatch
4 ETW000 37 0.144688
4 ETW000 [dev trc ,00000] 0 UTF8 0
0x6000000001052910 0x600000000105a3c0 0x600000000106ab38
4 ETW000 37 0.144725
4 ETW000 [dev trc ,00000] Assigning username to user session: con_hdl=0,
usrhp=0x60000000010fc940
4 ETW000 35 0.144760
4 ETW000 [dev trc ,00000] Assigning password to user session: con_hdl=0,
usrhp=0x60000000010fc940
4 ETW000 40 0.144800
4 ETW000 [dev trc ,00000] Starting user session: OCISessionBegin(con_hdl=0, usr=SAPSR3/<pwd>,
svchp=0x600000000106aa68, srvhp=0x600000000106de78, usrhp=0x60000000010fc940)
4 ETW000 337 0.145137
4 ETW000 [dev trc ,00000] Assigning user session 0x60000000010fc940 to service context
0x600000000106aa68
4 ETW000 4085 0.149222
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=54, stmth_p=0x6000000001077608)
4 ETW000 63 0.149285
4 ETW000 [dev trc ,00000] BEGIN DBMS_APPLICATION_INFO.SET_CLIENT_INFO(:A0); END;
4 ETW000 37 0.149322
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 585 0.149907
4 ETW000 [dev trc ,00000] SELECT SID FROM V$MYSTAT WHERE ROWNUM<2
4 ETW000 36 0.149943
4 ETW000 [dev trc ,00000] Connected to session 297. 350 0.150293
4 ETW000 [dev trc ,00000] Now 'SAPSR3/<pwd>@PC1' is connected: con_hdl=0, nls_hdl=0,
session_id=297.
4 ETW000 38 0.150331
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 38 0.150369
4 ETW000 [dev trc ,00000] ALTER SESSION SET NLS_SORT = BINARY
4 ETW000 34 0.150403
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 294 0.150697
4 ETW000 [dev trc ,00000] SELECT VALUE FROM V$NLS_PARAMETERS WHERE PARAMETER IN
('NLS_LANGUAGE', 'NLS_TERRITORY', 'NLS_CHARACTERSET') ORDER BY PARAM
4 ETW000 66 0.150763
4 ETW000 [dev trc ,00000] ETER
4 ETW000 34 0.150797
4 ETW000 [dev trc ,00000] Database NLS settings: AMERICAN_AMERICA.UTF8 329 0.151126
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 856 0.151982
4 ETW000 [dev trc ,00000] SELECT UPPER(INSTANCE_NAME),HOST_NAME,VERSION,TO_CHAR
(STARTUP_TIME,'MON DD, YYYY, HH24:MI:SS') FROM V$INSTANCE
4 ETW000 36 0.152018
4 ETW000 [dev trc ,00000] DB instance PC1 is running on scmdb001 with ORACLE version
10.2.0.4.0 since NOV 07, 2010, 03:23:10
4 ETW000 349 0.152367
4 ETW000 [dev trc ,00000] -->oci_prepare_stmt(con_hdl=0, len=0, stmth_p=0x6000000001077608)
4 ETW000 38 0.152405
4 ETW000 [dev trc ,00000] SELECT SUBSTR(NAME,1,3), TO_CHAR(CREATED,'YYYYMMDDHHMMSS')
FROM V$DATABASE -
HELP! FOR LOOP TO SCROLL THROUGH TABLE AND CREATE DATABASE LINK
Hi,
Here's the scenario, not much of a PL programmer, just basic SQL so really need some help people!
I have 2 tables. 1 contains list of DB's and the other contains rules to follow.
I need to create a loop that goes through the table containing the DB's and on each row a DB link is created (Only 1 link allowed!)
Once created, the schema currently logged in with also has an account on the linked DB in order to run scripts- The scripts are stored centrally hence the requirement for the link to the target DB.
There are numerous scripts that need to be executed and can all be called from 1 script, once executed the loop exists and the database link needs to be dropped.
Once dropped, the first loop continues, creating a DB link for the next DB listed in the table (and all the scripts are fired again)
This continues against all the DB's listed in the table.Hi BlueShadow,
Thanks again for the response, you've hit the nail on the head. SQL scripts on a unix server, a loop goes through a table 1 at a time. Each row gets a link created and then all the scripts stored on the server are executed against the db linked to. So I'm assuming this is a loop within a loop.
1 loop to go through the table to create the link and then another loop within once connected to execute all the scripts against the connected DB. Once the scripts are run, the loop exits and moves onto the next server and so on until all the servers have the scripts are run.
It's PL/SQL scripts we're after and not shell scripts as this would free us from the OS constraints.
We have to drop the links due to security. Any idea on o -
let say that i access a oracle form through the web and that form access data from two distributed databases, then will there be a remote database and local database for the user or all the databases will be remote databases to the user
In my opinion.
using local databases -- access tables without DB_link
using Remote databases -- access tables through DB_link -
How can i create a new and tableless database using database configuration
How can i create a new and tableless database using database configuration
How can i create a new and tableless database using database configuration
Just don't install the sample schemas. See the installation guide
http://docs.oracle.com/cd/E11882_01/server.112/e10831/installation.htm
Using the Database Configuration Assistant
When you install Oracle Database with the Oracle Universal Installer, the sample schemas are installed by default if you select the Basic Installation option. Selecting the sample schemas option installs all five schemas (HR, OE, PM, IX, and SH) in the database. If you choose not to install the sample schemas at that time, you can add them later by following the instructions in section "Manually Installing Sample Schemas".
Choose a custom install and don't install the sample schemas.
All other schems/tables installed are REQUIRED by Oracle -
Creating a simple and small DataBase..Please HELP
I study Information Systems (MSc)..and I am taking a DataBase course that requires a Project to be done on a RDBMS..I decided to build the database using ORACLE 9i (on windows xp professional)..
I want to use the Database Configuration Assistant to build the Database (easier than to build it manually)..but the Assistant requests from me to input some parameters that are somehow "new and strange" to me as a student..
PLEASE I need the simplest and easiest parameter values to be input to the Assistant that enable me to build a tiny and simple DataBase that is adequete for educational purposes only (small project)..
Also I need to know how to enter the DataBase after I create it..
Thank you very much in advance..I study Information Systems (MSc)..and I am taking a DataBase course that requires a Project to be done on a RDBMS..I decided to build the database using ORACLE 9i (on windows xp professional)..
I want to use the Database Configuration Assistant to build the Database (easier than to build it manually)..but the Assistant requests from me to input some parameters that are somehow "new and strange" to me as a student..
PLEASE I need the simplest and easiest parameter values to be input to the Assistant that enable me to build a tiny and simple DataBase that is adequete for educational purposes only (small project)..
Also I need to know how to enter the DataBase after I create it..
Thank you very much in advance..
Maybe you are looking for
-
Need help to start with some file and text manipulation
Hello script mavens, I need help with starting a script that does the following: -within a base folder it takes an inventory (list?) of all the files (which happen to be image files). -creates a new folder inside the base folder and calls it imagesX
-
The error message is Server Error in '/' Application. StartIndex cannot be less than zero. Parameter name: startIndex I can avoid the message in IE by adding the site to the list of trusted sites. How do I accomplish the same thing in Firefox?
-
Is it possible to reduce the size of the address bar? I'm used to full screen in Windows, and I'm trying to get a similar layout with my Mac. Also, I figured out how to hide the dock in the archives via command-option-D, but somewhere along the way I
-
Parent members not being updated when running AGG
I have a scenario where eventhough the bottom level members change the parent members are not being updated when we run an agg For example if the bottom level member was 150 and we run the aggregate the numbers are fine. If the bottom level member wa
-
How to add a DSN in registry?
Does anyone know how to add an odbc datasource in HKEY_LOCALMACHINE\Software\\ODBC\\ODBC.INI\\ODBC Data Sources?? And yeah, using ODBC connection when JDBC is there, and that too writing into the registry is a very bad design. I know that. But, this