Dua sintaks SQL yg saya kasi sebelumnya adalah untuk mencari author/topic di 
master file yang orphan alias yatim piatu. Maksudnya, ada di daftar tapi sedang 
atau tidak terpakai di bibliografi. Kok bisa? Iya bisa jadi karena dulu pernah 
dimasukkan tapi kemudian dihapus dari data bibliografi karena berbagai alasan.

Perlu dihapus? tergantung. Bisa iya bisa tidak. Tidak usah dihapus jika masih 
dibutuhkan dan males ngetik ulang. Atau hapus jika merasa sudah tidak 
diperlukan 
atau bisa mengetik ulang nanti jika diperlukan. Di senayan3 stable 15 matoa 
akan 
ada fitur buat melihat orphan author dan topic.

Apakah akan mengatasi masalah yg dialami mas Miswan? Tidak. kalau masalah mas 
miswan, yang harus diperiksa adalah tabel penghubung yaitu biblio_author dan 
biblio_topic. Untuk melihat kaya apa sih dihubungkannya, silahkan instal 
senayan 
dari fresh, coba input data, coba hapus author, topic, dll.

kalau mau lihat gambar hubungan antar tabel nya, bisa dilirik di:
https://github.com/slims/s3-devdocs/raw/master/Database_Design/MySQL-Workbench_Senayan3-ERD.png

lihat di sub judul: Bibliographic data.

Semoga membantu :)

Hendro Wicaksono





________________________________
From: Miswan <[email protected]>
To: [email protected]
Sent: Wed, January 19, 2011 3:46:36 PM
Subject: [ics-isis] Re: Keanehan ruas Author dan Subject

  
Terima kasih Mas Hendro dan juga Mas Pur atas penjelasannya.
Maaf mas Hendro, nanya terus (semoga tidak bosen menjelaskan).... maklum saya 
gak tahu banyak tentang pengelolaan database mysql.
Begini, setelah saya jalankan skerip yg pertama untuk author, muncul begini:
+-----------+-----------+--------------------+
| biblio_id | author_id | author_name        |
+-----------+-----------+--------------------+
|      NULL |      NULL | Valade, Janet      |
|      NULL |      NULL | Fogel, Karl        |
|      NULL |      NULL | Douglas, Korry     |
|      NULL |      NULL | Douglas, Susan     |
|      NULL |      NULL | Shklar, Leon       |
|      NULL |      NULL | Rosen, Richard     |
|      NULL |      NULL | Woychowsky, Edmond |
|      NULL |      NULL | Taylor, Arlene G.  |
|      NULL |      NULL | Stueart, Robert D. |
|      NULL |      NULL | Moran, Barbara B.  |
|      NULL |      NULL | Morville, Peter    |
|      NULL |      NULL | Rosenfeld, Louis   |
|      NULL |      NULL | Robinson, Mark     |
+-----------+-----------+--------------------+

Sedangkan untuk skrip kedua, topics, muncul:

+-----------+----------+--------------+
| biblio_id | topic_id | topic        |
+-----------+----------+--------------+
|      NULL |     NULL | Website      |
|      NULL |     NULL | Computer     |
|      NULL |     NULL | Database     |
|      NULL |     NULL | RDBMS        |
|      NULL |     NULL | Project      |
|      NULL |     NULL | Design       |
|      NULL |     NULL | Information  |
|      NULL |     NULL | Organization |
|      NULL |     NULL | Metadata     |
|      NULL |     NULL | Library      |
|      NULL |     NULL | Development  |
+-----------+----------+--------------+

Yang saya tanyakan:
1. Apakah saya harus menghapus author dan topic yg terdaftar di atas?
2. Apakah bisa saya hapus melalui modul/menu Master File terus sub menu author 
atau topik di SLIMS, atau harus menggunakan sekrip Mysql? Nah kalau harus 
melalui sekrip ini gimana caranya? (maaf, sekali untuk sekrip mysql saya buta 
banget).

Terima kasih banyak.

Salam

--- In [email protected], Hendro Wicaksono <hendrowicaksono@...> wrote:
>
> Cara mengatasinya memang agak sulit karena bukan masalah teknis aplikasi tapi 
> integritas data. Mau tidak mau memang harus mencari kutunya satu2, menghapus 
> dari data bibliografi. Kemudian membersihkan masterfile author dan topic yg 
> tidak terpakai (orphan) dengan sekrip SQL utk author:
> SELECT biblio_author.biblio_id,biblio_author.author_id,mst_author.author_name 
> FROM mst_author LEFT JOIN biblio_author ON 
> biblio_author.author_id=mst_author.author_id 
> 
> WHERE biblio_author.biblio_id IS NULL and biblio_author.author_id IS NULL
> 
> dan SQL untuk topic:
> SELECT biblio_topic.biblio_id,biblio_topic.topic_id,mst_topic.topic 
> FROM mst_topic LEFT JOIN biblio_topic ON 
> biblio_topic.topic_id=mst_topic.topic_id 
> 
> WHERE biblio_topic.biblio_id IS NULL and biblio_topic.topic_id IS NULL
> 
> 
> Semoga membantu
> Hendro Wicaksono
> 
> 

> 


 


      

[Non-text portions of this message have been removed]



------------------------------------

--
Towards cyber libraries to support information society in Indonesia.
Joining ICS-isis by sending mailto:[email protected]
Visit ICS-Portal at http://digilib.binus.ac.id/ics/index.phpYahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ics-isis/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ics-isis/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Kirim email ke