[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] Getting Canadian drug data into FreeDiams
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] Getting Canadian drug data into FreeDiams |
Date: |
Wed, 24 Feb 2010 19:36:29 +0100 |
> For your problem with molecule searching concider to update *all* CIS
> in your DB (all tables).
>
> >>> You can avoid my bug by adding to each CIS.CIS +10000000
> >>>
> >>> --> UPDATE CIS SET CIS=CIS+10000000 WHERE CIS.CIS>0;
>
> Should you do :
> >>> --> UPDATE COMPO SET CIS=CIS+10000000 WHERECOMPO.CIS>0;
>
> Don't forget CIS_CIP as well.
This is the sort of thing real foreign keys solve nicely.
SQLite doesn't fully support them, however (but certainly
serves the purpose adequately enough).
Karsten
--
Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser
- Re: [Gnumed-devel] Getting Canadian drug data into FreeDiams, (continued)
- Message not available
- Re: [Gnumed-devel] Getting Canadian drug data into FreeDiams, Jim Busser, 2010/02/20
- Message not available
- Re: [Gnumed-devel] Getting Canadian drug data into FreeDiams, Jim Busser, 2010/02/20
- Re: [Gnumed-devel] Getting Canadian drug data into FreeDiams, Jim Busser, 2010/02/20
- Message not available
- Re: [Gnumed-devel] Getting Canadian drug data into FreeDiams, Jim Busser, 2010/02/21
- Message not available
- Re: [Gnumed-devel] Getting Canadian drug data into FreeDiams, Jim Busser, 2010/02/21
- Message not available
- Re: [Gnumed-devel] Getting Canadian drug data into FreeDiams, Karsten Hilbert, 2010/02/23
- Re: [Gnumed-devel] Getting Canadian drug data into FreeDiams, Jim Busser, 2010/02/23
- Message not available
- Re: [Gnumed-devel] Getting Canadian drug data into FreeDiams,
Karsten Hilbert <=
- Message not available
- Re: [Gnumed-devel] Getting Canadian drug data into FreeDiams, Karsten Hilbert, 2010/02/23
- Re: [Gnumed-devel] Getting Canadian drug data into FreeDiams, Karsten Hilbert, 2010/02/23
- Re: [Gnumed-devel] Getting Canadian drug data into FreeDiams, Karsten Hilbert, 2010/02/19