Difference between all_tab, all_all_tab, tab of the data dictionary
HelloI used three names of table for all tables in the current diagram.
But I got different results of TAB and ALL_ALL_TABLES.
Please guide me what is the diffrence between tab, all_all_tables and all_tables.
and what is the right application for the information of the all_table of the schema/user.
SQL > SELECT COUNT (*) FROM tab
218
SQL > SELECT COUNT (*) FROM all_all_tables
367
SQL > SELECT COUNT (*) FROM all_tables
367
Thank you and best regards,
Vincent.
SQL> select *
2 from dictionary
3 where table_name in ('TABS','ALL_TABLES','ALL_ALL_TABLES')
4 /
TABLE_NAME COMMENTS
-------------------- ------------------------------------------------------------------------------------------------
ALL_ALL_TABLES Description of all object and relational tables accessible to the user
ALL_TABLES Description of relational tables accessible to the user
TABS Synonym for USER_TABLES
Tags: Database
Similar Questions
-
What is the difference between count (1) selection of the tab and select count (*) tab;
994122 wrote:
Hello
SQL > set timing on
SQL > select count (*) of the emp
2 where deptno = 30;
COUNT (*)
---------------
6
Elapsed time: 00:00:00.01
SQL > select count (1) of the emp
2 * where deptno = 30
SQL > /.
COUNT (1)
-------------
6
Elapsed time: 00:00:00.01
See that both give the same time
Do you really think the 100th's of a second it takes 6 rows from counting will truly representative of the difference it takes actually?
Such a small data set cannot possibly show no difference to these larger units of time (in the calculation of terms where we have millions of instructions per second in lieu)
As the link to the FAQ provided in the response of Anton (first response on this thread) Watch, count (1) and count (*) are essentially the same, except that count (1) actually get re-written by the query re - write the step of the optimization to make it count (*).
Generally 'count (*)' makes more sense language, because it reads like "count" while "count (1)" reads as "count we ', which does not have as much good sense when you actually count all.
-
Are there differences between Windows 7 OEM and the commercial full version?
Are there differences between Windows 7 OEM and the commercial full version?
Commercial versions include two disks installing 32 and 64 bits and can be moved to new systems.
OEM versions are either 32 or 64-bit - only installation disc is included - and cannot be moved to a new system.
-
Hola! no self if alguien quiera Yes a bit of Asesoría, are as bastante confundido estoy... Queria long! the difference existing between el PHOTOSHOP CC led package of FOTOGRAFIA y APPLICATION UNICA? that difference between ellos hay? are the same cc photoshop application? because is offers mas barata in el FOTOGRAFIA package?
photoshop and lightroom in the Pack of photographers are 100% identical as individual photoshop and lightroom different subscriptions (for much less cost).
So yes, it is foolish to subscribe to only one photoshop or lightroom. even if you're only going to use one of them, you should subscribe to the plan of photographers.
-
SDDM 4.0 - synchronize the data dictionary can not detect existing CF
I started a data model implemented in version 3 of SDDM somewhere, then had to ask for about 9 months and pick it back up. When I picked up back, 4.0 RC3 shone, so I used to work on the old model. Some problems have emerged, and one that is currently more frustrating is when I use the "Sync data dictionary" feature to create the DDL to change the physical table based on changes to the model that I made.
I used to be able to just do a right-click on the table, choose Synchronize the data dictionary, and then only the changes I made would be generated. Now, however, the function Compare seems to not be able to detect certain properties of the physical implementation table he is comparing it to. For example, there is a table with FK 3 and compare it detects that one of them, then it attempts to create them from scratch. Of course fails because there are actually the CF. I tried not to drop and re-create the keys in the comics because I don't want to go to this effort for each table.
I can post screenshots if you illustrate the problem like this. Does anyone have advice? It seems that there is a bug in the software. Thank you.
Hi Mike,.
Thanks for reporting the problem. I logged a bug for this.
The synchronization works without problem if all of the tables involved are included in the sync operation. The problem is caused by PK/UK constraints with system-generated names.
You can call the synchronization on a selection of objects (one or more), on a subview or the entire model. You can use "Select neighbors" in order to obtain selected related objects or
'Create subview with neighbors' available in the context menu for the table in the browser.
Philippe
-
Problems with synchronization model with the data dictionary
Let me start by saying that I do something wrong (there not much documentation on this product so far...).
I designed my whole from scratch in SDDM 3 and then put model upgraded to SDDM 4. There is already a problem with the sync option from the data dictionary model, in which it works only if first import you an object any in the data dictionary for the model for the reverse to work. I did, and now I can't start the synchronization successfully. The thing is, but I have all the objects already created in my database, according to a specific schema, each time I start the synchronization, it always tells me that none of my model objects exist on the destination! I've tried setting the owner on the physical model, remove, modify the connection to connect with the owner objects, but nothing seems to work.
Any ideas?
Hello
You need clear information source banner and rename the schema in the relational model if you want to use the Sync feature, otherwise, you can use import wizard of data dictionary (possibly to check 'target swap') and to
don't check box "use schema property in compare features" If your schema is changed.-"preferences > Data Modeler > DOF > compare > ' or to compare options in compare dialog.
You can clear information source banner by selecting all the objects on the diagram (Ctrl-A) and use 'Clear stamp source' in the context menu for the selected objects.
In the next version - there are options to work around the source schema and the name of the source object, and you can use different user and change the name of the table in the physical model in order to synchronize with a different schema or even track changes in table name.
Philippe
-
Technical details of the package in the data dictionary
Hi can u tell someone in what data dictionary table func or procedure declared in the package specification is stored?
For ex.
CREATE OR REPLACE PACKAGE IN THE PKG_TEST
F_1 FUNCTION RETURN NUMBER;
F_2 FUNCTION RETURN NUMBER;
F_3 FUNCTION RETURN NUMBER;
-----------------------------
-----------------------------
-------------------------------
FUNCTION F_10 RETURN NUMBER;
END PKG_TEST;
Now the data dictionary tables, I want to know what are the functions created in PKG_TEST.i.e. He me F_1 would list at F_10.
I checked in User_Source, but finding not useful.
user_procedures
-
Can I use the data dictionary tables based on RLS policy?
Hello guys, I use the package level security line to limit certain lines to some users.
I created several roles, I want to just enable certain roles to see all the columns, but the other roles, I'm not that they see all the lines. I mean to do this I use the session_roles table data dictionary however it did not work.
What to do in order to not allow rows of user roles?
Can I use the data dictionary tables in RLS?
Thank you very much.Polat says:
What to do in order to not allow rows of user roles?
Can I use the data dictionary tables in RLS?Ensure that:
SQL> CREATE OR REPLACE 2 FUNCTION no_sal_access( 3 p_owner IN VARCHAR2, 4 p_name IN VARCHAR2 5 ) 6 RETURN VARCHAR2 AS 7 BEGIN 8 RETURN '''NO_SAL_ACCESS'' NOT IN (SELECT * FROM SESSION_ROLES)'; 9 END; 10 / Function created. SQL> BEGIN 2 DBMS_RLS.ADD_POLICY ( 3 object_schema => 'scott', 4 object_name => 'emp', 5 policy_name => 'no_sal_access', 6 function_schema => 'scott', 7 policy_function => 'no_sal_access', 8 policy_type => DBMS_RLS.STATIC, 9 sec_relevant_cols => 'sal', 10 sec_relevant_cols_opt => DBMS_RLS.ALL_ROWS); 11 END; 12 / PL/SQL procedure successfully completed. SQL> GRANT EXECUTE ON no_sal_access TO PUBLIC 2 / Grant succeeded. SQL> CREATE ROLE NO_SAL_ACCESS 2 / Role created. SQL> GRANT SELECT ON EMP TO U1 2 / Grant succeeded. SQL> CONNECT u1@orcl/u1 Connected. SQL> select ename,sal FROM scott.emp 2 / ENAME SAL ---------- ---------- SMITH 800 ALLEN 1600 WARD 1250 JONES 2975 MARTIN 1250 BLAKE 2850 CLARK 2450 SCOTT 3000 KING 5000 TURNER 1500 ADAMS 1100 ENAME SAL ---------- ---------- JAMES 950 FORD 3000 MILLER 1300 14 rows selected. SQL> connect scott@orcl Enter password: ***** Connected. SQL> GRANT NO_SAL_ACCESS TO U1 2 / Grant succeeded. SQL> connect u1@orcl/u1 Connected. SQL> select ename,sal FROM scott.emp 2 / ENAME SAL ---------- ---------- SMITH ALLEN WARD JONES MARTIN BLAKE CLARK SCOTT KING TURNER ADAMS ENAME SAL ---------- ---------- JAMES FORD MILLER 14 rows selected. SQL>
SY.
-
Difference between bookmarks per Page and the anchor icons
Hello
I use InDesign each year to update a large guide. I had sort of teach me how to use this software, but since I don't use not all year, I forgot things. One of them has to do with my favorites. I noticed that all my favorites have an icon of the page, but it has an icon of the anchor, like this:
First of all, what is the difference between them? And second, every time I update the Table of contents, anchor moves where I nested it all the way to the top of the bookmarks, right under the Table of contents, as follows:
Anyone know why this is happening? I think it has to do with the fact that this particular section is not explicitly listed in the Table of contents, but I don't want to have a bookmark for it. But I would like to embed the bookmark in the right position, what is shown in the first image in this post. Could someone help me this? Thank you!
I think that I thought about it. First of all, most of the bookmarks have was probably generated by the table of contents itself.
In terms of changing a bookmark of anchor text to a bookmark of the page, I realized that I had to get out the block of text, simply use the selection on the page and then create a new bookmark.
So I did, and now all of my icons are pages in the bookmarks bar. However, whenever I update the table of contents, he always puts this bookmark immediately under the table of contents. I think this behavior is because this particular bookmark (called sweeps Dates) is not actually included in the table of contents (by design). I have it in a different style to make the table of contents is not picking it up. But I guess since the table of contents generates all the other favourites, it sorts the update and then put just created this maually bookmark "Balaie les Dates" below, above the rest of the bookmarks.
If there is a case, I don't know if there is a work around specific to this situation. It could be one of these minor idiosyncrasies that I'll have to deal with. It is not a big problem to have to move whenever I update the table of contents, and I mostly just try to improve my understanding of InDesign in asking about this behavior.
-
difference between Interactive Reporting (IR) and the reports of Production (PR)
Could someone tell me the difference between IR and PR Version 9.3.1 or later if its important. My impression is that IR is used for ad hoc reporting, and PR is used for the production of regular reports. I believe you can also create reports that production of IR also, so I don't see where is the difference.
Thank you
TomHi Tom,
PR or HYPERION SQR PRODUCTION REPORTING focus produces high quality reporting mass. The reports are designed and then demand by admins (or report developers), end users are generally not involved.
IR or creation of INTERACTIVE REPORTING, HYPERION focuses on ad-hoc data analysis. IR can be put in place to enable end users to modify queries for the purpose of analysis and output then reports or dashboards.
Here are the 2 cheat sheets:
http://www.Oracle.com/technology/products/bi/Sqr-production-reporting.html
http://www.Oracle.com/technology/products/bi/interactive-reporting/index.htmlIt could also be useful to check records for yet more information:
http://download.Oracle.com/docs/CD/E12825_01/NAV/portal_4.htmCheers, Iain
-
What is the difference between Windows 7 OEM and the retail version of Windows 7?
Can someone tell me, what is the difference between windows 7 OEM and sales vs retail?
On Thu, 20 Sep 2012 19:56:47 + 0000, STEVE-5 says:
Can someone tell me, what is the difference between windows 7 OEM and sales vs retail?
There is no difference in the product itself.
Although if you get a generic OEM full version, it contains the
even software, it has the following disadvantages compared to the
commercial version:1. the biggest drawback of an OEM version (at least in the USA) is
that its license it permanently binds to the first computer, it is
installed on. He can never legally be moved to another computer, sold,
or given (except with the original computer). If the computer
dies or is stolen, your license dies with him.2. he can't do a clean install, not an upgrade.
3 Microsoft offers no support for OEM versions. You cannot call their
with a problem, but rather to secure the necessary support of your
OEM; who take in charge may go anywhere between property and non-existent. Or
You can get support elsewhere, like in these forums.
Ken Blake, Microsoft MVP -
Difference between different "trigger events" in the form of customization
Hi Experts,
Can you get it someone please let me know precisely the difference between the various 'trigger events' (better with a simple example) in the form of customization in Oracle Apps?
A TIME NEW FORM INSTANCE
A TIME NEWS BLOCK INSTANCE
A TIMES-NEWS-RECORD-INSTANCE
ONCE - NEW - ITEM - INSTANCE
WHEN-VALIDATE-RECORD
1 by SPECIAL45Mainly, I'm confuse when use A TIMES-NEWS-RECORD-INSTANCE, WHEN-VALIDATE-RECORD and A TIMES-NEWS-POINT-INSTANCE (it will be that it is very useful, if it is provided with a simple example to understand the difference between these 3)
Thanks in advance,
Bommi
Hello
Once - new - form - Instance: this trigger is called just after form is called. If you can do what you need to do before the start of the form. Make sure that this trigger is called only when the form is opened.
WHEN-VALIDATE-RECORD: this trigger is called when the cursor is moved off the current record of the block specified to another record. This trigger can be very useful when trying to insert or update a record under certain costraints. If conditions are true to this trigger and form_trigger_failure will pass under the situation has no validation, recording is not saved. Thus, everything works fine.
Once - new - Record - Instance: this trigger is called when the cursor passes on a new record in the specified block. This trigger can be useful when it is necessary to set the computed value of an element at the level of each record.
A time new point Instance: this trigger is called when the subjects in the forms is entered.
Hope this helps,
Please mark responds 'Proper' or 'Useful', as appropriate, to facilitate solutions to the other participants in the community
-
How to calculate the periods that overlap between two or more given the date range?
Hi all
If there are several durations then how we can calculate the period of time that overlap between these times.
For example: for 3 time periods. 03/12/2015-16/08/2015, 05/01/2015 to 31/07/2015 and the 06/09/2015 to 30/11/2015, how the overlap period can be calculated?
There are many potential unknowns in your question. For example, you want to count any overlap at all? If two dates overlap, what matters? Overlap - each of them?
In any case, here is a solution that counts how many periods are overlapping in any point in time... She, of course, using temporal logic. You can then use ValueAt(), WhenLast(), WhenNext(), etc. as appropriate.
Assume that your model has a child entity called 'the period' with name 'all time periods' relationship and basic attributes 'start date of the period of time' and 'date of end of period of time'.
In your example:
an entity should have the time period start date = 03/12/2015 and the date of end of period of time = 16/08/2015
another entity might have the time period start date = 01/05/2015 and the date of end of period of time = 31/07/2015
another entity might have the time period start date = 06/09/2015 and the date of end of period of time = 30/11/2015
To find the number of overlapping over time, we want to count or entities that have an active period, so the rule is perhaps the sum:
the number of overlapping = the number of all the periods for which it is true that the time period is active
How do we know a time is active? This is the time logic comes in. He is active on or after the start date or no later than the end date:
the time period is active if
TemporalOnOrAfter (the date of beginning of period of time) and
TemporalOnOrBefore (date of end of period of time)
That's all. Now, you can perform a temporal visualization of the 'number of overlapping' and you'll see it rise and fall over time. As a reference, he said that the number of overlapping = 3.0 from 06/09/2015 across 31/07/2015.
I hope this helps. You can use the same model to count periods of time functions, but you end up having to use the most logical date. You of course can count the total number of entities and compare this number of overlap over time to see if they overlap, but I digress...
-
PE2 - what is the difference between 'cut' and 'clear' in the current project?
When removing items from the active project area, what is the difference between 'cut' and 'clear '?
I think as 'delete' is an option sometimes, but I could not reproduce it.
Cup should delete, but don't Clip in the Clipboard transfer, where just claire will remove completely - no transfer to the Clipboard.
That can be tested by making a cut, then move the CTI (indicator of the current timeline) at the end of the timeline and press Ctrl + V (paste). This deleted item should appear after the ICT.
Then, delete (or select a different Clip) the Clipboard and try Clear. It should not paste the Clip in the timeline.
Good luck
Hunt
-
difference between deletion archive using until the time and completed before
Hello
Can someone please let me know what is the difference between the following commands below.
DELETE ARCHIVELOG UNTIL ' SYSDATE - 1';
and
DELETE ARCHIVELOG ALL COMPLETED BEFORE ' SYSDATE - 1';
Thank youThe UNTIL clause specifies a Recovery Point.
The COMPLETED clause indicates the time of creation of the journal.
So until ' SYSDATE-1' specifies ' all archivelogs needed to recover the database from 24 hours ago. " If it is 09:00 28 - Jun and ArchiveLog Seq # 1001 was created 08:45 27 - Jun and Seq # 1002 was created at 09:10 27 - Jun, then Seq #1002 is required for recovery as at 09:00 27 - Jun.
Hemant K Collette
Maybe you are looking for
-
G20: Deliver low quality - a Tuner or a MCE?
HelloI have new Qosmio G20 I tried for awhile.During the recording of TV programs on the hard drive, I must say that the quality is not as good as expected (VHS quality). The recording quality is set to high (possible bes in MCE).I also burned CD and
-
In absence of Matt and Mark - which are too upset by todays new caring for this forum - I offer my services as an administrator. It is a voluntary duty but I'll wait a few renumeration of Motorola. Let's discuss it behind closed doors. I have to be v
-
HP mini 1000 PC: System shut down CNU9152FGF
Help, please. System stopped on HP mini 1000 CNU9152FGF. Thank you
-
error when I try to record that a flash drive "word cannot complete the save due to a file permission error" (F\:filename)
-
is this a virus or not? (PLAYITALL-INSTALLATION - WIN32_2.EXE)
Prevx malware program reports it as a high risk. but I ran my anti virus programs and they don't find it as a virusis this a virus or not?