DBAsupport.com Forums - Powered by vBulletin
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: remove/drop comments from table

  1. #1
    Join Date
    Sep 2001
    Posts
    200

    remove/drop comments from table

    hi all,
    I have created a table with comments on the table but I want to remove/drop those comments....
    help
    Life is what is happening today while you were planning tomorrow.

  2. #2
    Join Date
    Aug 2002
    Location
    Colorado Springs
    Posts
    5,253
    Just
    Code:
    comment on table my_table is ''
    That's two single-quotes.
    David Aldridge,
    "The Oracle Sponge"

    Senior Manager, Business Intelligence Development
    XM Satellite Radio
    Washington, DC

    Oracle ACE

  3. #3
    Join Date
    Mar 2004
    Location
    DC,USA
    Posts
    650
    Quote Originally Posted by ndisang
    hi all,
    I have created a table with comments on the table but I want to remove/drop those comments....
    help
    use:

    COMMENT ON COLUMN tablename.comment_columnname IS ' ';
    "What is past is PROLOGUE"

  4. #4
    Join Date
    Sep 2001
    Posts
    200
    guys.....................please read the post first before replying OKKKKKKKKKKKKKKKKKKKKK...
    I said I have the comments on the table already. What I want to do now is remove them (the comments)...
    Thanks
    Life is what is happening today while you were planning tomorrow.

  5. #5
    Join Date
    May 2005
    Location
    AZ, USA
    Posts
    131
    Quote Originally Posted by ndisang
    guys.....................please read the post first before replying OKKKKKKKKKKKKKKKKKKKKK...
    I said I have the comments on the table already. What I want to do now is remove them (the comments)...
    Thanks
    Remove = replace with nothing?

    Please, try the response before rejecting the concepts.

  6. #6
    Join Date
    Mar 2004
    Location
    DC,USA
    Posts
    650
    TO ALL,

    Read the document before posting your query,
    Give careful attention to detail before posting,
    Try out the solution given by Expert DBA's,
    Try the same before posting the solution,
    Finally be patient enough to read the threads( all words) carefully.
    "What is past is PROLOGUE"

  7. #7
    Join Date
    Sep 2001
    Posts
    200
    Quote Originally Posted by dbtoo
    Remove = replace with nothing?

    Please, try the response before rejecting the concepts.
    dbtoo,
    I did not reject anything. If you read the responses the guys provided they are telling me how to create/add comments to a table/columns. But in my post (original) I said that I have already created/added those comments. What I was requesting for, was a sql to remove/delete them (comments).
    Thanks.
    Life is what is happening today while you were planning tomorrow.

  8. #8
    Join Date
    Nov 2005
    Location
    Indianapolis
    Posts
    24

    Try the suggested code

    Read the posts again. You need to try the suggested code. They are giving you the correct method to remove a comment. You set it to an empty string. If you don't believe them, look it up in the Oracle documentation...

    HTML Code:
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_410a.htm#2060178

  9. #9
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,334
    and then sort your attitude out

  10. #10
    Join Date
    Dec 1999
    Location
    Purgatory
    Posts
    346
    Amen.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width