Bonjour,
je veux savoir comment mettre les contrainte d'integrité dans php/mysql j'utilise wamp server 2.0
comme un attribut doit<20 ,totalité,unicité.......
et merci d'avence
booktown=# CREATE TABLE editions booktown-# (isbn text, booktown(# book_id integer, booktown(# edition integer, booktown(# publisher_id integer, booktown(# publication date, booktown(# type char, booktown(# CONSTRAINT pkey PRIMARY KEY (isbn), booktown(# CONSTRAINT integrity CHECK (book_id IS NOT NULL booktown(# AND edition IS NOT NULL), booktown(# CONSTRAINT book_exists FOREIGN KEY (book_id) booktown(# REFERENCES books (id) booktown(# ON DELETE CASCADE booktown(# ON UPDATE CASCADE);
Combien cela coûte-t-il au total ? Quelles aides apportent l'état et les acteurs du marché pour alléger cette charge non choisie ? Tous les détails sur Commentçamarche.net.