tomlogic

Just another Blog.noodle5.com weblog

Error on the primary key with the constraint

Filed under: Software Educational Forum — at 11:52 pm on Tuesday, August 12, 2008

i all,

This is a school related question. My lab says the following:

1. Add a new Vendor table
a. See table above for fields and data types
b. Use your username as the table definition, i.e., userid.Vendor, instead of Demo
c. Add Primary key ProductNo as a Constraint

Okay, I created the table with the fields and data types. Now when I go to add the primary key with the constraint and I get
ERROR at line 2:
ORA-00904: “VENDOR_NO”: invalid identifier

Read more about it at buzzycode.com

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>