易截截图软件、单文件、免安装、纯绿色、仅160KB

如何在access数据库 表中插入一个新的字段?

如何在access数据库  表中插入一个新的字段?
类型为是/否

http://hi.baidu.com/ku_tong/blog/item/393fbe3469eece49241f146a.html

参考上面的

SQL语句能用的  就是类型不知道  false true    类型好像不能写boolean

VBScript code:

<%
set cat = CreateObject("ADOX.Catalog")
cat.ActiveConnection = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\AA.mdb;"
Set tbl = cat.Tables("tbl2")
tbl.Columns.Append "新字段", 11
Set cat.ActiveConnection = Nothing
Set cat = Nothing
Set tbl = Nothing
%>



http://www.hydx2.com


相关问答:

access中replace问题

我有一个Units表,结构为:
  ID              UnistsName
  UN1            黑龙江东方学院
  UN2      ......

关于EXTERNAL ACCESS ASSEMBLY权限设置 急急!!!

项目需要创建程序集,并对该程序集设置EXTERNAL_ACCESS权限,以完成外部访问功能,比如采用如下语句:
create assembly assemblyName(程序集名称) from 'D:\dllName.dll' with permission_set = external ......

ACCESS建表问题

m_pConnect->BeginTrans();
strSql.Format("CREATE TABLE SysUser(lsh AUTOINCREMENT NOT NULL UNIQUE,PRIMARY KEY(lsh),userType BYTE)");
m_pConnect->Execute((_bstr_t)strSql,NULL, adExe ......

access过滤问题,有请大侠们

sql语句:
SELECT  top 12  Forum.ID,Forum.topic,Reforum.id,Reforum.username,Reforum.posttime,Reforum.postip,Forum.username from Forum INNER JOIN Reforum ON Forum.ID = Reforum.topicid wher ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号