Sql error please help me on this topic

iam getting a error while alter the existing table to set a primary key
alter table cust_details
add constraint pcode primary key(party_code);iam getting this error
Server: Msg 8111, Level 16, State 1, Line 1
Cannot define PRIMARY KEY constraint on nullable column in table 'cust_details'.
Server: Msg 1750, Level 16, State 1, Line 1
Could not create constraint. See previous errors.

you can use the add constraint , first add not null , then add primary key
otherwise drop the column and add with primary key constraint
alter table cust_details
add constraint not_null_code not null(party_code);

Similar Messages

  • Please, help me in this topic

    When I am running an applet using eclipse its runing but in Mozilla its not running, I have the plugin also
    So, please help me on this ................
    Thanks,
    Kiran

    look here to see how to embed applets http://java.sun.com/developer/community/askxprt/2006/jl0227.html
    also if you ran an older version of the applet that didnt run, your browser may be using the cached version. I would disable caching on the Java RE.

  • SQL error, please help

    I am building a query in Business Objects and getting the error message ORA-00942 table or view does not exist :942. The issue is that the table does exist. Anybody have any tips/solutions on solving this issue. Thanks.

    Hi,
    Do you get the issue with a specific universe or all universes?  Can you create reports from other universes successfully?
    You may run the following test to see if the issue is with your database table itself or Business Objects:
    - launch the SQL Plus and run a select to return data from the offending table.  Does it work or there is an error?
    Regards,
    Jeff

  • Tetris Source code in Xlets...Somebody please help me with this topic.

    Hi,
    Hey thanks. I am able to log into the site. I also got the code but again i found that the code is written by taking points and colors to create the shapes. I need some codes in which the shapes are created by taking colored images somewhat in this way,
    colorImage[0] = TrackPicture.loadImage("./images/square_red.png", 29, 29);
    colorImage[1] = TrackPicture.loadImage("./images/square_blue.png", 29, 29);
    colorImage[2] = TrackPicture.loadImage("./images/sqaure_yellow.png", 29, 29);
    colorImage[3] = TrackPicture.loadImage("./images/sqaure_green.png", 29, 29);
    These are the images and by taking co-ordinates they are joined to create shapes. I have tried combining them through the paint( drawImage )method. Please give me some solutions if you have. Thanks in advance.

    Warning: I'm not a game developer, so maybe what I'm going to say has nosense ;)
    What about creating an object for the falling piece? The object control de position of its own squares and check for collisions at the bottom of the screen. Then you should work in the screen as it is a grid where pieces are stored, and everytime the falling object touchs some other piece, check what rows are fully filled and move those which are over it.
    Don't know if it will help you :)
    Cheers

  • Hello Technical Experts... please help me on this error :- 'Tax data is missing ArrayOffset 12, srcLineNum 0, srcGroupNum -1'.

    In my A/P credit memo screen i have incorporated a column for adding reference to closed A/P Invoices. upon filling this field with DocNum of APInvoice certain other fields also get filled from an SQL query. One among them is the TaxCode. My problem is that the TaxAmount(LC) field at the last row of the matrix is not filled with the appropriate value, it remains 0. On trying to add the document or pressing the link button on the TaxAmount field a status bar error message pops up showing, 'Tax data is missing ArrayOffset 12, srcLineNum 0, srcGroupNum -1'.
    Please Help me solve this issue.
    Thanks in Advance
    Rajeev

    Hi,
    Please check SAP note:
    1860926 - When updating a Purchase Order via DI API "-12109 Tax data
    is missing..." Error occurs
    Thanks & Regards,
    Nagarajan

  • My ipod generation 5 will not come out of recovery mode. i was simply updating my software and this happened. it will not let me restore it comes up with and error. please help, thanks.

    my ipod generation 5 will not come out of recovery mode. i was simply updating my software and this happened. it will not let me restore it comes up with and error. please help, thanks.

    Hey erinoneill24,
    Thanks for using Apple Support Communities.
    Sounds like you can't update your device. You don't mention an error that it gives you. Take a look at both of these articles to troubleshoot.
    iPod displays "Use iTunes to restore" message
    http://support.apple.com/kb/ts1441?viewlocale=it_it
    If you can't update or restore your iOS device
    http://support.apple.com/kb/HT1808?viewlocale=de_DE_1
    If you started your device in recovery mode by mistake, restart it to exit recovery mode. Or you can just wait—after 15 minutes the device will exit recovery mode by itself.
    Have a nice day,
    Mario

  • I cannot install itunes on my windown 7 laptop.  Error says "computer not modified".  Please help me with this problem.

    I cannot install Itunes and Icloud on my Sony Vaio Laptop - Window 7.  Error says " computer/system not modified".  Please help me with this problem. 

    Hello there, jag123059.
    The following Knowledge Base article offers up some great steps to follow for resolving issues with installing iTunes:
    Issues installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/ht1926
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • TS3074 im can u please help me out this issue im trying to install iTunes  in windows 7 some error showing " windows installer package problem DLL require to complete this installation" this message showing.

    im can u please help me out this issue im trying to install iTunes  in windows 7 some error showing " windows installer package problem DLL require to complete this installation" this message showing.

    Try the following user tip:
    " ... A DLL required for this installation to complete could not be run ..." error messages when installing iTunes for Windows

  • Please help me with this error: "Apple application support was not found... Error 2"

    Can anyone please help me with this error: "Apple application support was not found... Error 2"
    I've followed the instructions by removing all Apple files from my laptop, but when I reinstall the iTunes software it still comes up with this message:
    "Apple application support is required to run iTunesHelper. Please uninstall iTunes, then install iTunes again. Error 2"
    Thank you

    iTunes "Apple Application Support is required... Error 2" and possible fix.
    I know this is a bit late but I came accross this thread trying to resolve this same problem and came up with a solution that worked for me, so thought I would share it here too. I hope it helps someone else.
    I just resolved this on Win Vista (should apply equally for Win7 too). Please uninstall iTunes before proceeding though. I'll walk you through the process I followed, if you like you can jump straight to the Solution section.
    Problems:
    The initial error during the installation of iTunes was:
    An error occurred during the installation of assembly 'Microsoft.VC80.CRT,version="8.0.50727.4053",type="win32",publicKeyToken='1fc8b 3b9a1e18e3b",processorarchitecture="x86". Please refer to Help and Support for more information. HRESULT:0x8007054F
    The error (after installing iTunes) when trying to run iTunes was:
    Apple Application Support is required to run iTunes. Please uninstall iTunes, then install iTunes again. Error 2 (Windows error 2).
    After trying various fixes around the forums I came across this MSKB article, which relates to the first installation error:
    http://support.microsoft.com/kb/2688946
    This lead me to trying to install MS Visual C++ but I received the following error trying to install that:
    Error 1935.An error occurred during the installation of assembly ‘Microsoft.VC80.ATL,type=”win32”,version=”8.0.50727.762”,publicKeyToken=”1fc8b3 b9a1e18e3b”,processorArchitecture=”amd64”’. Please refer to Help and Support for more information. HRESULT: 0x80070BC9. Assembly interface: IassemblyCacheItem, function: Commit, component: {837BF1EB-D770-94EB-A01F-C8B3B9A1E18E}
    Note: The installation of VC++ rolls back when it fails.
    Solution:
    Through this error I found this MSKB article:
    http://support.microsoft.com/kb/946414
    The Automated MS "Fix It" msi package didn’t work.
    Note: Please backup your registry first (see the above MSKB article for instructions).
    I opened the registry and (as instructed in the MSKB article) deleted the following keys:
    HKEY_LOCAL_MACHINE\COMPONENTS\
    PendingXmlIdentifier
    NextQueueEntryIndex
    AdvancedInstallersNeedResolving
    Reboot and reinstall iTunes.
    If it helps you please like this so others can find it.

  • Please help me formulate this in PL/SQL - Thanks.

    Hi ALL,
    Please help me formulate this in PL/SQL. I really appreciate your help in advance. Below is the Specification.
    Read Previous records
    Check if this is a New Customer.
    If New
    Than check for New site
    If New Site than Insert Site
    End If
    Insert Practice
    Insert Customer
    Check for Previous Months Balance for that Customer.
    If there than (formula)
    Else
    set balance = 0
    End if
    Insert balance.
    Thanks Much in adavance.

    Hi ALL,
    Please help me formulate this in PL/SQL. I really appreciate your help in advance. Below is the Specification.
    Read Previous records
    Check if this is a New Customer.
    If New
    Than check for New site
    If New Site than Insert Site
    End If
    Insert Practice
    Insert Customer
    Check for Previous Months Balance for that Customer.
    If there than (formula)
    Else
    set balance = 0
    End if
    Insert balance.
    Thanks Much in adavance.

  • Getting Error "Apple ID does not have permission to access iTunes Connect" while logging to iTunes. Please help me in this regard

    Getting Error "Apple ID does not have permission to access iTunes Connect" while logging to iTunes. Please help me in this regard
    Regards,
    Amar

    See the "More Like This" section over there ===============>
    In the future, search before posting.

  • Please help me in this error

    Hi all,
    I am new to solaris platform. I am using List template in my program. I wrote a makefile to compile this program. While compiling it is giving the following errors. I am struggling with this error for the past 3 days.
    errors
    "/opt/SUNWspro/SC5.0/include/CC/Cstd/rw/rwdispatch.h", line 63: Error: RWis_integral_type(int) already had a body defined.
    "/opt/SUNWspro/SC5.0/include/CC/Cstd/rw/rwdispatch.h", line 121: Error: Multiple declaration for _RWdispatch<int>.
    Anybody please help me in this regard. I will be thankful to you.
    My platform Forte Developer 6 update 2.
    Thanks
    venkat

    Get the latest patches for the compiler and see if that fixes the problem.
    http://developers.sun.com/prodtech/cc/downloads/patches/

  • HT201442 I did this but still i am getting the same error , please help me .

    I did this but still i am getting the same error , please help me .
    <Email Edited by Host>

    Look at http://support.apple.com/kb/ts4451
     Cheers, Tom

  • When attempting to start iTunes, I get the following: "The iTunes library file cannot be saved. An unknown error occurred (-50)." Can someone please help me get this fixed?

    When attempting to start iTunes, I get the following: "The iTunes library file cannot be saved. An unknown error occurred (-50)." Can someone please help me get this fixed?

    Same problem here since latest update.  As usual poor support from Apple with no answer or fix for this bug.

  • I have unlocked my iphone and when tried to upgrade it, i got an error, so i restored it.But i was not able to activate my iphone 3gs now...it is showing a message like ' sim card not found'..please help me with this regard

    I have unlocked my iphone and when tried to upgrade it, i got an error, so i restored it.But i was not able to activate my iphone 3gs now...it is showing a message like ' sim card not found'..please help me with this regard

    Try popping out the SIM card and turn off the phone.
    Pop in the SIM card once again and turn on the phone, make sure that the SIM card is placed and seated perfectly in the tray!
    Tell me how did you unlock your phone!?

