Manao ahoana, Hello, Bonjour,

I have LDAP entries, and SQL tables are the relation between them.
There are only relations between 2 entries.

There are "modem" and "customers" entries in the LDAP directory

I need advice on optimizing the way I store relations.
For example (This is on MySQL, just for the example)

  SELECT * FROM customer_has_modem;
  +-----------------+----------------+
  | customer        | modem          |
  +-----------------+----------------+
  | a=aa,b=bb,c=ccc | d=dd,e=ee,f=ff | 
  +-----------------+----------------+

Is it OK?

Have you another way to do it? 
 - splitting the comma separated fields?
 - whatever?

There might later be be a "date" field in this table to trace the modem
movements.

Misaotra, Thanks, Merci.

-- 
       Architecte Informatique chez Blueline/Gulfsat:
    Administration Systeme, Recherche & Developpement
                +261 34 29 155 34 / +261 33 11 207 36

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to