值java.sql.SQLException [英] java.sql.SQLException

查看:122
本文介绍了值java.sql.SQLException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



这是我用来从数据库中获取值的查询: -

Hi,
Here is the query which I am using to get the values from the database:-

展开 | 选择 | 换行 | 行号

推荐答案

看起来状态栏就好了。

如果你从某个地方连接到数据库,你能看到它吗?否则,例如从控制台/外壳?


PS好头像
Looks like the status column is not there alright.
Can you see it if you connect to the database from somewhere else e.g from a console/shell?

P.S Nice avatar



PS好头像
P.S Nice avatar





谢谢。我在找到这个头像方面做了很多努力。

注意: - 为头像提供的大小限制非常小。

Hi,
Thanks. I had done a lot of hard work in finding that avatar.
note:- size limit provided for the avatar is very small.


看起来状态列就好了。

如果从其他地方连接到数据库,例如从控制台/ shell,你能看到它吗?
Looks like the status column is not there alright.
Can you see it if you connect to the database from somewhere else e.g from a console/shell?



表中有STATUS列。查询中有什么问题吗?我已经检查了很多次......状态栏就在那里。


实际上我在不同的时间为不同的值调用该函数,每次都给出相同的异常。 ..


感谢和问候,

madhoriya。

STATUS column is there in the table. Is there anything wrong in the query? I have checked so many times ...... STATUS column is there.

Actually I am calling that function different times for different values, Every time it is giving the same exception...

thanks and regards,
madhoriya.





谢谢。



STATUS列在表中。查询中有什么问题吗?我已经检查了很多次......状态栏就在那里。


感谢和问候,

madhoriya。
Hi,
Thanks.


STATUS column is there in the table. Is there anything wrong in the query? I have checked so many times ...... STATUS column is there.

thanks and regards,
madhoriya.



我当时没有看错。尝试将该计数更改为其他内容,如select .... count(*)as somethingElse

I don''t see anything wrong then. Try changing that count to something else too as in select .... count(*) as somethingElse


这篇关于值java.sql.SQLException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