为编程爱好者分享易语言教程源码的资源网

网站首页 > 数据库 > Access 正文

Access显示数据表链接表查询等对象SQL语句(数据表及查询是access数据库的)

三叶资源网 2022-06-26 23:08:03 Access 546 ℃ 0 评论

'各种对象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


阅读原文:http://www.accessoft.com/article-show.asp?id=20088

来源:三叶资源网,欢迎分享,公众号:iisanye,(三叶资源网⑤群:21414575

本文暂时没有评论,来添加一个吧(●'◡'●)

欢迎 发表评论:

百度站内搜索
关注微信公众号
三叶资源网⑤群:三叶资源网⑤群

网站分类
随机tag
进度复制文件夹刺激战场微信公众号迅雷网站登录枚举图片软件加密minidumpquickjs易语言IDE界面鱼刺通用架构QQ资料照片墙上传子类化十天学会易语言获取窗口内鼠标坐标调用AI百度贴吧签到窗口繁体化格式化自动打铃对象操作
最新评论