Results 1 to 2 of 2

Thread: Create a primary key

  1. #1
    XX45 Guest

    Create a primary key

    l would like to run a health check on my newly designed database to ensure that l've covered all the necessary points to ensure that l have a good database. Is there there such a procedure?

    If l want to create a primary key on a table with duplicates, how would l achive that? l tried to create a new table then create the pk. then ran the following script to populate

    instert into tabB
    select * distinct tabA

    It did not work. Please advive



  2. #2
    Ray Miao Guest

    Create a primary key (reply)

    You can't have duplicate value for pkey.


    ------------
    XX45 at 5/28/2002 3:50:40 PM

    l would like to run a health check on my newly designed database to ensure that l've covered all the necessary points to ensure that l have a good database. Is there there such a procedure?

    If l want to create a primary key on a table with duplicates, how would l achive that? l tried to create a new table then create the pk. then ran the following script to populate

    instert into tabB
    select * distinct tabA

    It did not work. Please advive



Posting Permissions

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