End Insight table list includes other schema Tables (without alias)
I noticed this problem in the last few editions, including the 3.2.09.30 latest version:If, say, there are User1 who is the owner of a table named TABLE1 and also a USER2 who is the owner of TABLE2 and granted select access on it to User1.
If I have a spreadsheet where I'm logged on as User1 and I type "Select * tab" and then the list of AutoComplete overview will contain 'TABLE1' both 'TABLE2 '. If I select TABLE2, then it fills the declaration as "select * from TABLE2", that won't work because it lacks the reference of the schema. I expect that TABLE1 to appear in these circumstances.
In other words, the list of tables for completion insight contains the name table form other schemas without a prefixed schema reference. It of basically useless and only serves the background image to the top of the list of seizure semi-automatic insight and give you a false idea of the tables/views/synonyms, which are present in the current schema.
(Note: if I type "select * from USER2.tab" then entry list semi-automatic insight correctly contains "user2.) TABLE2', which is the behavior I expect. "USER2. TABLE2"should be there, but never just"TABLE2")
So, is there any configuration option to turn this off, or it's just a bug?
Published by: IvanG, Sep 17, 2012 15:50
Published by: IvanG on 17 sept 2012 16:29, removed reference to this work properly in 3.0.04, which was incorrect.
Buggy as 14638078; fixed
Tags: Database
Similar Questions
-
access the table of a database diagram othere scheme is same
Hello
I want to access a schema as JISPBILCORBILLING table in the other schema 'JISPREPCORBILLING '.
second scheme use to display and store reports.and first schema will store transaction information.
How can I use this table in the second diagram.
Thanks in advance.Yes you can.
CONNECT JISPBILCORBILLING/PW<---User in="" which="" tables="">---User>
left head;
coil c:\synm.sql;
SELECT "CREATE SYNONYM JISPBILCORBILLING_ | TABLE_NAME | "FOR JISPBILCORBILLING.' | TABLE_NAME FROM USER_TABLES;
spool off;
host edit c:\synm.sql;
Remove first and last 2 lines. Save and exit.
@c:\synm.sqlHTH
Girish Sharma -
a table are in the other table without duplicate
How to check the records in a table are in the other table without duplicate.
for example, in the tables below, the records from the Table A are in Table B1. But the B2 table has duplicate and one record is missing.
I want to know which records are not in table B, records that have two copies.
as A and B2, 1 2 is not in B2, 1 1 a 2 folders in B2
A and B1, nothing should be returned.
Table A
-----------
A1 A2
-----------
1 1
1 2
1 3
-----------
Table B1
-----------
A1 A2
-----------
1 1
1 4
1 2
1 3
2 2
-----------
Table B2
-----------
A1 A2
-----------
1 1
1 4
1 3
2 3
1 1
-----------
version is the database of Oracle 11 g Enterprise Edition Release 11.1.0.7.0 - 64 bit Production
Thank you!!Two standard methods to compare the tables are either to use DEFINED such as UNION, UNION operations or LESS.
Or use a FULL OUTER JOIN.If the structure of the table is the same and that you want to compare all the columns, then set them operators are the best way.
If you want to compare only on one or more columns and want to see the other columns, then a FULL OUTER JOIN is the best way.
Here is an example
select A1, A2, count(distinct sourcetable) cnt_tables, count(sourcetable) cnt_records, count(case when sourcetable = 'A' then 1 end) record_is_in_A, count(case when sourcetable = 'B1' then 1 end) record_is_in_B1, count(case when sourcetable = 'B2' then 1 end) record_is_in_B2 (select 'A' sourceTable, a.* from tableA a union all select 'B1' sourceTable, b1.* from tableB1 b1 union all select 'B2' sourceTable, b2.* from tableB2 b2 ) group by A1, A2 having count(distinct sourcetable) < count(sourcetable) ;
It is an example. It will show you the records that have duplicate data in the following tables.
If you want to display all records that are in A but not in B1, you can add a few other checks.Published by: Sven w. on August 13, 2010 17:23
-
Potential problems for tables without primary keys and unique keys
GoldenGate 11.2.1.0.3/Solaris 10
DB: Oracle for Oracle (Source and target is 11.2.0.3)
Topology: unidirectional
In our one-way configuration GG, little of the tables being replicated is not a primary key or a Unique key.
Last week when we have implemented GG for the test, we received warnings for these table below.
Replication seems to work very well for these tables.GGSCI > add trandata WMHS_UD.crtn_dtl 2013-01-12 11:34:33 WARNING OGG-00869 No unique key is defined for table 'CRTN_DTL'. All viable columns will be used to represent the key, but may not guarantee uniqueness. KEYCOLS may be used to define the key. Logging of supplemental redo data enabled for table WMHS_UD.crtn_dtl.
Googling, I think that there may be performance degradation when you replicate tables without PK or the United Kingdom.
But are there other potential problems such as data of a certain kind not replicated to the lack of PK/UK?It really depends on the data.
By default, GG is combining all columns as a virtual primary key but don't no conflict control by default. So when you can be sure that the record you insert into the table is unique, then it will work.
BUT as soon as you insert the same record, which is already inserted, then you will encounter problems.Let me show what happens when you use an initial charge because it makes it easier to describe:
We start at 10:00 the capture for a table. Now, you insert a record at 10:00 in the tables. When you now start an initial charge to 10.02, then check you have inserted in the database to 10.01 will be repeated two times. During the IPL as the initial charge is made to 10.02 and it includes data of 10.01 AND it will be replicated again through the process of capture/replicate. -
You would design Tables without primary key?
If you were asked to design a schema, if you create a table (however irrelevant) without a primary key? For example, a 'unprofessional' table such as a logging of errors table that records exceptions thrown from stored procedures, create you this table without a primary key?In a relational database you define und work with entities (tables) and you put in relationship to each other by joins. An entity must by definition always be identified by a unique key.
If you don't know what kind of unique key identifies your entries in the table, it is almost certain that working from home in your datamodel and table designs had not been made. Your database objects contain tables, and they must have a unique identifier. Often it is a primary key (PK) composed of several columns.By definition a datamodel that contains the tables without primary keys is nomore a relational datamodel and one of the fundamental bases for the creation of a relational database is violated.
Frankly I do not understand why Oracle allows the tables without primary key. Another system such as SAP R/3 are more stringent. Primary keys are required in the SAP and believe, when starting, it is sometimes tedious to define the primary key structures, but it's the basis of designing together relational datamodel you will put in place. You now SAP is based often on a DB ORACLE layer. They could do it, and these "extend" their functionality. But they are smart guys in Walldorf, and they always refrained to do. It's a good guess to believe, they have a good reason for it.
Tables without primary key are NO relational tables, they are dungpiles. As Oracle needs priimary key itself in order to operate a relational database, ROWID have been defined. ROWID is the primary keys of the tables where the customer does not have a PK. But nice as ORACLE is, they strongly recommend not to use these ROWID in the application or database layer. ROWID is no identifier object that are stable in time and space (eg. two different databases in a distributed design oder a DEV and PROD-system).
Definition of PK implies certain rules for the programming of your application and your DML operations. Especially you often MERGE in a relational table instead of simply INSERT'ing piece in a dungpile.
When it later on with SELECT large datavolumes dataaccess, again the differences between well-defined joins (all based on the PK-relations) and joins non-unique keys will be the order of magnitude. Not only that, the latest degrades in performance much more quickly with the growth of result sets. When you start fumbling with no UNIQUE INDEXES, speed up performance in the operations of dungpiling you are already closer to hell than on a sunny day in the world of relational data.
Othmar Lippuner
SQL Reporting professional -
ReadOnly user can access the other schema and change them
Hello everyone,
I created a readonly as this user in oracle 11g r2
SQL > CREATE USER IDENTIFIED BY readonly readonly;
SQL > GRANT CREATE SESSION, CREATE a SYNONYM to readonly.
SQL > GRANT SELECT ON SA.vCustomerService TO readonly.
But when I connect to the database and do a select like:
SQL > SELECT * FROM ACC;
I get the data in this table, even if I do an update on that table it works.
What I am doing wrong that my readonly user always has full access to the other schema?
Thank you in advance for your help!
Best regards
GIL GOMES DanyDan_lu wrote:
Hello everyone,I created a readonly as this user in oracle 11g r2
SQL > CREATE USER IDENTIFIED BY readonly readonly;
SQL > GRANT CREATE SESSION, CREATE a SYNONYM to readonly.
SQL > GRANT SELECT ON SA.vCustomerService TO readonly.But when I connect to the database and do a select like:
SQL > SELECT * FROM ACC;
I get the data in this table, even if I do an update on that table it works.Check the permissions for this table - maybe some operations on this table are granted to the publc?
-
Data type of the other schema reference
Hello
I want to reference the data type on the other schema, inv.customer, 1st schema table, 2nd table tran.order.
then, when I declare my package.
Procedure p_insertOrder
(
p_empid in customer.customerid%type
p_orderid in tran.order.orderid%type
);
However, it gives me this error message
PLS-00201: identifier 'tran.orde' must be declared.
the following package is located in inv schema. so when I make reference to the customer table, I do not have the diagram for it.
So what is the cause of this?
~ vincent.what grants do you have enabled on the table?
Log in as tran or a dba and try:
grant select on tran.order to inv;
You can also create a public synonym so you don't have to precede the table with the schema name. Beware of the tables of the same name in your current schema if you do it well.
-
Hello
I want to model the following situation in SQLD DM:
-Diagram 2
-1 schema, I define a view
-of the other schema I want to refer to this point of view in a view
Issues related to the:
-Create each drawing as a drawing or a relational model in a drawing?
-How can I refer to the other schema view in the query designer?
SQLD DM version 3.3.0.734
Thanks in advance,
JoopHi Joop,
Create each drawing as a drawing or a relational model in a drawing?
As a relationship in a drawing model.
How can I refer to the other schema view in the query designer
You have a set a display scheme that you create. If the objects used in the view definition belong to another scheme they are included with the schema name in a generated select statement. By default the objects in the same schema (such as the view) are not prefixed with schema name - if you want that the schema name to include, then check the box 'Schema to include in the query name' on the view dialog box.
Philippe
-
files of jump at the end of the list of the thumbnail after edit in Ps
Hello
Files of jump at the end of the list of the thumbnail after edit in Ps or any other plugin application.
So the question is... how I make them stay in the order and the new stick with original folow.
Help, please.
Thank you
Adrian
Adrian_from_London wrote:
It's "the stack with the original", but the two files of will jump to the back... I was looking for a command that would suit tiles in alphabetical order, but nowhere to be fond.
Sounds like you have the folder sorted by "added order." Just change it to "filename". If you are in the library, under the Pictures toolbar shows you the current sort order (if you chose to show by clicking the small triangle to the right end of the toolbar).
Who help me?
Bob Frost
-
Question as noted, sums it up. When I click on the mousewheel on a link in a tab, for I want a new tab open with that link and want it beside the tab, I clicked on the link in any as Firefox V3.6 has done. Firefox 8 is always open the new tab at the end of the list and boy is that embarrassing!
Please tell me how to solve this problem.
Define the Boolean browser.tabs.insertRelatedAfterCurrent true pref on the topic: config page.
To open the topic: config page, type Subject: config in the address bar (address) and press the 'Enter' key, as you type the url of a Web site to open a Web site.
If you see a warning then you can confirm that you want to access this page.- Use the filter at the top bar of the on: page config to more easily spot a preference.
- Preferences that have changed also show "BOLD" (user set).
- Preferences can be reset to the default value using the context menu if they are set of users
- Preferences can be changed via the context menu: Edit (string or integer) or toggle (Boolean)
-
My Internet EXPLORER Favorites list include several photos, text files and downloaded web pages, of which none appear when I import my Internet EXPLORER Favorites list in Firefox. Is there a way I can remember those?
There is a work around:
Export your IE Favorites to an HTML file, and then import it into Firefox. If you have questions more do not hesitate to ask.
-
iCloud music library playlists can include music from your music library to iCloud. This playlist cannot be downloaded, because it includes other types of media or songs that are not eligible.
What does that mean? I have iTunes game and not really encountered problems previously? I don't understand why I get this message? I'm just trying to create a playlist. Other playlists seem to be OK?
Hello
The playlist includes either a music file not for example PDF or a music file that is not eligible. Add iCloud status column to your playlist (view of the song) and it will tell you what is unacceptable.
JIm
-
Add values for them to table without accidental
Hi I am writing a program for research at penn state behrend. It is designed to take a pressure transducer values and calculate pressure losses. My teacher wants to gather incriments of 10, their average values and then store all means when the user chooses you to start saving. I use a loop for to bring values and the average of the 10 output collected values in a table. After 10 averages are collected the program to output these values in a table. I can't understand how to continue to add to this table without overwriting the previous values. Any help would be appreciated. I'm uploading what I have so far. Thank you
PS I use a generator of random numbers for testing only
ajh305
Keywords:
Build the Array function
shift registers
-
Hi all
I have a node Oracle RAC 5 system. It's pretty tough, RAM, cpu, etc. Running on RHEL5 64 bit. I have a block size of 8K.
I have a COTS application that is wanting to pay 128 M for 4K and 16K cache sizes...
I have never before worked with databases of the combination block size... setting of these parameters, are there any impacts or implications on I need to study, especially considering that there are a number of other schemes for many other applications that already use this system of database?
Links for reading and suggestions would be helpful.
I found this: http://docs.oracle.com/cd/B12037_01/server.101/b10755/initparams035.htm but it is hardly useful to know what impact this could have other applications that use the database.
Thank you in advance,
Cayenne
I have never before worked with databases of the combination block size... setting of these parameters, are there any impacts or implications on I need to study, especially considering that there are a number of other schemes for many other applications that already use this system of database?
.
My understanding is that objects of tablespaces with different block sizes will succeed only if you have already configured the db_cache_size and at least one
DB_nK_CACHE_SIZE
initialization parameter. As jgarry says there would be performance-related. Oracle documentation "large cache sizes usually reduces the number of disk reads and writes. However, a large cache can take too much memory and induce memory paging or Exchange" -
upgrades of vcenter 5.0.1b to 5.0.2 (5.0 update 2) includes the schema of database update/upgrade?
Hello
I'd be surprised if there is one, but have you checked with the database audit tool?
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2004286 - mentions not required for minor updates but still should be able to run it.
Many tx
Maybe you are looking for
-
How to get several lines with series C 9501 running with SoftMotion on a cRIO 9074 modules?
Hello I'll have set up many of the variable axes defined by the user with two modules in series c 9501 running on a Compact RIO 9074 stepper. I started with the example of "9501 Stepper Drive (Getting Started)", which worked fine with a simple variab
-
Lenovo IdeaPad A1000 stuck on recovery mod
HI, I have Lenovo ZTE A1000, he blocked on the Lenovo logo at the start, I tried the reset (button / stop + go-to top flight) and tried all the options that appears on the recovery screen, but do not work, please help me, I don't have enough knowledg
-
Hello I want to meausre voltage, current and power of a vacuum cleaner 220kW AC for Lab View. Can anyone help in the material side that all the components I need. I have little knowledge about it. Cecile
-
Looping/cycling through frequencies with the signal to create VI
Hello I am trying to operate a PZT with a given signal (of a formula) and to save the output of the sensors. I use a PXI of NI 5421 to generate the signal and an NI PXI 5105 to record signals. I made the attached code that works well, however, I'd li
-
I get an error when I click on a drive to view the files. It says "Windows cannot find 'uwp.exe'" where I could download a replacement for this file?