Microsoft SQL Server
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft SQL Server

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old October 18th, 2004, 04:37 AM
keaboka keaboka is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2004
Posts: 1 keaboka User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Post Query thowing "missing or invalid option" (was Help)

I have been struggling with this error for hours. Please help


SQL> CREATE TABLE kmol4_RequiredJob
2 (kmol4_RequiredJob_No CHAR(4) NOT NULL,
3 kmol4_RequiredJob_Title VARCHAR2(40),
4 kmol4_Client_CID CHAR(4) NOT NULL,
5 kmol4_RequiredJob_Description VARCHAR2(40),
6 kmol4_RequiredJob_StartDate DATE,
7 kmol4_RequiredJob_EndDate DATE,
8 kmol4_RequiredJob_DailyHours NUMBER(8)
9 kmol4_RequiredJob_Rate NUMBER(10,2)
10 PRIMARY KEY (kmol4_JRequiredJob_NO),
11 FOREIGN KEY (kmol4_Client_ID)REFERENCES kmol4_Client(kmol4_Client_ID));
(kmol4_RequiredJob_No CHAR(4) NOT NULL,
*
ERROR at line 2:
ORA-00922: missing or invalid option

Reply With Quote
  #2  
Old October 18th, 2004, 12:59 PM
Viper_SB's Avatar
Viper_SB Viper_SB is offline
Moderator
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Canada
Posts: 330 Viper_SB User rank is Private First Class (20 - 50 Reputation Level)Viper_SB User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 4 h 51 m 6 sec
Reputation Power: 5
I assume the numbers to the left shouldn't be there
I don't know SQL server so I'm going to guess that either CHAR or NOT NULL isn't valid in it? (I would think they are)

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft SQL Server > Query thowing "missing or invalid option" (was Help)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway