How to see the views created on a table
Dear all,
Please let me know the procedure to find out "the views created on a perticular table"
CKPT wrote:
Did OP mentioned ? :(
change the query as
select a.view_name,b.table_name from dba_views a, dba_tables b where a.owner='user1' b.owner='user2' and b.table_name='table' and a.owner='user';simpleWhat is that query supposed to return ?
<s>It will do a scalar product between DBA_VIEWS and DBA_TABLES returning one single table name for every single view over your db without any link together except they have the same owner. Very useful, very helpful.</s><br>
I misread the query, it is even worse than I thought, the query will return nothing. Nothing because a.owner cannot be equal to user1 and to user in the same time.
I think Girish give a much better solution with DBA_DEPENDENCIES.
Nicolas.
Edited by: N Gasparotto on Aug 12, 2010 12:48 PM
Similar Messages
-
How to find the views created on a table..?
Hi all,
I am having one table name, EMP. I want to know what are the views created on this table. Is there any SQL query is there for this or any another
way to find it.
Thanks in advance.
PalYou can use ALL_DEPENDENCIES for that:
SQL> create view emp_v as select * from emp;
View created.
SQL> select name
2 , referenced_name
3 , referenced_type
4 from all_dependencies
5 where name = 'EMP_V';
NAME REFERENCED_NAME REFERENCED_TYPE
EMP_V EMP TABLE
1 row selected.
SQL> select name
2 , referenced_name
3 , referenced_type
4 from all_dependencies
5 where referenced_name = 'EMP';
NAME REFERENCED_NAME REFERENCED_TYPE
EMP_V EMP TABLE
EMP_TRG EMP TABLE
2 rows selected.
SQL> Keep in mind that it matters whether you restrict on NAME or on REFERENCED_NAME.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/statviews_1041.htm#sthref935
edit
Ah, spoonfeeding!
Don't you want him to learn something, and to become independent?Now you made me feel guilty ;) ( don't know what Saubhik posted originally, but anyway...)
I blame my currently terribly slow connection for that...
Anyway, OP, always start a quick search from the docs first.
Chances are you'll find your answer yourself.
Homes:
http://www.oracle.com/pls/db102/homepage
http://www.oracle.com/pls/db112/homepage
Edited by: hoek on Oct 15, 2010 2:53 PM -
How to see different views created for material
hello sap gurus
How to see, under which all views the material has been created?
Points will be given
Thanks in advance
VijayHi
The no of views to be opened when you create a material in MM01 depends on the Material type
BY changing the material types the views can be changed
IMG->logistics general>Material Master>Basic settings>Material types-->Define attributes of material types
Here only the settings is done
Raja -
How to see the record stored in multiple table
please send me the
Hi,
You can do it like this:
DECLARE
rec_count NUMBER;
BEGIN
FOR tbl_cur IN (SELECT table_name from user_tables)
LOOP
EXECUTE IMMEDIATE 'SELECT COUNT(*) FROM '||tbl_cur.table_name INTO rec_count;
IF rec_count >0 THEN
DBMS_OUTPUT.PUT_LINE(tbl_cur.table_name||' has data.');
ELSE
DBMS_OUTPUT.PUT_LINE(tbl_cur.table_name||' has no data.');
END IF;
END LOOP;
END;**not tested**
Regards
Avinash -
How do I see the "views" to my posts? I can only see the replies
How do I see the "views" to my posts? I can only see the replies
A view occurs when someone clicks on the link to a specific thread; if they choose not to or can't reply for some reason, no record of who it was is left in any place you can access. Therefore, you can't find out who has viewed a thread if they've opted not to reply to it.
(15223) -
How to see the table in se11 that has been created in oracle 10g directly
hi,
how to see the table in se11 that has been created at SQL> prompt in oracle 10g directly ?
is there any procedure to attache directly created table into sap ?I think you have to create it in SE11 first. Although you can probably use native SQL to access it from an ABAP program.
Rob -
How to hide the view latest instance option for the reports in XIR3
Created an access level and denied the rights "view document instances" and "view document instances that the user owns" in the access level.
Applied this access level for a particular group on a particular folder.
Login to Infoview and when view the history,there are no instances for a particular report under that folder.
But we could still see the 'View Latest instance' option in the properties of the report and when click on it,we are able to view the report.
As per the security assigned,the user should only be able to view the instances owned by him.
Plz help me how to hide the option in INFOVIEWIn 9.3.1 (not sure about 9.2) there is a table in your BIPlus repository which stores preferences/profile information, however, having a user simply log in to WA doesn't appear to automatically create a row for them in this table. (So this may not be a viable solution to your situation, I'm still looking for one myself.) This table stores lots of preference info such as whether or not to show the Main Menu, Toolbar, Masthead, etc. by default.
To hide the View Pane, edit the data in the SHOW_INFO_PANEL column, change it from a 1 to a 0 and for that user the View Pane will not longer appear by default.
HYA_USER_PREFS
But again, this only works if you already see the user in the table otherwise I guess maybe they have to 'touch' their Preference before it creates an entry in that table. Haven't figured that part out yet, and Support didn't have any information.
If anyone has found a way to maneuver through the table structures I'd love to hear any insight you can offer.
Before you make any changes to the data in this table be sure to take adequate repository backups, and use caution as usual.
I'm going to create a Shared Preference and have each user point to it the first time they log in - but then you lose the ability for each user to have their own personal folder as their default, so it's still not the ideal solution. Really wish there was a way for Admins to set certain prefs. A coworker reminded me under 7.? or 6.x things like View Pane were system-level settings which was easy to control, but now it's at the user level.
Good luck,
Karen -
How to set the view privilege of a portlet?
Dear all,
I would like to ask how to set the view privilege of a portlet (which is located on the Intranet homepage) to only a group of users?
As far as I know, I can create a tab with view privilege to address the about scenario. But is it possible to directly set the view privilege to the portlet ?
thanks
George (HK)
Welcome to my photo albums at http://community.webshots.com/user/GeorgeLee80
Message was edited by:
georgelkhOK, you got me there George. I don't know where you can set view rights to an out of box portlet. So how about a different approach?
1) Create a blank page with no nav bar or anything else
2) Assign the group you want to see the notifications portlet view rights on the page
3) Make sure the show as portlet check box is checked on the Optional tab in the page properties
4) Add the notifications portlet to the page
5) Ensure the portlet settings are how you desire in terms of what notifications to show and the region settings are how they should be in terms of border, headers, etc
6) Edit the page where you want the notifications portlet to be shown and add the page portlet you just created instead of the notification portlet
This should achieve what you seek without having to dig into out-of-box portlets.
Rgds/Mark M. -
How to see the pass folios when log in to another cell phone or iPad
how to see the pass folios when log in to another cell phone or iPad
You need to log into the content viewer with the same Adobe ID you used to create the folio. Note: iPad folios will not appear on the iPhone but should be available on all other devices.
-
How to get the view Object in UserDefined Action
Hi All,
Any body tell me how to get the view object , like the view object avilable in the wdDoModifyView() method as parameter.
I have requirement like, i want to change the , no of rows displaying in the table should be changed at the runtime based onthe no of rows selected in the dropdown box.
The action which i created will be assigned to that dropdown box, on select of the available option, i will get the view object and change the properties of the "maxrows" of the table .
so for getting the view object in the the Action methods tell me what is the procedure for getting the current view object.Hello Vishal,
Simply create a value attribute (say rowCount) of type 'integer' and bind it to the 'visibleRowCount' property of your table. Then, in the actionHandler get the value from the UI element (in your case, I guess it is drop down) and set it to the attribute 'rowCount' like this.
wdContext.currentContextElement.setRowCount(
wdContext.current<nodeElement>.set<AttributeBound toDropDown>);
Bala -
How to see the ouput of a purchase order on screen??
Hi all , how to see the output of a purchase order (ME23) on screen?
Points will be awarded!!!!
Thanks & Regards
JohnHi,
If any output tye is associated to PO and it is been triggered then User ME9F tocde to view the output.
To check thise first Use: ME23 and click on Messages, if any outputs are triggered and they are in Yellow status then Use ME9f. Once you execute you will get Outputs in the screen, then choose the output and click on Display Message button. Your output will be displayed on the screen.
Regards,
Ashok -
Grant access to all the views created in user schema to another schema
How to grant access for all the views created in own HAGGIS schema to comqdhb schema on the HAGGIS database.
Oracle Grant Privileges
===============
Object privileges assign the right to perform a particular operation on a specific object
I read that we can use select 'grant select on' ||view_name||'HAGGIS' user_views where owner='COMQDHB'
Is this right
Oracle System Privileges
===============
System privileges should be used in only cases where security isnt important,because a single grant statement could remove all security from the table
Role based security
============
Role security allows you to gather related grants into a collection-since the role is a predefined collection of privileges that are grouped together.privileges are easier to assign to users.
[http://www.dba-oracle.com/art_builder_grant_sec.htm]
can we grant select update to all the views at a time to the other schema.
Are there any other ways to secure the data other than creating users and assigning roles.
Thank you
Edited by: Trooper on Dec 23, 2008 9:24 AMI think what was suggested was that you use SQL to generate the grants on each and every view, that is, you use SQL to generate SQL where the SQL being generated is "grant select on view_name to role'"
If you users to connect to Oracle you have to create usernames for them though if the users only connect via an application the application might run just as one user and access to the application is controled via application security. The control on the application can be via Directory Services such as OID or MS Active Directory. User access to Oracle can also be controlled via OID.
To connect to Oracle you can use OS authenication (not recommended), usernames with passwords, or via Advanced Security Option which supports single sign-on products like Kebros or Oracle Internet Directory etc....
Example using SQL to generate SQL
How do I find out which users have the rights, or privileges, to access a given object ?
http://www.jlcomp.demon.co.uk/faq/privileges.html
HTH -- Mark D Powell -- -
How to see the iview in portal favorite
Hi,
It is possible to see the iview in portal favorite without giving content admin role. How to add the iview created in portal to display in portal favorite.
Thanks,
KundanHi,
Your question is not very clear for me....According to my understanding i am replying u.
Portal favourites is itself an iview.
If u want to show some other iview in place of Portal favourites then you need to do some changes in your framework page.
Go to content admin and go to your framework page ---> select Desktop Innner Page
then u can see Portal favourites iview there.
If u want to show some ivew in place of portal favourites, then delete Portal favourites and add the iview which u want to display.
~Raju
Edited by: V R K Raju P on Sep 9, 2009 3:31 PM -
How to see the customer purchase order acknowledgement ?
How to see the customer purchase order acknowledgement ?
in that PO ACK where we see the UOM and Qty ?
thanks & regards,
Srikanth.hi
Customer Purchase Order is nothing but the Sales Order in your system
Customer Po acknowledgement is nothing but the Acknowledgement that is sent out (output type BA00) to the Customer after the Sales Order has been created.
Note: Purchase is to Customer - Sales is to you as the Vendor.
cheers
Nandu
Edited by: Nanda Kumar Veeraraghavan on Apr 1, 2008 12:11 AM -
how to see the battery usage? my unit is iPod touch 5 generation.
Message was edited by: CatrinaRD_16CatrinaRD_16
how to see the battery usage? my unit is iPod touch 5 generation.
Message was edited by: CatrinaRD_16
iPod touch, iOS 6.1.1
like Diavonex stated, you could use an app created to check the battery percentage
but remember, google is your best friend =^)
Maybe you are looking for
-
I tried to create a situation where my daughter and I could share our itunes libraries on the same computer. I was following all of the steps but inadvertently moved the entire itunes folder from to the public one instead of just moving the media.
-
Problems working with non drop and drop frame DVCPRO HD material in project
I am having playback problems with my non drop frame HDV material. It stutters. All of our projects up to this point have been shot in drop frame. During our last shoot however the Bcam was recorded in non drop. I loaded both the non drop bcam tapes
-
Can anyone help with YouTube embed and scrolling problem?
Hi, Whilst working on a mobile version of a site, I've noticed that if you're scrolling through on a device and the area with the YouTube embed is near the top of the screen, it'll suddenly scroll all the way back up to the top of the site. This only
-
Bid Invitation Creation - Error
Dear all, I am using BBP_PD_BID_CREATE to create bid Invitation. I have populated the Header, Item and Orgdata and testing in SE37. I am getting the following error Type Message-ID MessageNUM
-
Hi, Is there a way to define relationships in 2 BPC dimensions or any other work arround to achive below requirement? Let say I have 2 dimensions (Facility and Products) One product can exisit in multiple facilities, how can I link products to facili