commentaire en sql

18.01.2008, 13:15 Vous pouvez ajouter des commentaires sur vos tables en SQL, ca peut être sympa pour le dévelloppement de grosse application.

You can add comment to your mysql tables, it can help a lot while developping a big application

mysql comment

mysql comment

mysql comment


in mode création
CitationCREATE TABLE `User` (
`iduser` INT NOT NULL AUTO_INCREMENT COMMENT 'unique identifier for the user',
`name` VARCHAR( 100 ) NOT NULL COMMENT 'name of the user',
`idgroup` INT NOT NULL COMMENT 'unique identifier for the group of the user',
UNIQUE (
`iduser`
)
) ENGINE = MYISAM ;



in mode édition
Citation
ALTER TABLE `User` CHANGE `idgroup` `idgroup` INT( 11 ) NOT NULL COMMENT 'unique identifier with the group of the user'

mumuri cinemona.com
mumuri
mumuri
Messages : 14 368

  • allo ciné
  • dessin animé
  • livres bds roman
  • astuces de jeux vidéos
  • forum
  • séries télé
  • smileys
  • avis films & streaming
  • actualité de jeux vidéos
  • anime
  • bourse
  • avis livres
Tous droits réservés © 2002-2009 . Top flood. Crédits des logiciels tiers     .