Results 1 to 3 of 3

Thread: Unique with NotNull??

  1. #1
    Junior Member
    Join Date
    Jun 2007
    Answers
    28

    Unique with NotNull??

    Primary key is Clustered Index and not allows null value.
    Unique key is NonClustered Index allows one Null value

    Can I Define Unique key + Not Null is Equal to Primary key ????


  2. #2
    Junior Member
    Join Date
    May 2007
    Answers
    16

    Re: Unique with NotNull??

    Can I Define Unique key + Not Null is Equal to Primary key ????
    Yes, Unique + NOT NULL is equivalent to primary key on a table ,though not explicitly declared. U can always use this column to retrieve a unique row from given table.


    HTH

    Regards,


  3. #3
    Contributing Member
    Join Date
    May 2007
    Answers
    60

    Re: Unique with NotNull??

    I agreed with above answer given by one of our forum member.....


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