CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Oracle

  1. #1
    Join Date
    Dec 2000
    Location
    Canada
    Posts
    59

    Oracle

    There is a bunch of constraints on my table.
    I want to drop them but I can't find anywhere the syntax to drop a constraint without delete the table or its information.

    Raistlin


  2. #2
    Join Date
    Mar 2001
    Location
    Australia
    Posts
    146

    Re: Oracle

    Not really a VB question but the syntax is:

    ALTER TABLE TableName
    DROP CONSTRAINT ConstraintName CASCADE;

    CASCADE is optional I think but if the changes are cascading and you don't have it you will get an error.

    Is your name really Raistlin? If so, your parents must have loved the Dragonlance books

    Hope this helps,

    Nathan Liebke (Yes that's my real name)





  3. #3
    Join Date
    Dec 2000
    Location
    Canada
    Posts
    59

    Re: Oracle

    Thank you
    I know it wasn't a VB question but I come here a lot and answer many peoples questions that deal with Oracle and DB connections. I thank you for the help.


    The Black Robe Concave
    Master of Past and present(Raistlin)



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

Featured