Results 1 to 3 of 3

Thread: Not null constraint

  1. #1
    Geek_Guest
    Guest

    Not null constraint

    What would you use to place a not null constraint on a column? If the column is left blank on insertion, it should display a custom error message.

    1. Rule
    2. CHECK Contstraint
    3. Triggers
    4. Alter the table so that the column does not allow null


  2. #2
    Moderator
    Join Date
    Jun 2007
    Answers
    2,074

    Re: Not null constraint

    Alter the table so that the column does not allow null

    and write a trigger to display custom eror message.


  3. #3
    Expert Member
    Join Date
    Apr 2007
    Answers
    500

    Re: Not null constraint

    Alter the table so that the column does not allow null..


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact