logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

sql server查询数据库中所有表名,查询表中所有字段名

1.查询数据库中所有表名称:select table_name from information_schema.tables where TABLE_CATALOG=‘数据库名称’;(包含视图)select table_name from information_schema.tables where TABLE_CATALOG=‘数据库名称’ and table_type = ‘BASE TAB

#数据库#dba
到底了