獲取Access系統表

2021-06-07 12:54:08 字數 981 閱讀 5602

access 系統表 msysobjects 包含了資料庫物件列表, 儘管未在文件中記載, 你仍可通過查詢它來獲取你想要的.

注: 請不要有意或無意地修改任何access系統表,否則會出現不可意料的情況.

使用下列 sql 語句來獲取你想要的

查詢:select msysobjects.name from msysobjects where (left([name],1)<>"~") and (msysobjects.type)=5 order by msysobjects.name;

窗體:select msysobjects.name from msysobjects where (left([name],1)<>"~") and (msysobjects.type)=-32768 order by msysobjects.name;

表:select msysobjects.name from msysobjects where (left([name],1)<>"~") and (left$([name],4) <> "msys") and (msysobjects.type)=1 order by msysobjects.name;

報表:select msysobjects.name from msysobjects where (left([name],1)<>"~") and (msysobjects.type)= -32764 order by msysobjects.name;

模組:select msysobjects.name from msysobjects where (left([name],1)<>"~") and (msysobjects.type)= -32761 order by msysobjects.name;

巨集:select msysobjects.name from msysobjects where (left([name],1)<>"~") and (msysobjects.type)= -32766 order by msysobjects.name;

獲取ACCESS表結構

經常有朋友問怎麼得到access的表結構。public sub gettables dim rs as new adodb.recordset dim conn as adodb.connection dim ssql as string set conn currentproject.connec...

Access怎麼建立表?

在it領域從事開發的人員,資料庫肯定大家都用過,資料庫的種類也是非常之多。那麼access資料庫怎麼建立乙個資料表呢?下面做乙個簡單介紹。access建立表的方法 第一步,桌面上新建access資料庫 第二步,新建完畢後,預設名稱如圖 第三步,將名稱進行修改,並點選開啟 第四步,主介面如圖 第五步,...

access工資明細表 Access工資管理系統

一 設計的目的 任務 本課程設計是 資料庫技術與應用 課程的實踐部分,是在學習完課程後進 行的一次綜合練習。其目的在於加深對 資料庫技術與應用 的原理和程式的理 解 鞏固 提高,讓學生做到學以致用,把所學的理論知識應用於實際問題的解 決,編制出完整的應用程式,為以後實際編制大型的應用軟體打基礎。二 ...