- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Drop any table ?? for user in different schema
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2007 04:54 AM
тАО11-20-2007 04:54 AM
Drop any table ?? for user in different schema
I would perfer not to give him this drop any table that can be very nasty on any other table...
Oracle 10.2.0.2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2007 05:07 AM
тАО11-20-2007 05:07 AM
Re: Drop any table ?? for user in different schema
membership in the db_ddladmin fixed database role.
USE dbname
GRANT ALTER ON OBJECT :: tablename TO username;
GO;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2007 08:53 PM
тАО11-20-2007 08:53 PM
Re: Drop any table ?? for user in different schema
You may also try implementing Proxy User.
SQL> show user
USER is "SCOTT"
SQL> alter user yogeeraj grant connect through scott;
User altered.
SQL> connect scott[yogeeraj]/tiger
Connected.
SQL> show user
USER is "SW1"
SQL>
hope this helps!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2007 08:56 PM
тАО11-20-2007 08:56 PM
Re: Drop any table ?? for user in different schema
Is your flashback feature is set on. If you have FLASHBACK feature on, you need not worry about user droping table. It will be placed in recyclebin from where you can restore it.
Plz let me know if you want more information on this.
Thanks,
Srikanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2007 10:25 PM
тАО11-20-2007 10:25 PM
Re: Drop any table ?? for user in different schema
sorry for the typing mistake in my previous post which should instead read as follows:
SQL> show user
USER is "SCOTT"
SQL> alter user yogeeraj grant connect through scott;
User altered.
SQL> connect scott[yogeeraj]/tiger
Connected.
SQL> show user
USER is "YOGEERAJ"
SQL>
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-21-2007 03:46 AM
тАО11-21-2007 03:46 AM