constraint

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #196019
    lestariintan09
    Participant

      hallo coach

      aku mau tanya, setiap membuat primary key, apakah harus selalu ada constraint?

      “constraint pk_pelanggan
      primary key (kodepelanggan)”

      trus dari contoh query diatas, pk_pelanggan asalnya darimana ya ?

      thank you coach…

      #196028
      Coach William
      Moderator

        Hi Lestari,

        Betul, karena primary key merupakan salah satu bentuk constraint

        Pk_pelanggan merupakan nama constrain yg bebas kamu ganti sendiri, yg penting mudah dipahami

        Regards
        William

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.
      Shopping cart0
      There are no products in the cart!
      Continue shopping