社区
MS-SQL Server
帖子详情
为什么select count(*) from test 时,提示表或示图不存在!!!
sxlcj
2001-11-27 02:50:22
SQL> select count(*) from test;
select count(*) from ticket_1119
*
ERROR at line 1:
ORA-08103: object no longer exists
但是desc时却有。是不是性能方面的问题?
...全文
99
5
打赏
收藏
为什么select count(*) from test 时,提示表或示图不存在!!!
SQL> select count(*) from test; select count(*) from ticket_1119 * ERROR at line 1: ORA-08103: object no longer exists 但是desc时却有。是不是性能方面的问题?
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
5 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
KingSunSha
2001-11-28
打赏
举报
回复
不会是双引号的问题, 错误代码是不一样的,如果表找不到通常的错误代码是ORA-00942: TABLE OR VIEW DOES NOT EXIST
MountLion
2001-11-28
打赏
举报
回复
加上双引号试试
snlee
2001-11-27
打赏
举报
回复
upup
netyao
2001-11-27
打赏
举报
回复
ggzz
IronPromises
2001-11-27
打赏
举报
回复
ORA-08103 object no longer exists
Cause: The object has been deleted by another user since the operation began.
Action: Remove references to the object.
select
count
(*) 速度慢的原因主要有什么?
情景:一个表里面数据有2400多行,执行
select
count
(*)竟然需要8秒多; 把这个表的索引删除重建之后再执行
select
count
(*)还是要花费8秒多。 重建了一个结构一模一样的表,把同样数据导入之后,对新表执行
count
(*)就...
select
count
(*) from temp 与
select
count
(1) from temp有什么区别
select
count
(*) from temp 与
select
count
(1) from temp有什么区别----
count
(*)是整个表中有多少条记录,扫描的是整个表 --------
count
(1)是第一列有多少个值,扫描的是一列 ----第一句是对的.第二句就错了.
count
...
使用JDBC获取
select
count
(*) from table_name
public int get
Count
() { int
count
= 0; PreparedStatement ps = null; ResultSet rs = null; String sql = "
select
count
(*) from table_name"; try { con=this.getConnec
Hive中
select
* 没有数据,而
select
count
(*)有数据解决方法
这种表就是基于有外部.csv数据文件的,只要在建表
时
指明location,然后再将数据文件放到该路径就OK,今天建了一张普通表,发现这里面的数据不正常,我用
select
* from table_name没有数据,但是
select
count
(*)明...
通过非聚集索引让
select
count
(*) from 的查询速度提高几十倍、甚至千倍
通过非聚集索引让
select
count
(*) from 的查询速度提高几十倍、甚至千倍 分类: 【SQL Server】深入探索2013-10-12 15:21 2213人阅读 评论(4) 收藏 举报 通过非聚集索引,可以显著提升
count
(*)查询...
MS-SQL Server
34,872
社区成员
254,640
社区内容
发帖
与我相关
我的任务
MS-SQL Server
MS-SQL Server相关内容讨论专区
复制链接
扫一扫
分享
社区描述
MS-SQL Server相关内容讨论专区
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章