Access开发培训
网站公告
·Access专家课堂QQ群号:151711184    ·Access快速开发平台下载地址及教程    ·欢迎加入Access专家课堂微信群!    ·如何快速搜索本站文章|示例|资料    
您的位置: 首页 > 技术文章 > Access数据库-查询/SQL语句

Access显示数据表链接表查询等对象SQL语句

时 间:2021-11-15 17:04:49
作 者:欧志华   ID:51519  城市:广州
摘 要:Access显示数据表链接表查询等对象SQL语句。
正 文:

'各种对象SQL语句:
'本地表+Access链接表Select Name FROM MSysObjects Where (Flags=0) AND (Type=1) or (Type = 6)
'本地表+Access链接表 +SQL 链接表Select Name  FROM MSysObjects Where (Flags=1048576) or (Flags=0)

    AND (Type=1) or (Type=4) or (Type=6) orDER BY MSysObjects.Name;


'本地表Select Name FROM MSysObjects Where (Flags=0) AND (Type=1)

'Access链接表Select Name FROM MSysObjects Where ((([Type])=6));


'Access链接表+SQL Server链接表Select Name FROM MSysObjects Where (((Name) Not Like "~TMP*") AND ((Type)=4)) or (((Type)=6));


'查询Select Name FROM MSysObjects Where (Flags=0) and (Type = 5)
'窗体Select Name FROM MSysObjects Where flags=0 and type =-32768
'模块Select Name FROM MSysObjects Where flags=0 and type =-32761
'报表Select Name FROM MSysObjects Where (Flags=0) AND (Type=-32764);
'宏Select Name FROM MSysObjects Where flags=0 and type =-32766

Access软件网QQ交流群 (群号:54525238)       Access源码网店

常见问答:

技术分类:

相关资源:

专栏作家

关于我们 | 服务条款 | 在线投稿 | 友情链接 | 网站统计 | 网站帮助