How to insert a column description into an Access table?

前端 未结 2 1299
隐瞒了意图╮
隐瞒了意图╮ 2021-01-15 09:10

How can I insert a description for a column in an Access table using SQL?

I do:

CREATE TABLE TAB_A (COLUMN1 TEXT(30), COLUMN2 REAL, PRIMARY KEY (COL         


        
2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-15 09:51

    Dim col As ADOX.Column = New ADOX.Column
    With col
      .Name = name
      .Type = type
      .DefinedSize = size
      .ParentCatalog = cat
      .Properties("Description").Value = description
    End With
    

提交回复
热议问题