Maybe you are looking for

  • How to extract data from 12 tables ?

    Hi experts, I want to extract data from 12 tables into bi. How can we do this. And also can we extract some fields from a structure? Full points will be assigned. Regards, V N.

  • System error message when trying to preview catalog

    Hi there, we are putting together an e-commerce site, and continually get System Error Messages when trying to open the catalog http://shoprachbjewelry.businesscatalyst.com/black-lemon-collection An Error Occurred An error occurred processing your la

  • New laptop, old iPod Touch, how do I get apps onto iTunes?

    Hi. I have recently bought a new laptop, and want to sync my apps in iTunes to my 9 month Touch, but when I select Sync, iTunes tells me; "+All existing applications and their data on the iPod <my ipod> will be replaced with applications from this iT

  • CREATING VIRTUAL DIRECTORY THROUGH jakarta-tomcat-4.1.10

    dear friend(s) how to create a virtual directory through tomcat jakarta-tomcat-4.1.10 please help me very very urgent mohd meraj

  • Z97 g45, graphics problem

    Hi there. I'm trying a new build with: MOBO: MSI z97 g45 CPU: Intel i7-4790 RAM: 16 GB ram (corsair vengeance CL9 1333 MHz) 4x4 edit: additional info: COOLER: Intel stock cooler PSU: Corsair VX550W BIOS: 7821v23 My system continues to crash and insta