How to import data dictionary views
I want to import all_tab_comments and use it for research in a map.Is it possible to do other than creating a view in my schema that makes a ' select * from all_tab_comments "?
11 GR 1 material OWB
Hello
There are 2 locations for module; one is the location of metadata in which objects are imported, the other is the location of the data. What you could do, is for your regular module have a different metadata location to capture the ALL_TAB_COMMENTS view for example (even if it's just for the duration of the metadata import), this place would still have the credentials (name and password) as your regular location, but the scheme would be SYS. Then, when you import the views, turn on views and synonyms, ALL_TAB_COMMENTS would be visible and you can select and import.
See you soon
David
Tags: Business Intelligence
Similar Questions
-
How to import data in Excel sheet to the database using ADF BC
Hello
Can someone help me in suggesting how to import data from excel to database.
Thank you
Kunal Sharma
Hello
You can use the API to read each line of the file excel with your application and the creation of lines for each line that you read.
See link
http://www.codejava.NET/coding/how-to-read-Excel-files-in-Java-using-Apache-POI
-
data dictionary views and result_cache
Hello
Are there special aspects when caching the results of a function that uses data dictionary views to determine its results?
This issue arose because I have a such a result_cached function for which the result_cache objects are not get invalidated, even when the underlying data dictionary views have changed and the function gives 'fade' in it values came out. Addition of article relies_on has not helped either.
Here's what I'm trying to do:
The function accepts the name of the table as its input and trying to determine all the child tables by using the sys.dba_constraints view. The results are returned in a pl/sql table and are cached so that subsequent calls to this function use the result_cache.
Everything works well for the parent/child tables that were created before the creation of this function. All the results are correct.
The problem starts when a child table is added to an existing table in the parent.
V$ result_cache_objects view shows the result of this function as "Published" and the output of the function do not show the child table that is newly created.
The same is when an existing child table is deleted; the function continues to return in the output as it is extracted from the result_cache.
Oracle version:
Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
AMT for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production>
Restrictions on result caching functions *.To be cached in result, a function must meet all of these criteria:
* It is not defined in a module that has the rights to the plaintiff, or in an anonymous block.
* It is not a function table in pipeline.
* It does not reference dictionary tables, temporary tables, sequences or not deterministic SQL.
For more information, see Oracle Database Performance Tuning Guide.
* It has no OUT or IN OUT parameters.
* No parameter has one of these types:
o BLOB
o CLOB
o NCLOB
o REF CURSOR
o Collection
o object
o file
Return type is none:
o BLOB
o CLOB
o NCLOB
o REF CURSOR
o object
o collect Record or PL/SQL that contains a return unsupported typeIt is recommended that a result caching function also meet these criteria:
* It has no side effects.
For more information about side effects, see "subprogram Side Effects".
* It is not specific to the session settings.
For more information, see "Making Result-Cached functions manage Session-specific settings.
* It is not specific to the session application contexts.
>
http://download.Oracle.com/docs/CD/E11882_01/AppDev.112/e17126/subprograms.htm#LNPLS698 -
Import data dictionary stored procedures
It's the rewamp of an old archived thread:
.. relevant even today with DataModeleter 4.1 (standalone) on Oracle 12 c: I seem not to be able to import any stored procedure / function of the well data dictionary that following the steps (see link) and reaching even to the summary confirming the detection of target objects:
However, at the time of the merger, previews DDL (to import/merge, no generation) says:
-CREATE THE PROCEDURE 0 -CREATE FUNCTION 0 Am I missing a trivial step?
THX
Hello
I think I know what is the cause of the problem.
There is a bug in version 4.1 where different types of objects (including functions and stored procedures) do not appear in the tree view to compare if the property "include physical properties to compare the feature ' is not defined.
So the solution is to ensure that this property is set. It is on the Data Modeler > DOF > DDL/comparison of preferences page.
This bug in the next version.
David
-
Problem with Import Data Dictionary
HelloI try just SQL Data Modeler and am quite impressed with it so far... BUT... I have a problem that I seem not to be able to move.
I try to import a dictionary of data to an Oracle database. I set up the connection and that seems to work ok and log in as the owner of the schema that I'm interested in reverse engineering. However, when I go through the wizard to the point where I should be able to select the objects to import I see tables or views (NB I login as the owner of these objects - I checked in dba_tables). I can see synonyms, users, roles, and different areas of tables - just no tables or views.
I noticed that other people have posted similar problems before, but it never seems to be a response posted - apologies if I missed the.
I would be very grateful for any help, if I can't solve this I fear that we will have to stay with data another tool that is more expensive and does not support the Barker Notation (which I love) modeling.
Kind regards
John Quick
You can try to cheat Data Modeler - create synonym named dba_users and singled out the object that do not exist:
create the synonym for dba_users dba_users_s;
It works for me.
Philippe
-
DataModeler 3.0 ai2: crash after the import data dictionary
Hello
After you import the model data dictionary db successfully, the following operation to register as normal ".dmd" project, will unfortunately in... with the following exception error: fatal:
Exception in thread "Thread-11" means: PermGen space
at java.lang.Class.getDeclaredMethods0 (Native Method)
at java.lang.Class.privateGetDeclaredMethods (unknown Source)
at java.lang.Class.privateGetPublicMethods (unknown Source)
at java.lang.Class.privateGetPublicMethods (unknown Source)
at java.lang.Class.privateGetPublicMethods (unknown Source)
at java.lang.Class.getMethods (unknown Source)
at oracle.dbtools.crest.model.metadata.MetaDataManager.addClassDescripti
(unknown source)
at oracle.dbtools.crest.model.metadata.MetaDataManager.getClassDescripti
(unknown source)
at oracle.dbtools.crest.model.metadata.MetaDataManager.addClassDescripti
(unknown source)
at oracle.dbtools.crest.model.metadata.MetaDataManager.getClassDescripti
(unknown source)
at oracle.dbtools.crest.model.metadata.MDTransformationManager.createTra
nsformers (unknown Source)
at oracle.dbtools.crest.model.metadata.MDTransformationManager.getTransf
ormersFor (unknown Source)
at oracle.dbtools.crest.model.metadata.XMLTransformationManager.getXMLCo
content (unknown Source)
at oracle.dbtools.crest.model.metadata.XMLTransformationManager.saveObje
CT (unknown Source)
at oracle.dbtools.crest.model.metadata.XMLTransformationManager.saveDesi
GN (unknown Source)
at oracle.dbtools.crest.model.design.Design.saveAll (unknown Source)
at oracle.dbtools.crest.swingui.ControllerApplication.saveAll (Unknown So
extended)
at oracle.dbtools.crest.swingui.ControllerApplication.saveAsDesign (exercise
WN Source)
to oracle.dbtools.crest.swingui.ControllerApplication.access$ 5800 (Unknow
Source n)
to oracle.dbtools.crest.swingui.ControllerApplication$ SaveAs$ 1.run (exercise
WN Source)
How can I solve this problem?
Thanks in advance for your support.
AntoninoAntonino thanks.
Unfortunately I'm unable to reproduce this.
Is it possible to allow you to test the same import of 32-bit Windows?Ivan
-
Cannot select Tables or data dictionary views
Hello
I have a normal user from where I want to visualize the data dictionary tables and views as DBA_ and V$ _ because I do not want to log the SYS account each time.
I have granted all the privileges of the user, but it does not work. Here are the commands I used.
all the privileges of the user;
Grant sysdba to user;
Can you help me please
Hello
grant this user SELECT_CATALOG_ROLE. Revoke all privileges that the user didn't need, or he would be able to do all sorts of things destructive (up to drop the entire database) by accident.
Best regards
Nikolai
-
What data dictionary view can tell me what columns in the index are compressed?
So I can create an index compressed on a table like this:
create index t23_idx on t23 (col3, col5, col1) compress 2;
This creates an index with a degree of compression of 2. So far so good.
But how do I know what columns are in fact, compressed at a later date? View USER_INDEX tells me that if COMPRESSION is enabled, but there is nothing on the view USER_IND_COLUMNS to say which columns are compressed.
Of course, I can retrieve information through DBMS_METADATA. GET_DDL but I'm really after receiving a request, because it is more convenient.
I had hopes for SYS. ICOL$. SPARE1, but that doesn't seem to be compatible with what I expect. However, if someone can confirm that this column is indeed the Badger so I gladly adjust my expectations.
Cheers, APCOK, I may not read your question.
DBA_INDEXES. PREFIX LENGTH is "the number of columns in the prefix of the compression key."http://docs.Oracle.com/CD/E11882_01/server.112/e24448/statviews_1106.htm#i1578369
Mike
-
Any data dictionary view for details on licensing only features?
Hello
There in oracle 10.2.0.4, any view data dictionary that provides details on these two options by default from Enterprised edition
as well as licensed features at a glance?
I know that DBA_FEATURE_USAGE_STATISTICS provides details on what function is used. But I'm interested capture only
use that are allowed and not the standard features.
Thank youIn this case, you will need to find a document entitled "Bill", which has "Oracle Corp" on him.
Oracle doesn't keep track of license within the database info.
It uses dba_feature_usage_statistics to be able to continue if.-------------
Sybrand Bakker
Senior Oracle DBA -
Data Dictionary view to see the object directory
Hi all
I boat UTL_FILE need to create the output file. To use this package, we need to have directory object.
Can someone tell me what data dictionary table, we can use to see what directory is allowed to be use UTL_FILE boat to the Unix server.All_directories
dba_directories -
How to import Date into the text data file TDR box?
I have a report template that I use frequently for data tracing files. At the top of the TOR, I have a main title text box that says "Daily Operation" usually followed by the date (entered manually) of this file.
Q: How do I import/reference the value of the date of the file (photo #1 - black outline) in the text box (photo #2) I use to Date? I appreciate all help.
Hi man of laboratory.
Looks like you will need to use the RTT (-real time), which transforms the tiara time real number (fractions of a second from 0 AD) in a date/time string. There is also a TTR function that goes the other way.
@@RTT (ChD (1, "[1] / Date"), "" mm/dd/yyyy # hh:nn:ss.fff "') @.
Brad Turpin
Tiara Product Support Engineer
National Instruments
-
Problem importing data dictionary 4.0 Production
I'm on Oracle 11.2.0.3 on Windows. I use the production SDDM 4.0.0 version - 833. Two days ago, I made a test run using all the default values and imported two plans and had no problem. I decided that I wanted two different relational models so I deleted my files local and remote Subversion. Local I just dropped the case, but on the SVN server, I used once VisualSVN and SDDM once to remove the folder. I tried to import the first pattern 3 times. 1st time I had renamed Relational_1 and created another new relational and renamed it to reflect my two regimes. Here is the info from the error, display of the log and log file dialog box. Once completed, there are no elements in the design. Any help would be appreciated. I think I remove SDDM 833 and reinstall and see if I still have these problems
Error dialog box:
oracle.dbtools.crest.model.design.storage.StorageDesign$ NullStorageDesign cannot be cast to oracle.dbtools.crest.model.design.storage.oracle.StorageDesignOracle
---------
View the journal
Oracle SQL Developer Data Modeler 4.0.0.833
.
.
.
---------
Instructions: 598
Any statements: 19
Sttements failed: 0
Not recognize statements: 579
---------
Messages: log window shows:
2013-12-06 12:05:23 - open design: "AMC_Production_0."
2013-12-06 12:15:55 - import of metadata DB
2013-12-06 12:23:51 - metadata DB import finished
---------
Log file
2013-12-06 09:24:10, 595 [AWT-EventQueue-0] ERROR DBMExtractionController - DBMExtractionController.generateDesign (): failed to get the appropriate Site of RDBMS
2013-12-06 09:24:10, 632 MOHTableSpaceOracle [Thread-26] ERROR - can't find the design of storage!
2013-12-06 09:24:10, 633 [Thread-26] ERROR MOHTableSpaceOracle - can't find the design of storage!
2013-12-06 09:24:10, 634 [Thread-26] ERROR MOHTableSpaceOracle - can't find the design of storage!
2013-12-06 09:24:10, 635 [Thread-26] ERROR MOHTableSpaceOracle - can't find the design of storage!
2013-12-06 09:24:10, 636 [Thread-26] ERROR MOHTableSpaceOracle - can't find the design of storage!
2013-12-06 09:24:10, 637 MOHTableSpaceOracle [Thread-26] ERROR - can't find the design of storage!
2013-12-06 09:24:10, 638 MOHTableSpaceOracle [Thread-26] ERROR - can't find the design of storage!
2013-12-06 09:24:10, 640 [Thread-26] ERROR MOHTableSpaceOracle - can't find the design of storage!
2013-12-06 09:24:10, 641 [Thread-26] ERROR MOHTableSpaceOracle - can't find the design of storage!
2013-12-06 09:24:10, 642 [Thread-26] ERROR MOHTableSpaceOracle - can't find the design of storage!
2013-12-06 09:24:10, 643 MOHTableSpaceOracle [Thread-26] ERROR - can't find the design of storage!
2013-12-06 09:24:10, 644 [Thread-26] ERROR MOHTableSpaceOracle - can't find the design of storage!
2013-12-06 09:24:10, 645 MOHTableSpaceOracle [Thread-26] ERROR - can't find the design of storage!
2013-12-06 09:24:10, 646 [Thread-26] ERROR MOHTableSpaceOracle - can't find the design of storage!
2013-12-06 09:24:10, 647 MOHTableSpaceOracle [Thread-26] ERROR - can't find the design of storage!
2013-12-06 09:24:10, 648 [Thread-26] ERROR MOHTableSpaceOracle - can't find the design of storage!
2013-12-06 09:24:10, 650 MOHTempTableSpaceOracle [Thread-26] ERROR - can't find the design of storage!
2013-12-06 09:24:10, 651 [Thread-26] ERROR MOHTempTableSpaceOracle - can't find the design of storage!
2013-12-06 09:24:10, 652 [Thread-26] ERROR MOHUndoTableSpaceOraclev10g - can't find the design of storage!
2013-12-06 09:24:10, 653 [Thread-26] ERROR AbstractDBMExtractionHandler - database import error:
java.lang.ClassCastException: oracle.dbtools.crest.model.design.storage.StorageDesign$ NullStorageDesign cannot be cast to oracle.dbtools.crest.model.design.storage.oracle.StorageDesignOracle
at oracle.dbtools.crest.imports.metadata.oracle.MOHDatafileOracle.getTablespaces(MOHDatafileOracle.java:260)
at oracle.dbtools.crest.imports.metadata.oracle.MOHDatafileOracle.generate(MOHDatafileOracle.java:86)
at oracle.dbtools.crest.imports.metadata.AbstractDBMExtractionHandler.generateDesign(AbstractDBMExtractionHandler.java:258)
to oracle.dbtools.crest.imports.metadata.DBMExtractionController$ EmptyRunner.run (DBMExtractionController.java:427)
at java.lang.Thread.run(Thread.java:744)
Hello
It seems that it cannot find the defaultRDBMSSites.xml file.
This file (and also the types.xml file) should be in the folder referenced in the directory of Types system default field in the Data Modeler of the preferences page.
If this field is not set in the preferences, the default is the \datamodeler\datamodeler\types folder.
David
-
How to import data from CSV file in a table using oracle forms
Hello
I have a CSV file and I want to insert in the oracle database in a table by using a button under forms of oracle.
the user can select the CSV file by using the open dialog box.
can someone help me find the method to import and select the client machine file?
THX.You want to import the contents of the file or the file itself? I assume that you want to import the contents of the file. For this, there are really only two options to make an Excel (.csv) file and import into shapes; WebUtil or a JavaBean. Some examples of both:
WebUtil: How to read an Excel file in a form of Oracle
Oracle is CJP/BEAN - project ExcelTry them both and see which works best for you.
Craig...
-
How to import data from the Excel worksheet file in a table DB using a filebrowse
Hi friends,
Im having a table has with the following columns as
< Li > ID
< Li > Employee_name
< Li > Department
with empty data in it.
Im having an excel sheet that contains the data for the table has for the column ID < Employee_name < Department
If it is possible to import excel data sheet empty table A that I have in the DB using a form of front-end APEX which is having a file navigation item only.
So, if I store that excel sheet using a navigation button in table wwv_flows_files, then automatically all means this sheet file data in the excellent flows_files table must be inserted into the table empty i have.
It is possible to store the data this way using a browse.
Brgds,
MiniHello
If you're on APEX 4.1 create data loading page. Then the end user may download the CSV data to your table.
Excel can be saved in CSV format.Kind regards
Jarihttp://dbswh.webhop.NET/dbswh/f?p=blog:Home:0
-
How to import data from CSV files to IOM?
Hello
We have to import some files in the csv format and are set up in a specific folder hierarchy. Please help as I am not able to go further.
Thank you very much!So you mean, you want to create users in the IOM based on the data contained in these files...
Then, you should probably create GTC file connector to consume your CSV file and create users in the IOM.Thank you
Suren
Maybe you are looking for
-
where is the best place to store my information
I migrated to the new version of the macbook, I am very happy, but the new macbook can not read the external hard drive I used to back up. It could be the fact that I need to use an adapter for USB, I'm looking for suggestions on where would be the b
-
Browser features limited by memory
I have a HP INVENT w / Intel (r) Core 2Quad Q800 and 6,00 GB. My pretains to problem of navigation on the internet. I use Google Chrome. If I open more than two pages of Google Chrome browser, I get a message from my provider of virus protection, AVG
-
My lap top won't go on, but the screen is a field of colored lines
When I turn on the laptop, nothing appears on the screen but the color of the horizontal lines. What's wrong?
-
I got this error message "winrscmde has stopped working and was closed".
ERROR WINRSCMDE I got this error message "winrscmde has stopped working and was closed". Program WINDOWS SECURITY ESSENTIALS download, which found the horse of TROJAN ALUERON in my system. Also, he explains that he keeps duplicating itself and the on
-
Why photos dupicate ther in windows photo gallery?
Why photos dupicate ther in windows photo gallery? Windows Photo Gallery contains copies of photos in photo files 3 or 4 copies. Why he did that and I can remove them without deleting the original.