sqlite查看所有表名.判断表是否存在,字段名及字段信息 sqlite查看所有表名及字段名查询table,type 段是'table',name段是table的名字, select name from sqlite_master where type='table' order by name; 如果type段是'index', 则name 是index的名字,tbl_name是index所拥有的table的名字. 如果type段是'table',则name是表名由此可以进一步引深:判断指…
ms sql server 1.查询所有表select [id], [name] from [sysobjects] where [type] = 'u' order by [name]2.查询所有数据库3.select [name] from [sysdatabases] order by [name]查询表中字段 select [name] from [syscolumns] where [name] = 'tableXXX'order by [colid] oracle 1.查找表的所有索…