When I try to create table Application ,I am getting an error message .

create table College(cName varchar2(200) NOT NULL PRIMARY KEY,
          state varchar2(20) NOT NULL,
     enrollment int NOT NULL (enrollment > 0);
create table Student(sID int NOT NULL, sName varchar2(200) NOT NULL,
GPA real NOT NULL CHECK(gpa >0 AND gpa < 4.0),
          sizeHS int NOT NULL,
          CONSTRAINT Primary_Key_SID PRIMARY KEY (SID));
create table Application(sID int NOT NULL,
cName varchar2(200) NOT NULL,
               major varchar2(20) NOT NULL,
     decision varchar2(10)) NOT NULL CHECK(decision ='y'OR decision = 'n');
               CONSTRAINT fk_Sid FOREIGN KEY (SID) REFERENCES Student(SID),
               CONSTRAINT fk_Cname FOREIGN KEY(CNAME) REFERENCES college(CNAME));
Error starting at line 5 in command:
CONSTRAINT fk_Sid FOREIGN KEY (SID) REFERENCES Student(SID),
Error report:
Unknown Command
Error starting at line 6 in command:
CONSTRAINT fk_Cname FOREIGN KEY(CNAME) REFERENCES college(CNAME))
Error report:
Unknown Command
Edited by: 974970 on Dec 4, 2012 12:54 PM

