add comment in sql

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

mysql comment

mysql comment

mysql comment



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 edit mode
Citation
ALTER TABLE `User` CHANGE `idgroup` `idgroup` INT( 11 ) NOT NULL COMMENT 'unique identifier with the group of the user'


mumuri bookona.org
mumuri
mumuri
Messages : 15 638

  • dessin animé
  • astuces de jeux vidéos
  • allo ciné
  • livres bds roman
  • flood
  • avis livres
  • actualité de jeux vidéos
  • forum, flood et référencement
  • avis films & streaming
  • séries télé
  • bourse
Tous droits réservés © 2002-2010 . Webnetters. Crédits des logiciels tiers     .