可能很多在使用Access的朋友都沒(méi)有打開過(guò)Access的系統(tǒng)內(nèi)置表,這篇文章可以幫助大家簡(jiǎn)單了解下系統(tǒng)內(nèi)置表。 程序代碼 <%sqlcmd="select name from [msysobjects] where type=1 and flags=0"%>
程序代碼 <% set rs=conn.openSchema(20)'返回包含模式信息的 Recordset 對(duì)象 rs.filter="table_type='table'"'篩選table_type為table類型的數(shù)據(jù)表,其他類型為系統(tǒng)內(nèi)置表 do while not rs.eof response.write(rs("TABLE_NAME"))'用recordset記錄集獲取列名為table_name的數(shù)據(jù) response.Write("<br />") rs.movenext:loop %>