Advertisement
Guest User

Untitled

a guest
May 1st, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.57 KB | None | 0 0
  1. Table MAINUSER created.
  2.  
  3.  
  4. Table USER_STUDENT created.
  5.  
  6.  
  7. Commit complete.
  8.  
  9. Table USER_FACULTY created.
  10.  
  11.  
  12. Commit complete.
  13.  
  14.  
  15. Table COURSE created.
  16.  
  17. Table USER_TA created.
  18.  
  19.  
  20. Table MODERATOR created.
  21.  
  22.  
  23. Table SITE_ADMINISTRATOR created.
  24.  
  25.  
  26. Table COURSE_INTEREST_GROUP created.
  27.  
  28. Table INTERST_CLUB created.
  29.  
  30.  
  31. Error starting at line : 64 in command -
  32. create table group_disforum ( df_id int,
  33. ig_id int,
  34. constraint gdf_FK foreign key(ig_id) references Course_Interest_group(interest_gid),
  35. constraint gdf_PK primary key(df_id, ig_id),
  36. comments varchar(150)
  37. )
  38. Error report -
  39. SQL Error: ORA-02270: no matching unique or primary key for this column-list
  40. 02270. 00000 - "no matching unique or primary key for this column-list"
  41. *Cause: A REFERENCES clause in a CREATE/ALTER TABLE statement
  42. gives a column-list for which there is no matching unique or primary
  43. key constraint in the referenced table.
  44. *Action: Find the correct column names using the ALL_CONS_COLUMNS
  45. catalog view
  46. Table CLUB_DISFORUM created.
  47.  
  48.  
  49. Table COURSE_DISFORUM created.
  50.  
  51.  
  52. Table TEACHES created.
  53.  
  54. Table ENROLLS created.
  55.  
  56.  
  57. Commit complete.
  58.  
  59.  
  60. Error starting at line : 97 in command -
  61. create table joins_IG ( userid int,
  62. ig_id int,
  63. constraint joins_FK foreign key( userid) references Mainuser(userid),
  64. constraint joins_FK2 foreign key(ig_id) references Course_Interest_group(interest_gid),
  65. constraint joins_PK primary key(userid, ig_id)
  66. )
  67. Error report -
  68. SQL Error: ORA-02270: no matching unique or primary key for this column-list
  69. 02270. 00000 - "no matching unique or primary key for this column-list"
  70. *Cause: A REFERENCES clause in a CREATE/ALTER TABLE statement
  71. gives a column-list for which there is no matching unique or primary
  72. key constraint in the referenced table.
  73. *Action: Find the correct column names using the ALL_CONS_COLUMNS
  74. catalog view
  75. Table JOINS_CLUB created.
  76.  
  77.  
  78. Table ASSIGNS created.
  79.  
  80.  
  81. Commit complete.
  82.  
  83. Table HAS_CLUB created.
  84.  
  85.  
  86. Commit complete.
  87.  
  88.  
  89. Error starting at line : 126 in command -
  90. create table has_ig( courseid, ig_id,
  91. constraint ig_FK3 foreign key(courseid) references course(courseid),
  92. constraint ig_FK4 foreign key (ig_id) references Course_Interest_group( interest_gid),
  93. constraint ig_PK2 primary key(courseid, ig_id)
  94. )
  95. Error report -
  96. SQL Error: ORA-02270: no matching unique or primary key for this column-list
  97. 02270. 00000 - "no matching unique or primary key for this column-list"
  98. *Cause: A REFERENCES clause in a CREATE/ALTER TABLE statement
  99. gives a column-list for which there is no matching unique or primary
  100. key constraint in the referenced table.
  101. *Action: Find the correct column names using the ALL_CONS_COLUMNS
  102. catalog view
  103. Error starting at line : 132 in command -
  104. create table has_grp_mod ( moderator_id int, ig_id int,
  105. constraint grp_FK foreign key( moderator_id) references Moderator(Moderator_id),
  106. constraint grp_FK1 foreign key(ig_id) references Course_Interest_group( interest_gid),
  107. constraint grp_PK primary key( moderator_id, ig_id)
  108. )
  109. Error report -
  110. SQL Error: ORA-02270: no matching unique or primary key for this column-list
  111. 02270. 00000 - "no matching unique or primary key for this column-list"
  112. *Cause: A REFERENCES clause in a CREATE/ALTER TABLE statement
  113. gives a column-list for which there is no matching unique or primary
  114. key constraint in the referenced table.
  115. *Action: Find the correct column names using the ALL_CONS_COLUMNS
  116. catalog view
  117.  
  118. Table HAS_CLUB_MOD created.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement