在MySQL數(shù)據(jù)庫中, 字段或列的注釋是用屬性comment來添加。 創(chuàng)建新表的腳本中, 可在字段定義腳本中添加comment屬性來添加注釋。例代碼如下: 1 2 3 create table test( id int not null default 0 comment ‘用戶id' ) 如果是已經(jīng)建好的表, 也可以用修改字段的命令,然后加上comment屬性定義,就可以添加上注釋了...
www.dbjr.com.cn/database/320800s...htm 2025-6-4