| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 708 人关注过本帖
标题:请问高手:delphi7 + MySql TTABLE 中Add all fields后,所有的CHAR字段没 ...
只看楼主 加入收藏
terryxie2008
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2013-3-1
结帖率:100%
收藏
已结贴  问题点数:20 回复次数:1 
请问高手:delphi7 + MySql TTABLE 中Add all fields后,所有的CHAR字段没有出来,为什么?
请问高手:delphi7 + MySql  TTABLE 中Add all fields后,所有的CHAR字段没有出来,为什么?

其他的非CHAR字段都能出来,只有char字段没有出来。
如下表中,VARCHAR都出不来。请问高手,这跟啥有关系呀?

create table ac_mstr (
    ac_line             tinyint         not null    default 0,
    ac_addr             tinyint         not null    default 0,
    ac_nbr              tinyint         not null    default 0,
    ac_building            VARCHAR(20)        null,
    ac_floor            VARCHAR(10)        null,
    ac_room                VARCHAR(10)        null,
    ac_name             VARCHAR(20)        not null    default '',
    ac_dept             VARCHAR(20)        not null    default '',
    ac_owner            VARCHAR(20)        not null    default '',
    ac_temperature      numeric(16, 2)     not null,
    ac_workingday       bit                not null    default 0,
    ac_weekend          bit                not null    default 0,
    ac_active            bit             not null    default 1,

    constraint pk_ac_mstr primary key  (ac_line, ac_addr, ac_nbr)
)
搜索更多相关主题的帖子: default create null 
2013-03-09 10:54
有容就大
Rank: 20Rank: 20Rank: 20Rank: 20Rank: 20
来 自:东土大唐
等 级:版主
威 望:74
帖 子:9048
专家分:14309
注 册:2011-11-11
收藏
得分:14 
试了下 表示没问题啊

梅尚程荀
马谭杨奚







                                                       
2013-03-11 17:29
快速回复:请问高手:delphi7 + MySql TTABLE 中Add all fields后,所有的CHAR字 ...
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.014186 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved