Is it possible to remove the NOT NULL to a non-key column constraint?

Oracle version: Enterprise Edition 11g - 11.2.0.1.0
OS: Redhat Linux Enterprise Edition 5.0



Hi all


I have a question on the NON NULL columns in oracle tables and I would be grateful if you could kindly help me with this problem well.

I have the following table
CREATE TABLE ARTICLES
(
    artid                VARCHAR2(20),
    lbl                  VARCHAR2(100)        NOT NULL,
    cmporder             VARCHAR2(30)         NOT NULL      
)

ALTER TABLE ARTICLES ADD CONSTRAINT PK_ARTICLES PRIMARY KEY(artid);
It's about a year that I have this table but recently the data model has changed and the third column of the table is that is mandatory, so NULL values for column 3 cmporder are allowed. I want to know is if it is possible to change the definition of the table (for example using an ALTER statement) in order to remove the "NOT NULL" in the third column constraint? This way I can keep the 2 million lines that are already in the table and avoid making a bakup before the deletion and re-creation of the table.


Thanks in advance,

Kind regards
Dariyoosh

Yes its possible...

ALTER TABLE ITEMS CHANGE cmporder NULL;

It will do for you

Tags: Database

Similar Questions

  • Why is it not possible to remove the background in photoshop? I want to see the finder when I work in Photoshop.

    Why is it not possible to remove the background in photoshop? I want to see the finder when I work in Photoshop.

    Hello

    I'm assuming you use PS CC 2015 and Mac

    Open PS, click window - frame of the Application.

    Concerning

    Assani

  • Collage of album covers in the past I copied and pasted the album art to my music (MP3) have ripped off a disk files. Is it possible to remove the art I ad

    original title: collage of album art

    Hello everyone, I have a question... In the past I have copied and pasted album art to my music (MP3) have ripped off a disk files. Is it possible to remove the art that I added and to restore the original empty file?

    Hello
     
     
    Method 1:
     

    Album art should appear in the view "is on the air." However, if you select the album of the artist, the album art is not displayed.
     

    In the upper right corner there is Options to view fall down. Change the details to tiles view expanded and the cover of the album should reappear.
     

    If this does not help, then go to the center of the Action. Click on troubleshooting.
     

    Click Show all on the left side, and then select Windows Media Player troubleshooting
    Options.
     

    Refer to this link and check if it helps:
     
     
    Method 2:
     
    Try to clear the database of Windows Media Player. To do this, follow these steps:
     

    a. exit Windows Media Player.
    b. Click Start, run, type %LOCALAPPDATA%\Microsoft\Media Player and then click OK.
    c. Select all files in the folder and then click on Delete on the file menu.
     
    Note: You don't have to remove the folders that are in this folder.
     
    d. restart Windows Media Player.
     
     
    Note: Windows Media Player automatically rebuilds the database.
     
    If this does not resolve the problem, disable the Windows Media Player database cache files. To do this, follow these steps:
     

    a. exit Windows Media Player.
    b. Click Start, click Run, type % LOCALAPPDATA%\Microsoft and then click OK.
    c. Select the Media Player folder, and then click on Delete on the file menu.
    d. restart Windows Media Player.
     
  • Is it possible to remove the disposable disc to a pool configuration in VMware View?

    I would like to remove the option of disposable disc several persistent pools in VMware View Horizon 5.3.1 (where virtual machines are already using disposable disks); However, there doesn't seem to be a way to do this in the options of the pool. Is it possible to remove the disk otherwise option or should I remove the old pool and create a completely new without this option enabled?

    I used disposable disk option seems to be to save storage space, but I discovered that disposable disks have been updated only when displaying launched a turning off the virtual machines in the pool (which never happens). I thought that disposable records updated each time that a client shutdown/restarted the VM... but which is not the case. Given this information, I would like to stop using disposable disks as they really may not confer any advantage the way our persistent virtual machines are configured.

    Thanks in advance for any help!

    OK, you're right... only the drive letter customization is allowed.

    Now to answer your question, the one and only formally is to remove the pool by archiving all disks persistent (user data disk), and then create a pool with the same name (but without SDS).

    In addition, select all the archived UDD and then click on, "recreate". All new desktop computers will be recreated with the new spec,

    Another way (not officially committed / not sure of its effects)

    EAP-SVIVmPersistentDiskSpec entry will be there to ADAM OR = database server groups (VMware KB: connecting to the Database View ADAM)

    This entry will be there for disposable system that has a parameter "DiskUsage is SystemDisposable".

    Upron deleting the corresponding entry * may * end configuring don't not the SSD for the supply of others.

  • Possible to remove the icons for layers and Signatures?

    I have a pdf TSF bookmakrs and the pdf file open mode bookmakrs. Is it possible to remove the layers and Signature icons in the Panel on the left? I would like to only display the bookmarks icon.

    Thank you

    Is not possible.

  • Is it possible to remove the yellow text in the whole of the document?

    I have the same problem as the one that is mentioned here:http://forums.adobe.com/message/1155089 in my case the yellow background is already in the pdf file that was created with a printer virtual pdf and then manipulated with another pdf editor.  Accidentally, I noticed that it is possible to remove the background yellow in Acrobat Pro, as if I want to change an object. Get rid of it, on each page by hand would be a daunting task. Is it possible to do somehow with the entire document? Any help would be appreciated.

    see you soon

    BTW: The yellowish background does not appear in the other pdf viewers.

    Looking at the file, it appears that the colored boxes are actually part of the record. You can see if you open the content pane. You will find may be easier to delete in the content pane. They seem to be incorporated into the file when the text is applied. Your PDF creation software has the ability to disable this option?

    Another possibility (suggested to Dave Merchant) is to do the following to remove it from all pages automatically:

    • Convert colors to push the entire document in a single area, such as Swop2
    • All of your yellow boxes are now something about 3.4% yellow (find out with the inspection of a yellow box)
    • Create a new Preflight Check to detect objects with exactly this percentage of yellow plate
    • Create a new correction to move the objects identified by this audit in a new layer, then run
    • Turn the layer off, now you can print the file
  • Possible to remove the rechargeable battery (battery) for a long time?

    I have laptop Satellite U940. Is it possible to remove the rechargeable battery, for example, for several months, while I use the laptop with external power only? Is - harmful to the battery?

    When I'm at home, I usually use the laptop with external power supply only. I rarely need to the rechargeable battery.

    Of course, it is possible and you can do it, but I really put t know if it's so important. Long time ago, that it has a meaning, but today, when the laptop uses the latest battery technology something like this is unnecessary.

    I have old Satellite P200 and he is 5 years old. I ve never removed battery and even now I can use the laptop almost 2 hours on battery power (depends on the supply and usage parameters).

    My advice is to use your laptop with battery and from time to time it is empty. These circles are good for the life of the battery.

  • Is it possible to remove the name of the URL .html extension in Muse?

    Is it possible to remove the .html in the URL of sites when publishing to a server outside catalyst?  Thank you

    Hi Brian,.

    Please see the following threads:

    The homepage URL without "/ index.html".

    How to remove .html in the URL

    Kind regards

    Akshay

  • Can I use several nulls in a unique key column

    Happy Pongal (SANKRANTHI) friends hi... Can you please help me in this regard...

    Can I use several nulls in a unique key column?

    Yes you can have

  • Is it possible to remove the boot.ini through desktop remotely?

    If a user is logged on Windows XP or Windows 2003 via Office system remotely is it possible to remove him/herself the boot.ini by all means?

    In a typical installation only partition of XP, it will boot fine without a boot.ini file (if not, there is another problem).

    If the boot.ini file is missing, you will see a message like this:

    Invalid BOOT. INI file
    Booting from C:\windows\

    XP always starts very well despite the message, then you can fix the missing file if that's your desire.

    You're just a few experiences or y at - it any particular problem you're trying to solve?

  • Is it possible to remove the specific backup folder.

    Hello

    Please find below RMAN backup scenario,

    JUNE_01 - LEVEL 0

    JUNE_02 - CUMULATIVE LEVEL 1

    JUNE_03 - CUMULATIVE LEVEL 1

    JUNE_04 - CUMULATIVE LEVEL 1

    JUNE_05 - CUMULATIVE LEVEL 1

    Here is my need,

    (1) can I delete specific folders (middle of the order's backup) which are below.

    03 JUNE - CUMULATIVE LEVEL 1

    04 JUNE - CUMULATIVE LEVEL 1

    So how to remove it.

    I tried with the following query that is not delteted, please find this query, is there any correction, or if you have the correct question to delete specific folder then pls share.

    (2) if I removed above at the mentioned date backup folder as below,

    03 JUNE - CUMULATIVE LEVEL 1 - deleted

    JUNE 04 - CUMULATIVE LEVEL 1 - deleted

    and have only one backup set that is have below.

    JUNE_01 - LEVEL 0

    JUNE_02 - CUMULATIVE LEVEL 1

    JUNE_05 - CUMULATIVE LEVEL 1

    Can I restore complete database from 01 June to 05 June, because I take the cumulative backup level.

    According to the Cumulative level 1 backup strategy, it backs up all recent changes each time after the recent level 0.

    And yet one thing I enrolled as PARAMETER RMAN

    BACKUP OPTIMIZATION,

    So, is this all possible and Impossible. Please, share your experience. Most welcome and thank you in advance

    Cumulative level 1 backups contain all changes since last level 0 backup. So if you do not need to restore from a specific date within your backup cumulative level 1, you can remove it. In your case, you can remove the 03 and 04 of June and can restore the database from June 01, 02 and 05 June as offers, depending on the availability of the last backups.

    If you can restore your database at any other time, beside your incremental backups, also depends on restoring archived newspapers available. In this case, restore you the database from a full or level 0 backup and recover the database using newspapers to check-in to the current or previous point in time.

    To remove specific backupsets, you can use the command "List backup RMAN summary" and use then 'delete backupset ' to delete the backup.

    http://docs.Oracle.com/CD/E11882_01/backup.112/e10643/rcmsynta027.htm#RCMRF132

  • Possible to remove the top card, title bar and navigation?

    Hi, with is the new beta version of DPS possible to open the article without going through a card/article summary page to interact with?

    In the previous version of the DPS, you could specify some of these options.

    Ideally, I would like to remove:

    • The title bar
    • Interaction with the card - directly in the full experience
    • And remove the net asset value of high level 'Done' feature


    Miss me just something hope.


    Thanks for any help!

    Hello

    Instead of jumping into the list of cards for a collection (the so-called Page Browse), there is a setting on the collection of jump in the first article. Essentially, this allows to bypass the page browse and opens the first item in the collection.

    For now, there is not a way to disable the application user interface.

    Andrei

  • Is it possible to remove the recovery on the HARD drive partition?

    I had a virus on my laptop, so I gave a "specialist".

    When I got it back it turned out, it didn't work properly - another specialist said that the recovery disc has been eliminated - is it possible? or is it just hidden?

    And if I have no more HARD drive recovery, what do I know?
    Where can I buy ad recovery to recover my system?

    Please, help me, cause I'm an ignoramus total that computers are concerned...:)

    Powerless Kate:)

    Hi, pewna.studentka.

    Yes, it ' s possible to delete the recovery hard drive and very easy to do in partitioning, formatting and etc. Once I had an experience to remove it, but in my hp laptop. I recommend you do the following:

    1. contact the Toshiba service authorized in your country or order https://backupmedia.toshiba.eu/landing.aspx
    2. find (buy) a copy of Windows, install and drivers downloaded from the Toshiba driver page.

  • Is it possible to remove the applications from the factory?

    I have absolutely no use for some factory applications.  And I love the calculator application I downloaded from the market not the Calc factory. app.  I was wondering if there is any way to get rid of plant applications.  Thank you!

    N °

    Remove them not free space either. They exist in the space of the ware farm, not accessible for you.

    You can remove the shortcuts, but not the entries in the alphabetical list of all applications.

  • Need to get the not null fields

    Hello

    I use jdev 11.1.1.5

    I need to get all fields who r have certain values
            ViewObjectImpl vo = this.getAccountClass1();
            for (i=0;i<vo.getRowCount();i++){
                 Row vor = vo.next();
                if (vor.getAttribute("GaclSchNo").equals("NULL")){
                    System.out.println ("null");
                }
                System.out.println ("NotNull");
            }
    In this case the Null value I get an exception like Java.null.

    But I need to print Null.,.

    How can I achieve this

    Try using the code below.

    > ViewObjectImpl vo = this.getAccountClass1 ();
    > for (i = 0; i<>
    > Rank vor = vo.next ();
    > * If (vor.getAttribute ("GaclSchNo") == null) {*}
    > System.out.println ("null");
    > }
    > System.out.println ("not null");
    > }

Maybe you are looking for