Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8941039
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T11:12:19+00:00 2026-06-15T11:12:19+00:00

I have an Oracle schema with no tables (I dropped them). When I look

  • 0

I have an Oracle schema with no tables (I dropped them). When I look at the user_constraints table, however

    SELECT * FROM user_constraints;

I see a number of rows. How is it possible to delete these constraints?

    DELETE FROM user_constraints WHERE owner='owner';

did not work, it gave me an “insufficient privileges” error.

    SELECT owner, constraint_name, constraint_type, table_name, r_owner, r_constraint_name  FROM user_constraints;

    OWNER                          CONSTRAINT_NAME                CONSTRAINT_TYPE TABLE_NAME                     R_OWNER                        R_CONSTRAINT_NAME            
    ORA_AI_1_9                     BIN$z2XwnFUHEHrgQ4sGOR4Qeg==$0 P               BIN$z2XwnFUJEHrgQ4sGOR4Qeg==$0                                                               

    ORA_AI_1_9                     BIN$z1NhC6g4oErgQ4sGOR6gSg==$0 P               BIN$z1NhC6g6oErgQ4sGOR6gSg==$0                                                               

    ORA_AI_1_9                     BIN$z1anK5OEEHrgQ4sGOR4Qeg==$0 P               BIN$z1anK5OGEHrgQ4sGOR4Qeg==$0                                                               

    ORA_AI_1_9                     BIN$z1NhC6hhoErgQ4sGOR6gSg==$0 P               BIN$z1NhC6hjoErgQ4sGOR6gSg==$0            
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T11:12:21+00:00Added an answer on June 15, 2026 at 11:12 am

    so are you on 10/11g and have the recylebin perhaps?

    SQL> select count(*) from user_tables;
    
      COUNT(*)
    ----------
             0
    
    SQL> select count(*) from user_constraints;
    
      COUNT(*)
    ----------
             0
    
    SQL> create table foo(id number primary key);
    
    Table created.
    
    SQL> ALTER SESSION SET recyclebin = ON;
    
    Session altered.
    
    SQL> select count(*) from user_tables;
    
      COUNT(*)
    ----------
             1
    
    SQL> select count(*) from user_constraints;
    
      COUNT(*)
    ----------
             1
    
    SQL> drop table foo;
    
    Table dropped.
    
    SQL> select count(*) from user_constraints;
    
      COUNT(*)
    ----------
             1
    
    SQL> select count(*) from user_tables;
    
      COUNT(*)
    ----------
             0
    
    SQL>
    

    you can purge the reclebin to fix this.

    SQL> purge recyclebin;
    
    Recyclebin purged.
    
    SQL> select count(*) from user_constraints;
    
      COUNT(*)
    ----------
             0
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an oracle 10g database that has 2 tables: a REBATES table, and
I have been tasked with comparing two oracle schema with a large number of
I have some Oracle tables that represent a parent-child relationship. They look something like
I have an ORACLE schema containing hundreds of tables. I would like to delete
I created a datapump export (Oracle 11g) from SCHEMA A on a partitioned table
I have an Oracle account (schema) of a remote Oracle database. By using this
I have a oracle table A which contains a column A.a which used to
I have a schema in an Oracle 11g R2 database that I'm trying to
We have a product using Oracle, with about 5000 objects in the database (tables
I have two tables both have same schema, one will have previous day records

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.