How to find those different namespaces in schema?
Hi,
I heard that schema contains different name spaces. how to find those different namespaces in schema?
I checked with this but it is throwing "table or view doesn't exist".
select namespace from v$librarycache;
Thanks
Praveen
Are you referring to this? From the SQL Language Reference manual under Schema Object Names and Qualifiers
7. Within a namespace, no two objects can have the same name.
The following schema objects share one namespace:
Tables
Views
Sequences
Private synonyms
Stand-alone procedures
Stand-alone stored functions
Packages
Materialized views
User-defined types
Each of the following schema objects has its own namespace:
Indexes
Constraints
Clusters
Database triggers
Private database links
Dimensions
Because tables and views are in the same namespace, a table and a view in the same schema cannot have the same name. However, tables and indexes are in different namespaces. Therefore, a table and an index in the same schema can have the same name.
Each schema in the database has its own namespaces for the objects it contains. This means, for example, that two tables in different schemas are in different namespaces and can have the same name.
Each of the following nonschema objects also has its own namespace:
User roles
Public synonyms
Public database links
Tablespaces
Profiles
Parameter files (PFILEs) and server parameter files (SPFILEs)
Because the objects in these namespaces are not contained in schemas, these namespaces span the entire database.Which is why you can do:
SQL> create table t (id number, descr varchar2(10));
Table created.
SQL> alter table t add constraint t check (mod(id,2) = 0);
Table altered.
SQL> create index t on t(id);
Index created.
SQL> create trigger t
2 before update on t
3 begin
4 dbms_output.put_line('T Trigger');
5 end;
6 /
Trigger created.but not:
SQL> create view t as select * from t;
create view t as select * from t
ERROR at line 1:
ORA-00955: name is already used by an existing objector
SQL> create procedure t
2 begin
3 null;
4 end;
5 /
create procedure t
ERROR at line 1:
ORA-00955: name is already used by an existing objectJohn
Similar Messages
-
How to find data dictionary and oracle schema tables for UTF8 char conversi
I am doing UTF8 char conversition, i got lot of convertable objects,as per document we don't need to worry about data dictionary objects and how to find data dictionary and oracle schema objects for UTF8 char conversition.
USER.TABLE Convertible Truncation Lossy
MDSYS.OPENLS_NODES 17 0 0
MDSYS.SDO_COORD_OP_PARAM_VALS 200 0 0
MDSYS.SDO_GEOR_XMLSCHEMA_TABLE 1 0 0
MDSYS.SDO_STYLES_TABLE 78 0 0
MDSYS.SDO_XML_SCHEMAS 3 0 0
ORDDATA.ORDDCM_CT_PRED_OPRD 51 0 0
ORDDATA.ORDDCM_DOCS 9 0 0
ORDDATA.ORDDCM_MAPPING_DOCS 1 0 0
SYS.METASTYLESHEET 178 0 0
SYS.REGISTRY$ERROR 2 0 0
SYS.RULE$ 21 0 0
SYS.SCHEDULER$_EVENT_LOG 182 0 0
SYS.WRH$_SQLTEXT 2,099 0 0
SYS.WRH$_SQL_PLAN 1,736 0 0
SYS.WRI$_ADV_ACTIONS 5,452 0 0
SYS.WRI$_ADV_DIRECTIVE_META 5 0 0
SYS.WRI$_ADV_OBJECTS 2,278 0 0
SYS.WRI$_ADV_RATIONALE 9,594 0 0
SYS.WRI$_ADV_SQLT_PLANS 455 0 0
SYS.WRI$_ADV_SQLT_PLAN_STATS 288 0 0
SYS.WRI$_DBU_FEATURE_METADATA 188 0 0
SYS.WRI$_DBU_FEATURE_USAGE 16 0 0
SYS.WRI$_DBU_HWM_METADATA 20 0 0
SYS.WRI$_REPT_FILES 27 0 0
XDB.XDB$DXPTAB 2 0 0
XML CSX Dictionary Tables:
USER.TABLE Convertible Truncation Lossy
Application Data:
USER.TABLE Convertible Truncation Lossy
APPLSYS.BISM_OBJECTS 4 0 0
APPLSYS.DR$FND_LOBS_CTX$I 0 103 1,260,883
APPLSYS.FND_CONC_PROG_ANNOTATIONS 272 0 0
APPLSYS.FND_OAM_CONTEXT_FILES 15 0 0
APPLSYS.FND_OAM_DOC_LINK 1 0 0
APPS.FND_OAM_CONTEXT_FILES_1 6 0 0
AZ.AZ_APIS 11 0 0
AZ.AZ_SELECTION_SET_ENTITIES_B 48 0 0
ECX.ECX_DTDS 205 0 0
ECX.ECX_FILES 91 0 0
IBC.IBC_ATTRIBUTE_BUNDLES 41 0 0
JTF.JTF_HEADER_DTD 1 0 0
JTF.JTF_MESSAGE_OBJECTS 82 0 0
JTF.JTY_TRANS_USG_PGM_SQL 29 0 0
ODM.ODM_PMML_DTD 1 0 0
OKC.OKC_REPORT_SQL_B 3 0 0
OKC.OKC_REPORT_SQL_TL 2 0 0
OKC.OKC_REPORT_XSL_TL 5 0 0
XDP.XDP_PROC_BODY 10 0 0
[Distribution of Convertible, Truncated and Lossy Data by Column]
Data Dictionary Tables:
USER.TABLE|COLUMN Convertible Truncation Lossy
MDSYS.OPENLS_NODES|SYS_NC00004$ 17 0 0
MDSYS.SDO_COORD_OP_PARAM_VALS|PARAM_VALUE_FILE 200 0 0
MDSYS.SDO_GEOR_XMLSCHEMA_TABLE|XMLSCHEMA 1 0 0
MDSYS.SDO_STYLES_TABLE|DEFINITION 78 0 0
MDSYS.SDO_XML_SCHEMAS|XMLSCHEMA 3 0 0
ORDDATA.ORDDCM_CT_PRED_OPRD|SYS_NC00004$ 51 0 0
ORDDATA.ORDDCM_DOCS|SYS_NC00005$ 9 0 0
ORDDATA.ORDDCM_MAPPING_DOCS|SYS_NC00007$ 1 0 0
SYS.METASTYLESHEET|STYLESHEET 178 0 0
SYS.REGISTRY$ERROR|MESSAGE 1 0 0
SYS.REGISTRY$ERROR|STATEMENT 1 0 0
SYS.RULE$|CONDITION 21 0 0
SYS.SCHEDULER$_EVENT_LOG|ADDITIONAL_INFO 182 0 0
SYS.WRH$_SQLTEXT|SQL_TEXT 2,099 0 0
SYS.WRH$_SQL_PLAN|OTHER_XML 1,736 0 0
SYS.WRI$_ADV_ACTIONS|ATTR5 2,726 0 0
SYS.WRI$_ADV_ACTIONS|ATTR6 2,726 0 0
SYS.WRI$_ADV_DIRECTIVE_META|DATA 5 0 0
SYS.WRI$_ADV_OBJECTS|ATTR4 2,278 0 0
SYS.WRI$_ADV_RATIONALE|ATTR5 9,594 0 0
SYS.WRI$_ADV_SQLT_PLANS|OTHER_XML 455 0 0
SYS.WRI$_ADV_SQLT_PLAN_STATS|OTHER 288 0 0
SYS.WRI$_DBU_FEATURE_METADATA|INST_CHK_LOGIC 21 0 0
SYS.WRI$_DBU_FEATURE_METADATA|USG_DET_LOGIC 167 0 0
SYS.WRI$_DBU_FEATURE_USAGE|FEATURE_INFO 16 0 0
SYS.WRI$_DBU_HWM_METADATA|LOGIC 20 0 0
SYS.WRI$_REPT_FILES|SYS_NC00005$ 27 0 0
XDB.XDB$DXPTAB|SYS_NC00006$ 2 0 0
XML CSX Dictionary Tables:
USER.TABLE|COLUMN Convertible Truncation Lossy
Application Data:
USER.TABLE|COLUMN Convertible Truncation Lossy
APPLSYS.BISM_OBJECTS|SYS_NC00023$ 4 0 0
APPLSYS.DR$FND_LOBS_CTX$I|TOKEN_TEXT 0 103 1,260,883
APPLSYS.FND_CONC_PROG_ANNOTATIONS|PROGRAM_ANNOTAT 272 0 0
APPLSYS.FND_OAM_CONTEXT_FILES|TEXT 15 0 0
APPLSYS.FND_OAM_DOC_LINK|DOC_LINK_INFO 1 0 0
APPS.FND_OAM_CONTEXT_FILES_1|TEXT 6 0 0
AZ.AZ_APIS|FILTERING_PARAMETERS 11 0 0
AZ.AZ_SELECTION_SET_ENTITIES_B|FILTERING_PARAMETE 48 0 0
ECX.ECX_DTDS|PAYLOAD 205 0 0
ECX.ECX_FILES|PAYLOAD 91 0 0
IBC.IBC_ATTRIBUTE_BUNDLES|ATTRIBUTE_BUNDLE_DATA 41 0 0
JTF.JTF_HEADER_DTD|HEADER_DTD 1 0 0
JTF.JTF_MESSAGE_OBJECTS|BUS_OBJ_DTD 41 0 0
JTF.JTF_MESSAGE_OBJECTS|BUS_OBJ_SQL 41 0 0
JTF.JTY_TRANS_USG_PGM_SQL|BATCH_DEA_SQL 1 0 0
JTF.JTY_TRANS_USG_PGM_SQL|BATCH_INCR_SQL 5 0 0
JTF.JTY_TRANS_USG_PGM_SQL|BATCH_TOTAL_SQL 6 0 0
JTF.JTY_TRANS_USG_PGM_SQL|INCR_REASSIGN_SQL 5 0 0
JTF.JTY_TRANS_USG_PGM_SQL|REAL_TIME_INSERT 6 0 0
JTF.JTY_TRANS_USG_PGM_SQL|REAL_TIME_SQL 6 0 0
ODM.ODM_PMML_DTD|DTD 1 0 0
OKC.OKC_REPORT_SQL_B|SQL_TEXT 3 0 0
OKC.OKC_REPORT_SQL_TL|HELP_TEXT 2 0 0
OKC.OKC_REPORT_XSL_TL|HELP_TEXT 2 0 0
OKC.OKC_REPORT_XSL_TL|XSL_TEXT 3 0 0
XDP.XDP_PROC_BODY|PROC_BODY 10 0 0
-------------------------------------------------- ---------------- ---------------- ----------------Hi;
Please run below query which could be helpful for your issue:
select * from dictionary where TABLE_NAME LIKE '%NLS%'
select * from dictionary where TABLE_NAME LIKE '%GLOBAL%'
Regard
Helios -
How to find full tables hierarchy in schema
Hi,
How to find the table hierarchy list from oracle schema by using Reference Key constraint?
In my schema I am having many tables, approximate 4000 and from there I needs to get a single list which should be based in the Foriegn key based (Parent tables should be first then child tables)
Regards
AneeYou can start with this
select A.table_name children,
B.TAble_name Father
from DBA_CONSTRAINTS A,
DBA_CONSTRAINTS B
WHERE A.CONSTRAINT_TYPE = 'R'
And B.Constraint_name = a.r_Constraint_name -
How to find 2 different projects are using which gl accounts and co pa char
Hi ,
There are 2 different project id s , now how to find differences between them regarding using of G/L accounts and required characteristics for the COPA module ?
Thanks & regds
Ramachandrahope you are talking about the value field for COPA.
Please go to the project profile and find out the settlement profile, and from settlement profile find out the PA transfer structure, and check the PA transfer structure for COPA value filed details. -
Plz Help me: how to find two different Expressions (Objects Strig)are equal
Actaully I m having a problem i have the situation
Suppose i have two String objects s1="Hotel in Paris" and s2="Paris in Hotel"
means if we have to String then by considering the permutations on first String we have serch out that whether it is foud in second string or not: e.g
String s1= "computer notebook sony";
String s2=" sony computer notebook ";
How to find that these two Objects or your can say "expressions" are equal in java ..................................................................................................Please Tell , if any one have any idea abt it
many many Thanks in AdvanceThis won't work with duplicate words, will it? well, maybe, since you are putting both strings in sets. But then, how would this handle capitalization? This is my ugly solution:
public static void main(String[] args) throws Exception {
String s1= "computer notebook sony";
String s2=" sony Computer notebook ";
s1 = s1.toLowerCase();
s2 = s2.toLowerCase();
String [] words1 = s1.split("\\b");
for(String w : words1)
s2 = s2.replace(w,"");
if(s2.trim().length() == 0)
System.out.println("The strings are equal");
else
System.out.println("They are not equal.");
}~Tim -
How to find invalid objects in specific schema?
Please let me know hoe to find invalid objects in specific schema such as SYS?
Please help and guide
Thanks,
Waheed.Ok i get invalid objects now if i want to delete these invalid objects which query i have to run?
also let me know there is no harm if i del invalid objects from SYS schema?
Please help and guide
Thanks,
Waheed. -
IT 15: How to find out different cost assignment specifications
Hello,
in the infotype 0015 (Additional Payments) it's possible to to define different cost assignment specifications (for example a different cost center than defined in IT0001). I already found out, that you can select those datasets with a special cost assignment specification by filtering the flag on the field PA0015-REFEX.
What I didn't find out is, where I can select the cost center (or in general: the CO object), that was defined for that dataset? Is there a special table?
Thanks for your help.
Regards, LulzimHi Lulzim,
The cost assignments are stored in ASSHR / ASSOB and PDSNR tables..
Get PDSNR key from ASSHR table (Infotype 15) .. get details from ASSOB and PDSNR table
Please kindly close the thread by allocating points if this resolves your issue..
-Bharat -
How to find the Different entries of the characters.
HI Gurus,
i have two characters in the Cube, for these two characters text is same for some records and different for some records. My requirement i need to find out the records whose text values are different for these two characters. I need to find out these records in the report level. Please guide me the way to find out a solution for this issue.
Thank you very much in advance
James
Message was edited by:
james winsletHi ,
I want the Report like this.
TransactionID--Usersite-Custsales
10001--newyork1newyork2
10002--newyork3newyork5.
10003--newyork6newyork6.
In above report I Do not want the 3rd row because in that one the two characteristics text's are equal.
I want the final report as
TransactionID--Usersite-Custsales
10001--newyork1newyork2
10002--newyork3newyork5.
Thanks,
James -
How to find the tablespace name and schema name from a dump file
Good day to all,
I recived a dump file from a client with oracle 11g, and I need do get the tablespace and schema name from the dump file. How can I do that?
Thanks.
Flávio Melo
Edited by: 933141 on 09/05/2012 07:41user12038066 wrote:
Use imp utility, it generates DDL for both tables and indexes. So you will get tablespace info for both.
Use impdp utility, it generates DDL for indexes only. So you will miss tablesapce info for tables.
Haven't found a workaround for impdp utility. Anyone knows?Are you sure you are using the impdp utility correctly? Because if you do, then sqlfile should have all gory details. -
How to find 2 different characters from a string
Hi All,
I would like to remove 'T' and 'Z' from "20110428T10:33:45Z" and convert the string in date/time. I was looking at instr function but that allows to search for one character only.
Thans for the help.With 10g
SELECT REGEXP_REPLACE ('20110428T10:33:45Z', '[T|Z]') dt
FROM DUAL
DT
2011042810:33:45
1 row selected.For the conversion
SELECT TO_DATE (REGEXP_REPLACE ('20110428T10:33:45Z', '[T|Z]'),
'YYYYMMDDHH24:MI:SS'
) dt
FROM DUAL
DT
2011-04-28 10:33:45
1 row selected. -
Hi,
How to find the size of the schema in a daabase.
Thanks,
MahiMahi,
One more option, though not so clean would be use Data Pump and its estimate file size option for the schema. The estimate would tell you the info about the size of the schema.
HTH
Aman.... -
How to find different styles from Indesign CS4 Grap style?*
Hi,
I would like to know how to find two different character style from a single grap command in Indesign CS4.
For instance, A word having bold/italic character style following with punctuation having normal/none character style.
Thanks for your help!
Regards,
BharatWith GREP styles you can search text only, not formatting.
Peter -
How to find SAP Script Form name for an particular transaction
Hi,
I had an issue, in the transaction F110 Payment advice. They need to adjust the spacing on the cheque printing, which is overlapping the names on the cheque and hence I have forgotten how to find the form name and the driver program of the script. Can anybody suggest me how to find those. Your help will be appreciated.
Thanks in advance.>
Muralidhar Medisetty wrote:
> Hi,
>
> I had an issue, in the transaction F110 Payment advice. They need to adjust the spacing on the cheque printing, which is overlapping the names on the cheque and hence I have forgotten how to find the form name and the driver program of the script. Can anybody suggest me how to find those. Your help will be appreciated.
>
> Thanks in advance.
hey
NACE is the transaction ..for this u must know the output type..
Script for Cheque Printing and Payment Advice can be known from Transaction FBZP...
FBZP -> paying Company Codes -> u will get Script used for Payment Advice
FBZP -> Pmnt methods in company code -> u will get Script used for Cheque Print
....Give points if useful.....
Edited by: Satyabrata sahoo on Oct 14, 2008 4:42 PM -
How to find Zsegment Feilds in Customer Master?
Hi Friends and Experts,
I am looking in ZSegment having some customized fields and some standard fields. I Know the fields are from customer master, But i didn't see any such in field respective customer master.I have taken out technical field names.I just want to know How to find those mapped fields in sap customer master through Process code. Can any of you experts spend ur valuable time to get me some solution on this? Its an OutBound Idoc.
Your Help is Most appreciated with Points.
Mani.Hi,
Those fields may be suppressed in the customer master field layout. This functionality is governed by the account grps. Check the accnt grps you will surely find sumthing.
Regards,
Saurabh -
Iphoto macbook: how can find edited photos in macbook from iphone6?
hi there:
i used iphone6 take pics and edited it, then i synced it into my macbook and deleted it
after i found those of pics are original, no edited.
how can find those of edited pics on my macbook now?
i try to find in " /~iphoto library , the Modified Ablum," but no edited pics......
pls help!!
thx!!You can't. It only syncs the original.
Maybe you are looking for
-
I accidentally deleted the Quick Time from my computer. What should I do now??? Can I reistall i-Tunes without loosing my downloaded music? Thx
-
Duplicate record identifier and update
My records look like Name City Duplicateindicator SAM NYC 0 SAM NYC1 0 SAM ORD 0 TAM NYC 0 TAM NYC1 0 DAM NYC 0 for some reason numeric character are inserted into city which duplicated my records , I need to Check for the d
-
Can Someone Help With .msn (hotmail) IPAD e-mail Screen Set Up?
Hello All, The MSN people have been no help at all. I'm trying to get the .msn (hotmail) set up in the IPAD so I can see the "Folders", "E-mails" then the "Reading Pane" from >left to right< at the same time. All I get now is one e mail ail per lin
-
Can't get rid of Speedo App appearing when pressing APPs info?
When I tap the APPs icon for app info, the recently downloaded Speedo app centres, inviting me to open it but there's no indication of how to close it/make it disappear so I can't access the APP store. How do I make it go off screen & still access A
-
My iPhone 6 stopped charging in the car. It used to work but with iOS 8.1 - or so - it just stopped. The cable is fine because when I plug in to any USB charger in the house it works. But Inside the car the iPhone says "Accessory not supported". So i