创建一张空表:Sql="Create TABLE[表名]"创建一张有字段的表:Sql="Create TABLE[表名]([字段名1]MEMO NOT NULL,[字段名2]MEMO,[字段名3]COUNTER NOT NULL,[字段名4]DATETIME,[字段名5]TEXT(200),[字段名6]TEXT(200))字段类型:2:"SmallInt...
表字段注释 二、SQLServer 1、读取库中的所有表名 select name from sysobjects where xtype='u' 2、字段 SELECT c.name,t.name,c.xprec,c.xscale,c.isnullable FROM systypes t,syscolumns c WHERE t.xtype=c.xtype AND c.id=(SELECT id ...
表字段注释 二、SQLServer 1、读取库中的所有表名 select name from sysobjects where xtype='u' 2、字段 SELECT c.name,t.name,c.xprec,c.xscale,c.isnullable FROM systypes t,syscolumns c WHERE t.xtype=c.xtype AND c.id=(SELECT id ...