查询某个库下的所有表名 请问如何查询某个库下所有的表名select name from sysobjects where xtype='U'这个只是查询本库下的表 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select *from 库名..sysobjects where xtype='U' --表名select name from sysobjectswhere type='U' --sql 2000自带库pubs为例--表名select name from sysobjectswhere type='U'/*name -------------------------------------------------------------------------------------------------------------------------------- titleauthorstoressalesdtpropertiesroyscheddiscounts考Ajobspub_infoemployeecommendauthorspublisherstitles(所影响的行数为 14 行)*/ select *from 库名..sysobjects where xtype='U'代码引用1楼 sql嵌套查询求救 请教SQL语句关于时间的写法 sql group by的疑问 里面有select流程!!!!!!新人可以进来一起交流,高手可以看看我们新人之间的错误!!!!!!!!谢谢!!! 关于一个函数的编写 Sqlserver2008 链接 oracle 11g 绝对 疑难问题 操作数据库时总是提示超时已过期!!! varchar型字段不添加数据,如何查询这条记录 求教,我想在查询语句中mobile字段不在13,18,19,100。 bcp导出查询记录的问题 无法新建数据库 两表关联查询问题~~~
from 库名..sysobjects
where xtype='U'
select name from sysobjects
where type='U'
--表名
select name from sysobjects
where type='U'/*
name
--------------------------------------------------------------------------------------------------------------------------------
titleauthor
stores
sales
dtproperties
roysched
discounts
考A
jobs
pub_info
employee
commend
authors
publishers
titles(所影响的行数为 14 行)
*/
from 库名..sysobjects
where xtype='U'代码引用1楼