I have SampleApplite.rpd as repository sample from obiee11g, in that repository, there is some table , for example :samp_targets_f.
I want to check data inside those table, so in toad i log in as sys, but i couldn't find tables belong to sampleapplite.rpd
I try it in my localhost for practice, so i open that repository offline.
How to access those table from toad?could i try to log in in other schema?
Thanks
The table are actually XML files in the BI server file system: BI_EE_HOME/sample/SampleAppFiles/data
Related
I'm using Oracle Data Integration and i need to integrate in an IKM a source DBLink.
I have a simple mapping between one source table and one target table. The source table is on another database so I need to use a DBLink.
I have created the DBLink in the topology and associated to the source Data Server.
I tried to "catch" the DBLink name using <%=odiRef.getInfo("SRC_DSERV_NAME")%> but i get the target instance instead of source DBLink(instance).
Any suggestions?
In the meantime I've found the solution: <#=odiRef.getObjectName("R","<%=odiRef.getSrcTablesList("", "[TABLE_NAME]", "", "")%>","D")#>.
I have to insert table data from the test server database to prod server database in Oracle. Both table definitions are same.
You could use the DATA PUMP feature. It is a server based bulk data movement infrastructure.
EXPDP from source database and create a dump file on the source server.
Move the file to the destination server.
IMPDP on the destination database.
Look at few examples here.
I have 2000+ records in my table .table has clob data .
I want to save all records as single files on my local machine.
I am using pl/sql developer and Oracle 11g database.
There is a way to do this if you have access to the file system on your database.
You can find the solution here.
I have created Global Temporary table in oracle and inserting the data through my application, and its working fine for me when i connect to database with "system" as the username. Where as i have created one more user in the database with "user1" and have given "Grant all" privileges to this user also. Now when am connecting to database with "User1" as the username and running the application, the data is not inserting into Global temporary table.
But when i try to insert data from sql developer tool its inserting.
With system user through application also working, whereas with user1 its not inserting. Am not getting whats behind going as am not that much DB expert.
Please have any idea suggest me. I have all privileges also. Thanks in advance.
Fist, the table MUST be in other schema than SYS or SYSTEM. Create it on "User1".
Second, you must be sure that you select from the same table. Prefix the table with the schema when inserting and also when reading.
Also be sure that you are not in the situation of table created with ON COMMIT DELETE ROWS and some AUTOCOMMIT ON in Sql Developer.
I don't have time to write a perl or anything like that nor do I have admin access to the back end, so how can I get data from a file on the intranet (http://) and parse it to create a table? Maybe somehow via PL/SQL? Keep in mind I don't have much admin access.
If you want it to be completely automated
You can use the UTL_HTTP package to retrieve the data from the HTTP server
You can either parse the CSV response yourself using INSTR and SUBSTR or you can use the UTL_FILE package to write the data to a file on the database server file system and then create an external table that parses the CSV file you just created.
You can then insert the parsed data into a table you've already created (I'm assuming that the CSV data is in the same format each time).
You can use the DBMS_SCHEDULER or DBMS_JOB package to schedule the job
The Oracle database account you're using will need to be granted access to all of these packages.
You may download the file into your host machine and then use SQL*Loader to populate a table.
Other ways there are some wizards that may be easier than SQL*Loader, if you are using IDEs like PLSQLDeveloper(Tools->Text Importer) or SQLDeveloper(right click on Tables-> Import Data).
Create an external table that references your CSV file. That means you can run select statements on the file from within Oracle.