a couple of side observations ..
First, it is much easier to read code when it is (1) formatted, and (2) that formatting is preserved in the forum by use of the \ tag.CREATE
TABLE College
cName VARCHAR2(200) NOT NULL
, state VARCHAR2(20) NOT NULL
, enrollment INT NOT NULL (enrollment > 0);
CREATE
TABLE Student
sID INT NOT NULL
, sName VARCHAR2(200) NOT NULL
, GPA REAL NOT NULL CHECK(gpa >0 AND gpa < 4.0)
, sizeHS INT NOT NULL
, CONSTRAINT Primary_Key_SID PRIMARY KEY (SID)
CREATE
TABLE Application
sID INT NOT NULL
, cName VARCHAR2(200) NOT NULL
, major VARCHAR2(20) NOT NULL
, decision VARCHAR2(10)
NOT NULL CHECK
decision ='y'OR decision = 'n'
CONSTRAINT fk_Sid FOREIGN KEY (SID) REFERENCES Student(SID),
CONSTRAINT fk_Cname FOREIGN KEY(CNAME) REFERENCES college(CNAME));
Now,
First, drop the mixed case names.  Oracle isn't going to store them in mixed case in the dictionary, and if your force it to do so you just create bigger problems for yourself.  You may have learned mixed case in the MS world, but this is Oracle.  When in Rome
Second, you have a column named SID  (yes, you entered it as "sID", but to oracle it is SID.  And to oracle, it is a key word.  Find an alternative.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • When i try and create a combined pdf i get an error failed

    when i try and create a combined pdf i get an error failed

    Yes 1)  when I try to combine under the PAGES column it says "FAILED" 
           2) How do i set a book mark or put and icon on my desktop for CreatePDF 
           3) Is there anywhere to go to see a tutorial
    I have to say yesterday was very frustrating, I went on the support line could not find the chat after being there once, I feel I am pretty good with computers and can usually figure things out, I could not here.

  • When I try to launch the edit tab, I get a error message to close restart my computer and try again.

    When I try to launch the edit tab, I get a error message to close restart my computer and try again.

    The editor saved prefs often get corrupted. This is because PSE saves your settings each time you close the application. Problems can sometimes occur if you don’t let the program close properly or if you launch another application too quickly whilst closing down Elements. You may need to rebuild the editor preferences to resolve any conflicts. To begin, close Elements.
    Hold down the Ctrl+Shift+Alt keys and simultaneously click on the Edit button on the welcome screen. After a few seconds release the three keys and look behind the welcome screen by closing it. Alternatively hold down the three keys whilst  clicking on the desktop icon for the Editor or PhotoshopElementsEditor.exe in the Programs folder. Keep holding down all three keys for a few seconds; then release. You should get the settings option.
    When you see a pop up box with the words: Delete Adobe Photoshop Elements Settings File?
    Click on Yes
    Then wait whilst Elements rebuilds the preferences.

  • When i try to open the master collection i get a error message saying invalid checksum

    when i try to open the master collection i get a error message saying invalid checksum

    I'm trying to install Adobe Photoshop Elements 10 (English North Americas) and have the same problem.
    #1 the default location is in some Local / User folder and I too made it the Application folder. Now Adobe Download Manage will only download to Applications folder. The first time the installer failed I logged out, but the installer .dmb was erased. Second download I copied to the Desktop, and deledted the orgional in the Applications folder. BOTH .dmg had checksum errors. BOTH failed on install. Restart of systm changes nothing
    I'm on Cable and am able to download 20G files without issue. (I work with 1080i/p movies all the time). MacOS 10.7.4 MacBook Pro 2.2 i7, 4GB, 200GB free space
    As someone who has used Adobe products since before Photoshop v.1 was released, this would be far from the first bad Adobe installer!
    1st .dmg Install:
    Exit Code: 7
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 15 error(s), 1 warning(s)
    ----------- Payload: {60CB5C6D-5B99-45D3-BAB5-E7728182101E} Adobe Photoshop Elements 10 10.0.0.0 -----------
    ERROR: DF027: Unable to copy file from "/private/tmp/.tempdirjTYCq3pT/Assets2/Fonts/KozMinPr6N-Bold.otf" to "/Library/Fonts/KozMinPr6N-Bold.otf" Error 0(Seq 1538)
    ERROR: DW063: Command ARKCopyFileCommand failed.(Seq 1538)
    ERROR: DF023: Unable to delete file "/Applications/Adobe Photoshop Elements 10/Support Files/Adobe Photoshop Elements Editor.app/Contents/Info.plist". Error 0(Seq 2)
    ERROR: DW063: Error rolling back command ARKCopyFileCommand(Seq 2)
    ERROR: DF001: Unable to get permissions of "/Applications/Adobe Photoshop Elements 10/Support Files/Adobe Photoshop Elements Editor.app/Contents"(Seq 2)
    ERROR: DW063: Error rolling back command ARKCreateDirectoryCommand(Seq 2)
    ERROR: DF001: Unable to get permissions of "/Applications/Adobe Photoshop Elements 10/Support Files/Adobe Photoshop Elements Editor.app"(Seq 2)
    ERROR: DW063: Error rolling back command ARKCreateDirectoryCommand(Seq 2)
    ERROR: DF001: Unable to get permissions of "/Applications/Adobe Photoshop Elements 10/Support Files"(Seq 2)
    ERROR: DW063: Error rolling back command ARKCreateDirectoryCommand(Seq 2)
    ERROR: DF015: Unable to delete symlink "/Applications/Adobe Photoshop Elements 10/Adobe Photoshop Elements 10"(Seq 1)
    ERROR: DW063: Error rolling back command ARKCopySymlinkCommand(Seq 1)
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    ERROR: DW050: The following payload errors were found during install:
    ERROR: DW050:  - Adobe Photoshop Elements 10: Failed due to Language Pack installation failure
    ERROR: DW050:  - Adobe Photoshop Elements 10_AdobePhotoshopElements10_en_US: Install failed
    2nd dmg install:
    Exit Code: 7
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 19 error(s), 3 warning(s)
    WARNING: DW031: Payload:{3F023875-4A52-4605-9DB6-A88D4A813E8D} Camera Profiles Installer 6.0.0.0 has been updated and has been selected for repair. The patch {FEA75AFB-4905-43BB-B1D5-5B44D681BFE7} Camera Profiles Installer_6.4_AdobeCameraRawProfile6.0All 6.4.0.0 will be uninstalled now.
    WARNING: DW031: Payload:{3F023875-4A52-4605-9DB6-A88D4A813E8D} Camera Profiles Installer 6.0.0.0 has been updated and has been selected for repair. The patch {FEA75AFB-4905-43BB-B1D5-5B44D681BFE7} Camera Profiles Installer_6.4_AdobeCameraRawProfile6.0All 6.4.0.0 will be uninstalled now.
    ----------- Payload: {60CB5C6D-5B99-45D3-BAB5-E7728182101E} Adobe Photoshop Elements 10 10.0.0.0 -----------
    ERROR: DF027: Unable to copy file from "/private/tmp/.tempdirVCMTpQmH/Assets2/Fonts/KozMinPr6N-Bold.otf" to "/Library/Fonts/KozMinPr6N-Bold.otf" Error 0(Seq 1538)
    ERROR: DW063: Command ARKCopyFileCommand failed.(Seq 1538)
    ERROR: DF024: Unable to restore file at "/Library/Fonts/KozMinPr6N-Bold.otf" from backup at "/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/Cleanup At Startup/.temptAHgfS" Error 0(Seq 1538)
    ERROR: DW063: Error rolling back command ARKDeleteFileCommand(Seq 1538)
    ERROR: DF023: Unable to delete file "/Applications/Adobe Photoshop Elements 10/Support Files/Adobe Photoshop Elements Editor.app/Contents/Info.plist". Error 0(Seq 2)
    ERROR: DW063: Error rolling back command ARKCopyFileCommand(Seq 2)
    ERROR: DF001: Unable to get permissions of "/Applications/Adobe Photoshop Elements 10/Support Files/Adobe Photoshop Elements Editor.app/Contents"(Seq 2)
    ERROR: DW063: Error rolling back command ARKCreateDirectoryCommand(Seq 2)
    ERROR: DF001: Unable to get permissions of "/Applications/Adobe Photoshop Elements 10/Support Files/Adobe Photoshop Elements Editor.app"(Seq 2)
    ERROR: DW063: Error rolling back command ARKCreateDirectoryCommand(Seq 2)
    ERROR: DF001: Unable to get permissions of "/Applications/Adobe Photoshop Elements 10/Support Files"(Seq 2)
    ERROR: DW063: Error rolling back command ARKCreateDirectoryCommand(Seq 2)
    ERROR: DF015: Unable to delete symlink "/Applications/Adobe Photoshop Elements 10/Adobe Photoshop Elements 10"(Seq 1)
    ERROR: DW063: Error rolling back command ARKCopySymlinkCommand(Seq 1)
    ERROR: DF001: Unable to get permissions of "/Applications/Adobe Photoshop Elements 10"(Seq 1)
    ERROR: DW063: Error rolling back command ARKCreateDirectoryCommand(Seq 1)
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    ERROR: DW050: The following payload errors were found during install:
    ERROR: DW050:  - Adobe Photoshop Elements 10: Failed due to Language Pack installation failure
    ERROR: DW050:  - Adobe Photoshop Elements 10_AdobePhotoshopElements10_en_US: Install failed

  • I just updated iTunes on my dell and now when I try to go to the store I get an error message that iTunes has stopped working and the program closes. Ideas?

    I just updated iTunes on my dell and now when I try to go to the store I get an error message that iTunes has stopped working and the program closes. Ideas?

    I have also retarted twice...

  • I have a 2GB IPOD with only 385 songs on it.  I downloaded 2 CD's to iTunes but when I try and sync the IPOD I'm getting an error message indicating there isn't enough space.  I thought a 2GB would hold at least 500 songs.

    I have a 2GB IPOD with only 385 songs on it.  I downloaded 2 CD's to iTunes and when I try and sync the IPOD I'm getting an error message that says I don't have enough free space.  I thought a 2GB IPOD held at least 500 songs.  I've even deleted songs from from iTunes library.

    The figures that Apple used to use when saying how many songs coud fit onto any particular iPod were based on a 4 minute song at a Bit Rate of 128Kbps and that's the bit rate that songs sold by iTunes used to be in. However, now the iTunes Store sells songs at 256Kbps (as do many other MP3 stores) - which means that each song now uses twice as much storage space than before.
    So if your songs have a bit rate of higher than 128Kbps, and/or they are all longer than four minutes each, that's why 385 songs is filling up your iPod. You can check how much space is being used when the iPod is connected to iTunes Library. Look on the Device panes for the capacity bar at the bottom of the window. How much space is being used by Music?
    The solution is either:
    Use iTunes to make 128Kbps versions to go onto your iPod - or,
    Sync the iPod using Playlists and then choosing which Playlists you want on it. Smart Playlists may be the answer - you can set Smart Playlists up so that they automatically add and remove songs from your iPod, so that there is a constant change of songs (according to the rules you set)

  • When I try to sync my Ipad Mini, I get an error message that says "sync session failed to start".  Anyone ever deal with this?

    When I try to sync my Ipad Mini, I get an error message that says "sync session failed to start".  Anyone ever deal with this?

    Quit iTunes, restart your computer, restart your iPad and try again. If it doesn't work with a restart of the iPad, try a reset of the iPad.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • When I try to open a pdf file I get an error message stating "There was an error opening the document.  The file is damaged and could not be repaired."  Other pdf files open fine.

    When I try to open a pdf file I get an error message stating "There was an error opening the document.  The file is damaged and could not be repaired."  Other pdf files open fine.

    You need to get a new copy of the PDF.

  • When I try to update my iPod Touch, I get an error message regarding my network connection, and it will not update. Any suggestions?

    When I try to update my iPod Touch, I get an error message saying "The iPod Software update server could not be contacted. Make sure your network settings are correct and your network connection is active, or try again later." Has anyone else had that and how do you end up updating your iPod?

    Update Server
    Try:
    - Powering off and then back on your router.
    - iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    - Change the DNS to either Google's or Open DNS servers
    Public DNS — Google Developers
    OpenDNS IP Addresses
    - For one user uninstalling/reinstalling iTunes resolved the problem
    - Try on another computer/network
    - Wait if it is an Apple problem

  • When I try to download CC or PS I get an error message. I paid for CC two days ago; rebooted,etc.

    When I try to download CC or PS I get an error message. I paid for CC two days ago and am still getting this. I rebooted several times with same result.
    This is the message:
    We're sorry. Something seems to be wrong on our end. Please try again later. If this continues to fail, please contact Customer Support.

    Hi zelsha,
    Please try to download from the direct link: http://prodesigntools.com/adobe-cc-direct-download-links.html.
    Kindly follow the very important instructions before download.
    Regards,
    Romit Sinha

  • When I try to connect my iPod touch I get an error message that the "phone" is not recognized, unknown error 0xE8000084.  Help

    I am using my husband's old iPod touch and when I try to connect it to iTunes I get that error message.  It is recognized in my computer as unspecified under Devices and Printers

    Thanks.  I had searched for that error message but had the whole number and nothing came up.  I followed the directions and now it is recognized.  The only thing I hadn't done before was to disconnect my external hard drive.  Go figure.

  • HT1222 When I try to do the iTunes update I get an error message

    When I try to do the iTunes update I get an error message "iTunes" has an invalid signature. It will not be installed.

    I'd first try downloading an installer from the Apple website using a different web browser:
    http://www.apple.com/quicktime/download/
    If you use Firefox instead of IE for the download (or vice versa), do you get a working installer?

  • HT1420 When I try to connect to itunes match, I get an error message that says "We could not complete your iTune Store request.  An unknow error occurred (4001).  How do I resolve this issue?

    When I try to connect to itunes match, I get an error message that says "We could not complete your iTunes Store request.  An unknown error occurred (4001).  How do I resolve this issue?

    I purchased iTunes Match several days ago and I am getting the following error when I try to allow iTunes Match to run.  Please advise how to fix this:

  • When I try to set up iMessage I keep getting an error message saying check network connection but my connection is fine have rest phone but still no good

    When I try to set up iMessage I keep getting an error message saying check network connection but my connection is fine have rest phone but still no good

    Try using wifi orelse first check whether the internet is working or not orelse check whether you haven't selected the 'settting' option under allow internet access in 'cellular'

  • When I try to connect to App Store,I get an error message stating "cannot connect to iTunes Store.  I show 3 bars on wifi connection

    When I try to connect to App Store, I receive an error message stating, "cannot connect to iTunes Store.  I show 3 bars on my wifi connection?  Can someone help...why if I tap App store, does a iTune error message display?

    First, try a system reset.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until the screen blacks out or you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."
    Finally, if the Restore doesn't work, let the battery drain completely.  Then recharge for at least an hour and Restore again.

Maybe you are looking for

  • Mail Adapter IMAP Polling Interval

    Hello, we are using a XI mail adapter with IMAP. It is possible to decrease the polling interval on the mailbox? The default value is onces per minute. kind regards, Thorsten Dee

  • How can I restore applications on my Centro that I erased by mistake?

    This is such a rookie mistake that I am embarrassed to post it.  I LOVE my Palm Centro and got everything working perfectly.  Then I downloaded the "Reflect" freeware that I thought was stupid, so I clicked on it and then tried to delete it from my p

  • Does all RDBMS support auto-increment field?

    Hi, I am designing a java application in which I have to write some logic to auto-increment one database field. Can anyone tell me that all the databases support the auto-increment fields. Thanks in advance. Chris

  • PS 32 bit or 64 bit - ?

    I'm on the latest edition of 27" iMac (purcahsed a year ago January), running OSX 10.8.5. I installed PS CS6 a year ago, I don't remember if it was 32 or 64 or both... I don't even know how to check it... I installed lately some PS filters that crash

  • Onscreen content randomly dissolves to the sides

    onscreen content randomly dissolves to the sides, leaving bars which when clicked bring content back