Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2008
    Posts
    53

    Unanswered: FK column is automatic not null ?

    column which is PK is automatic not null. What about FK column - is it also automatic not null or I must add not null to this column ?

  2. #2
    Join Date
    Jun 2003
    Location
    West Palm Beach, FL
    Posts
    2,713

    Cool Add it

    You need to add the NOT NULL constraint if that is the requirement, otherwise you can leave as NULL if nulls are permitted.
    The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb

  3. #3
    Join Date
    Dec 2008
    Posts
    53
    ok thx, I thought that FK columns are automatic not null as PK columns

  4. #4
    Join Date
    Jan 2004
    Location
    Croatia, Europe
    Posts
    4,094
    Provided Answers: 4
    No need to presume when you can easily try it. Can't you?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •