Jump to content

Search the Community

Showing results for tags 'Masalah duplicate primary key'.

The search index is currently processing. Current results may not be complete.


More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Am
    • Pengumuman
    • Cadangan & Laporan
    • Members Helpdesk
  • Sistem Operasi
    • Windows
    • Linux & *nix
    • Macintosh
    • Sun Solaris
  • Pengaturcaraan & Pembangunan
    • Pengaturcaraan
    • .NET, VB.net, C#.net, ASP.net
    • C, C++
    • Java
    • Ruby, Python, Lua, Perl, CGI, Delphi, Pascal
    • Pengkalan Data
    • Pembangunan Perisian
    • Pembangunan Web
    • Pembangunan Permainan
  • Perisian
    • Pejabat & Internet
    • Multimedia
    • Utiliti & Sekuriti
    • Perisian Sumber Terbuka
  • Perkakasan
    • Sistem
    • Komputer mudah alih
    • CPU, Motherboard & Memory
    • Unit Pemprosesan Pusat
    • Papan Induk
    • Kad Grafik
    • Storan
    • Ingatan Capaian Rawak
    • Aksesori
    • Gajet
  • Rangkaian
    • Rangkaian Komputer
    • Internet
    • Wireless
    • Satellite Broadband
  • Permainan & Hiburan
    • Arcade
    • Permainan PC
    • Permainan konsol
    • Muzik, Movie & Majalah
  • Ekonomi & Kerjaya
    • Bisnes
    • Kerjaya
    • e-income
  • Pendidikan
    • Sumber maklumat
    • Teknologi
    • Pensijilan
    • Sudut Pelajar
  • Bazar
    • Jual & Beli
    • Jual & Beli Pukal
    • Servis & Perkhidmatan
  • Komuniti
    • Sembang
    • Aktiviti
    • Automotif
    • Serious Discussion
    • Hobbies & Living
    • English Corner
    • Ladies Corner
    • Kesihatan
    • Agama

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Nama lain

Found 1 result

  1. Salam semua & selamat pagi...   Sebelum saya tanya kat sini, saya dah google, tapi tak juga jumpa cara selesaikan masalah nih.   Soalan : mcm mana nak cek duplicate key dalam table.   contoh: Table:table_A Primary key yang ada skrg: 1,2,3 Kebiasaan bila nak insert statement sy akan + 1.   nextID= "select max(ID)+1 as nextID from table_A" query=" insert into table_A (ID) VALUES (nextID)"   Masalah skrg table ni ramai yang guna, so select max+1 asyik duplicate. ada yg masukan ID suka hati.   ada tak cara boleh cek duplicate key sebelum insert.   contoh: nextID= "select max(ID)+1 as nextID from table_A" ....katakan ID skrg dapat "3" query=" insert into table_A (ID) VALUES (nextID)" if fail...cuba +1 lagi.. nextID= "select max(ID)+1 as nextID from table_A" ....kata ID skrg dapat "4" query=" insert into table_A (ID) VALUES (nextID)"   part if fail tu,ada tak teknik untuk cek duplicate key?   ada idea tak? minta tolong pakar2 sekelian.. dah buntu..        
×
×
  • Create New...