如何在access中动态创建表?

解决方案 »

  1.   

    create table aa aa1 char(12), aa2 char (12)
      

  2.   

    CREATE TABLE table1name (
    [zm] [varchar] (20) COLLATE Chinese_PRC_CI_AS NULL ,
    [zgzs] [int] NULL ,
    [qzgz] [int] NULL ,
    [dzys] [int] NULL ,
    [dzzs] [int] NULL ,
    [zz] [int] NULL ,
    [zzzs] [int] NULL ,
    [jx] [int] NULL ,
    [zg] [int] NULL ,
    [gz] [int] NULL ,
    [cz] [int] NULL ,
    [xxjyx] [int] NULL ,
    [gjzc] [int] NULL ,
    [zjzc] [int] NULL ,
    [cjzc] [int] NULL ,
    [gjjs] [int] NULL ,
    [js] [int] NULL ,
    [gj] [int] NULL ,
    [zj] [int] NULL ,
    [cj] [int] NULL ,
    [xt] [int] NULL ,
    [qt] [int] NULL ,
    [35yx] [int] NULL ,
    [36z45] [int] NULL ,
    [46z60] [int] NULL )
      

  3.   

    access2000调试成功!create table Tablename (field1 text(10),field2 text(50))